Changeset 9748 for trunk/src/kernel32/hmmutex.h
- Timestamp:
- Feb 4, 2003, 12:29:03 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmmutex.h
r6060 r9748 1 /* $Id: hmmutex.h,v 1. 4 2001-06-21 21:07:54sandervl Exp $ */1 /* $Id: hmmutex.h,v 1.5 2003-02-04 11:28:59 sandervl Exp $ */ 2 2 3 3 /* … … 29 29 *****************************************************************************/ 30 30 31 #ifdef USE_OS2SEMAPHORES32 class HMDeviceMutexClass : public HMDeviceHandler33 #else34 31 class HMDeviceMutexClass : public HMDeviceOpen32Class 35 #endif36 32 { 37 33 public: 38 #ifdef USE_OS2SEMAPHORES39 HMDeviceMutexClass(LPCSTR lpDeviceName) : HMDeviceHandler(lpDeviceName) {}40 #else41 34 HMDeviceMutexClass(LPCSTR lpDeviceName) : HMDeviceOpen32Class(lpDeviceName) {} 42 #endif43 35 44 36 /* this is a handler method for calls to CreateMutex() */ … … 52 44 BOOL fInheritHandle, 53 45 LPCTSTR lpszMutexName); 54 55 #ifdef USE_OS2SEMAPHORES56 virtual BOOL CloseHandle(PHMHANDLEDATA pHMHandleData);57 58 virtual BOOL DuplicateHandle(PHMHANDLEDATA pHMHandleData, HANDLE srcprocess,59 PHMHANDLEDATA pHMSrcHandle,60 HANDLE destprocess,61 PHANDLE desthandle,62 DWORD fdwAccess,63 BOOL fInherit,64 DWORD fdwOptions,65 DWORD fdwOdinOptions);66 67 /* this is a handler method for calls to WaitForSingleObject */68 virtual DWORD WaitForSingleObject (PHMHANDLEDATA pHMHandleData,69 DWORD dwTimeout);70 71 /* this is a handler method for calls to WaitForSingleObjectEx */72 virtual DWORD WaitForSingleObjectEx(PHMHANDLEDATA pHMHandleData,73 DWORD dwTimeout,74 BOOL fAlertable);75 76 virtual DWORD MsgWaitForMultipleObjects(PHMHANDLEDATA pHMHandleData,77 DWORD nCount,78 PHANDLE pHandles,79 BOOL fWaitAll,80 DWORD dwMilliseconds,81 DWORD dwWakeMask);82 83 virtual DWORD WaitForMultipleObjects (PHMHANDLEDATA pHMHandleData,84 DWORD cObjects,85 PHANDLE lphObjects,86 BOOL fWaitAll,87 DWORD dwTimeout);88 #endif89 46 90 47 /* this is a handle method for calls to ReleaseMutex() */
Note:
See TracChangeset
for help on using the changeset viewer.