Changeset 5587 for trunk/src/kernel32/wprocess.cpp
- Timestamp:
- Apr 26, 2001, 3:22:49 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wprocess.cpp
r5516 r5587 1 /* $Id: wprocess.cpp,v 1.11 8 2001-04-16 08:31:46sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.119 2001-04-26 13:22:49 sandervl Exp $ */ 2 2 3 3 /* … … 458 458 dprintf(("WARNING: KERNEL32: FreeLibrary %s %x NOT FOUND!", OSLibGetDllName(hinstance), hinstance)); 459 459 return(TRUE); 460 } 461 /***************************************************************************** 462 * Name : VOID WIN32API FreeLibraryAndExitThread 463 * Purpose : The FreeLibraryAndExitThread function decrements the reference 464 * count of a loaded dynamic-link library (DLL) by one, and then 465 * calls ExitThread to terminate the calling thread. 466 * The function does not return. 467 * 468 * The FreeLibraryAndExitThread function gives threads that are 469 * created and executed within a dynamic-link library an opportunity 470 * to safely unload the DLL and terminate themselves. 471 * Parameters: 472 * Variables : 473 * Result : 474 * Remark : 475 *****************************************************************************/ 476 VOID WIN32API FreeLibraryAndExitThread( HMODULE hLibModule, DWORD dwExitCode) 477 { 478 479 dprintf(("KERNEL32: FreeLibraryAndExitThread(%08x,%08x)", hLibModule, dwExitCode)); 480 FreeLibrary(hLibModule); 481 ExitThread(dwExitCode); 460 482 } 461 483 /******************************************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.