Version

menu_open
Wwise SDK 2018.1.11

◆ WriteUtf16String()

virtual bool AK.Wwise::IWriteData::WriteUtf16String ( LPCWSTR  in_szString )
pure virtual

Writes a null-terminated utf-16 string (characters are 2 bytes wide). Handles endianness according to destination platform.

Note: "String" properties (as defined in the plugin's XML Description File - refer to Wwise Plug-in XML Description Files for more details) are utf-16 encoded. While you are free to store this string in soundbanks as as an ansi string (using WritePascalString()), AK::IAkPluginParam::SetParam() will be passed an utf-16 string when you connect the authoring tool to the sound engine. Thus, WriteUtf16String() is the preferred method for sending strings to a plug-in.
Returns
True if successful, False otherwise
Parameters
in_szString The string to be written (null-terminated).

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise