OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
DllEntryPoint

The 32-bit DLL entry point, DllEntryPoint, is defined as follows:

int WINAPI DllEntryPoint(HINSTANCE hInstance, uint32 reason, LPVOID)
Definition libmain.cpp:51

DllEntryPoint is defined in winbase.h. The parameters are as follows:

ParameterDescription
hinstDllThe DLL instance handle.
fdwReasonA flag that describes why the DLL is being called (either a process or thread). The flags can take the following values:
  • DLL_PROCESS_ATTACH
  • DLL_THREAD_ATTACH
  • DLL_THREAD_DETACH
  • DLL_PROCESS_DETACH
lpvReservedSpecifies further aspects of the DLL initialization and cleanup based on the value of fdwReason.

See Also