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 |
); |
The function has no return value. The function does not return. Invalid hLibModule handles are ignored.
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.
FreeLibrary, ExitThread, DisableThreadLibraryCalls
file: /Techref/os/win/api/win32/func/src/f26.htm, 2KB, , updated: 2000/4/7 12:19, local time: 2024/9/1 07:25,
3.144.82.126:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://piclist.com/techref/os/win/api/win32/func/src/f26.htm"> FreeLibraryAndExitThread</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.