Ignore:
Timestamp:
Apr 26, 2001, 3:22:49 PM (24 years ago)
Author:
sandervl
Message:

added mailslot implemenation, named pipe fixes + FreeLibraryAndExitThread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/wprocess.cpp

    r5516 r5587  
    1 /* $Id: wprocess.cpp,v 1.118 2001-04-16 08:31:46 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.119 2001-04-26 13:22:49 sandervl Exp $ */
    22
    33/*
     
    458458    dprintf(("WARNING: KERNEL32: FreeLibrary %s %x NOT FOUND!", OSLibGetDllName(hinstance), hinstance));
    459459    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 *****************************************************************************/
     476VOID WIN32API FreeLibraryAndExitThread( HMODULE hLibModule, DWORD dwExitCode)
     477{
     478
     479  dprintf(("KERNEL32:  FreeLibraryAndExitThread(%08x,%08x)", hLibModule, dwExitCode));
     480  FreeLibrary(hLibModule);
     481  ExitThread(dwExitCode);
    460482}
    461483/******************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.