Changeset 6049 for trunk/src/kernel32/hmsemaphore.h
- Timestamp:
- Jun 19, 2001, 12:50:26 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmsemaphore.h
r768 r6049 1 /* $Id: hmsemaphore.h,v 1. 2 1999-08-31 23:14:03 phallerExp $ */1 /* $Id: hmsemaphore.h,v 1.3 2001-06-19 10:50:25 sandervl Exp $ */ 2 2 3 3 /* … … 29 29 *****************************************************************************/ 30 30 31 #ifdef USE_OS2SEMAPHORES 32 class HMDeviceSemaphoreClass : public HMDeviceHandler 33 #else 31 34 class HMDeviceSemaphoreClass : public HMDeviceOpen32Class 35 #endif 32 36 { 33 37 public: 34 38 HMDeviceSemaphoreClass(LPCSTR lpDeviceName) : HMDeviceOpen32Class(lpDeviceName) {} 35 39 36 40 /* this is a handler method for calls to CreateSemaphore() */ 37 41 virtual DWORD CreateSemaphore (PHMHANDLEDATA pHMHandleData, 38 42 LPSECURITY_ATTRIBUTES lpsa, … … 41 45 LPCTSTR lpszSemaphoreName); 42 46 43 47 /* this is a handler method for calls to OpenSemaphore() */ 44 48 virtual DWORD OpenSemaphore (PHMHANDLEDATA pHMHandleData, 45 49 BOOL fInheritHandle, 46 50 LPCTSTR lpszSemaphoreName); 47 51 48 /* this is a handle method for calls to ReleaseSemaphore() */ 52 #ifdef USE_OS2SEMAPHORES 53 virtual BOOL CloseHandle(PHMHANDLEDATA pHMHandleData); 54 55 virtual BOOL DuplicateHandle(PHMHANDLEDATA pHMHandleData, HANDLE srcprocess, 56 PHMHANDLEDATA pHMSrcHandle, 57 HANDLE destprocess, 58 PHANDLE desthandle, 59 DWORD fdwAccess, 60 BOOL fInherit, 61 DWORD fdwOptions, 62 DWORD fdwOdinOptions); 63 #endif 64 65 /* this is a handle method for calls to ReleaseSemaphore() */ 49 66 virtual BOOL ReleaseSemaphore(PHMHANDLEDATA pHMHandleData, 50 67 LONG cReleaseCount,
Note:
See TracChangeset
for help on using the changeset viewer.