Ignore:
Timestamp:
Jan 10, 2003, 1:57:14 PM (23 years ago)
Author:
sandervl
Message:

implemented Get/SetHandleInformation; CloseHandle change for HANDLE_FLAG_PROTECT_FROM_CLOSE; inheritance support added to DuplicateHandle

File:
1 edited

Legend:

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

    r7555 r9653  
    1 /* $Id: stubs.cpp,v 1.36 2001-12-06 10:14:45 sandervl Exp $
     1/* $Id: stubs.cpp,v 1.37 2003-01-10 12:57:14 sandervl Exp $
    22 *
    33 * Win32 KERNEL32 Subsystem for OS/2
     
    870870
    871871
    872 /*****************************************************************************
    873  * Name      : DWORD GetHandleInformation
    874  * Purpose   : The GetHandleInformation function obtains information about certain
    875  *             properties of an object handle. The information is obtained as a set of bit flags.
    876  * Parameters: HANDLE  hObject
    877  *             LPDWORD lpdwFlags
    878  * Variables :
    879  * Result    : TRUE / FALSE
    880  * Remark    :
    881  * Status    : UNTESTED STUB
    882  *
    883  * Author    : Patrick Haller [Mon, 1998/06/15 08:00]
    884  *****************************************************************************/
    885 
    886 BOOL WIN32API GetHandleInformation(HANDLE  hObject,
    887                                       LPDWORD lpdwFlags)
    888 {
    889   dprintf(("KERNEL32: GetHandleInformation (%08xh, %08xh) not implemented\n",
    890            hObject,
    891            lpdwFlags));
    892 
    893   return (FALSE);
    894 }
    895 
    896 
    897 
    898872
    899873/*****************************************************************************
     
    13561330}
    13571331
    1358 
    1359 /*****************************************************************************
    1360  * Name      : BOOL SetHandleInformation
    1361  * Purpose   : The SetHandleInformation function sets certain properties of an
    1362  *             object handle. The information is specified as a set of bit flags.
    1363  * Parameters: HANDLE hObject  handle to an object
    1364  *             DWORD  dwMask   specifies flags to change
    1365  *             DWORD  dwFlags  specifies new values for flags
    1366  * Variables :
    1367  * Result    : TRUE / FALSE
    1368  * Remark    :
    1369  * Status    : UNTESTED STUB
    1370  *
    1371  * Author    : Patrick Haller [Mon, 1998/06/15 08:00]
    1372  *****************************************************************************/
    1373 
    1374 BOOL WIN32API SetHandleInformation(HANDLE hObject,
    1375                                       DWORD  dwMask,
    1376                                       DWORD  dwFlags)
    1377 {
    1378   dprintf(("KERNEL32: SetHandleInformation(%08xh,%08xh,%08xh) not implemented.\n",
    1379            hObject,
    1380            dwMask,
    1381            dwFlags));
    1382 
    1383   return (FALSE);
    1384 }
    1385 
    13861332/*****************************************************************************
    13871333 * Name      : BOOL SetSystemPowerState
Note: See TracChangeset for help on using the changeset viewer.