Loads a plug-in dynamic library and registers it with the sound engine.
With dynamic linking, all plugins are automatically registered. The plug-in DLL must be in the OS-specific library path or in the same location as the executable. If not, set AkInitSettings.szPluginDLLPath.
- 返回
-
- Ak_Success if successful.
- AK_FileNotFound if the DLL is not found in the OS path or if it has extraneous dependencies not found.
- AK_InvalidFile if the symbol g_pAKPluginList is not exported by the dynamic library
- 参数
-
in_DllName |
Name of the DLL to load, without "lib" prefix or extension. |
in_DllPath |
Optional path to the DLL. Will override szPLuginDLLPath that was set in AkInitSettings. |