|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| kernel32.lib
| Header File
| winbase.h
| Unicode
| No
| Platform Notes
| None
|
|
|
FreeLibraryAndExitThread
The
FreeLibraryAndExitThread function decrements the reference count of a loaded dynamic-link library
(DLL) by one, and then calls
ExitThread to terminate the calling thread. The function does not return.
The
FreeLibraryAndExitThread function gives threads that are created and executed within a dynamic-link
library an opportunity to safely unload the DLL and terminate themselves.
VOID FreeLibraryAndExitThread(
HMODULE hLibModule,
| // dynamic-link library whose reference count is to decrement
|
DWORD dwExitCode
| // exit code for thread
|
);
|
|
Parameters
hLibModule
Specifies the dynamic-link library module whose reference count the function
decrements.
dwExitCode
Specifies the exit code for the calling thread.
Return Values
The function has no return value. The function does not return. Invalid
hLibModule handles are ignored.
Remarks
The
FreeLibraryAndExitThread function is implemented as:
FreeLibrary(hLibModule);
ExitThread(dwExitCode);
Refer to the reference pages for
FreeLibrary and
ExitThread for further information on those functions.
See Also
FreeLibrary,
ExitThread,
DisableThreadLibraryCalls
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database