Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.

◆ GetOriginalDirectory

unsigned int(* ak_wwise_plugin_host_object_media_v1::GetOriginalDirectory) (const struct ak_wwise_plugin_host_object_media_instance_v1 *in_this, AkOSChar *out_pszDirectory, unsigned int in_uiBufferSize)

Obtain the Original directory for the plug-in.

Warning: If you do not provide a buffer big enough to write the full string, the function will fail and return 0. Make sure to use a buffer big enough to write the entire string, such as your platform's max path size.
Parameters
[in]in_thisCurrent instance of this interface.
[out]out_pszDirectoryBuffer that will contain the path.
[in]in_uiBufferSizeSize of the provided string buffer.
Returns
Number of characters written to the buffer. 0 means a failure.

Definition at line 213 of file HostObjectMedia.h.

Referenced by AK.Wwise::Plugin::V1::ObjectMedia::GetOriginalDirectory().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise