Version

menu_open
Wwise SDK 2021.1.14

◆ GetOriginalDirectory()

unsigned int AK.Wwise::Plugin::V1::ObjectMedia::GetOriginalDirectory ( AkOSChar out_pszDirectory,
unsigned int  in_uiBufferSize 
) const
inline

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
[out] out_pszDirectory Buffer that will contain the path.
[in] in_uiBufferSize Size of the provided string buffer.
Returns
Number of characters written to the buffer. 0 means a failure.

Definition at line 484 of file HostObjectMedia.h.

References AK.Wwise::Plugin::CBaseInterfaceGlue< CHostObjectMedia >::g_cinterface, and ak_wwise_plugin_host_object_media_v1::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