Category External tasks, Object ProToolkit

Function ProToolkitDllUnload


Description
Causes Creo Parametric to unload a previously loaded DLL. The DLL's user_terminate function will be called.
Synopsis
#include <ProToolkitDll.h>
ProErrorProToolkitDllUnload(
ProToolkitDllHandle handle
/* (In)
The DLL handle.
*/
)
Returns
PRO_TK_NO_ERRORThe DLL was successfully unloaded.
PRO_TK_E_BUSYThe application has active menus present in the UI.
PRO_TK_NOT_VALIDYou attempted to unload a DLL that was loaded by Creo Parametric upon startup.
PRO_TK_BAD_INPUTSThe handle is not valid
PRO_TK_BAD_CONTEXTThe handle is valid but the app is not active.
PRO_TK_GENERAL_ERRORThe DLL was not successfully unloaded.

Manual References:

  1. Task Based Application Libraries: Launching Creo TOOLKIT DLL Functions
  2. Task Based Application Libraries: Launching Creo TOOLKIT DLL Functions