FinalizeDLL, PrepareExit
Declaration
Delphi
procedure FinalizeDLL(Full: Boolean);
C/C++
SOPAD_API void SOPAD_FinalizeDLL(BOOL bFull);
ActiveX
HRESULT PrepareExit();
Description
The function releases all driver resources and prepares the driver to be unloaded. Due to framework problems, it's not always possible to do that during unloading, and application may get frozen. In this case FinalizeDLL or PrepareExit should be called.
PrepareExit internally calls FinalizeDLL(True).
Arguments
Full
Applications should pass true. Value false is reserved for internal use.