The information in this article applies to:
SUMMARYIn Win32, all dynamic link libraries (DLLs) may contain an optional entry- point function (usually called DllMain) that is called for both initialization and termination. This gives you an opportunity to allocate or release additional resources as needed. Windows calls the entry-point function in four situations: process attach, process detach, thread attach, and thread detach. MORE INFORMATION
The DllEntryPoint function is an optional method of entry into a DLL. If
the function is used, it is called by the system when processes and threads
are initialized and terminated, or upon calls to the LoadLibrary and
FreeLibrary functions.
Keywords : kbnetwork kbAPI kbRPC kbSDKPlatform nt32ap NTSrvWkst kbGrpNet |
Last Reviewed: February 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |