Ignore:
Timestamp:
Jun 19, 2001, 12:50:26 PM (24 years ago)
Author:
sandervl
Message:

semaphore rewrite (not activated)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmevent.h

    r768 r6049  
    1 /* $Id: hmevent.h,v 1.2 1999-08-31 23:14:03 phaller Exp $ */
     1/* $Id: hmevent.h,v 1.3 2001-06-19 10:50:24 sandervl Exp $ */
    22
    33/*
     
    2929 *****************************************************************************/
    3030
     31#ifdef USE_OS2SEMAPHORES
     32class HMDeviceEventClass : public HMDeviceHandler
     33#else
    3134class HMDeviceEventClass : public HMDeviceOpen32Class
     35#endif
    3236{
    3337public:
    3438  HMDeviceEventClass(LPCSTR lpDeviceName) : HMDeviceOpen32Class(lpDeviceName) {}
    3539
    36                      /* this is a handler method for calls to CreateEvent() */
     40  /* this is a handler method for calls to CreateEvent() */
    3741  virtual DWORD CreateEvent (PHMHANDLEDATA         pHMHandleData,
    3842                             LPSECURITY_ATTRIBUTES lpsa,
     
    4145                             LPCTSTR               lpszEventName);
    4246
    43                        /* this is a handler method for calls to OpenEvent() */
     47#ifdef USE_OS2SEMAPHORES
     48  virtual BOOL  CloseHandle(PHMHANDLEDATA pHMHandleData);
     49
     50  virtual BOOL DuplicateHandle(PHMHANDLEDATA pHMHandleData, HANDLE  srcprocess,
     51                               PHMHANDLEDATA pHMSrcHandle,
     52                               HANDLE  destprocess,
     53                               PHANDLE desthandle,
     54                               DWORD   fdwAccess,
     55                               BOOL    fInherit,
     56                               DWORD   fdwOptions,
     57                               DWORD   fdwOdinOptions);
     58#endif
     59 
     60  /* this is a handler method for calls to OpenEvent() */
    4461  virtual DWORD OpenEvent   (PHMHANDLEDATA         pHMHandleData,
    4562                             BOOL                  fInheritHandle,
    4663                             LPCTSTR               lpszEventName);
    4764
    48                        /* this is a handle method for calls to ResetEvent() */
     65  /* this is a handle method for calls to ResetEvent() */
    4966  virtual BOOL  ResetEvent  (PHMHANDLEDATA         pHMHandleData);
    5067
    51                          /* this is a handle method for calls to SetEvent() */
     68  /* this is a handle method for calls to SetEvent() */
    5269  virtual BOOL  SetEvent    (PHMHANDLEDATA         pHMHandleData);
    5370
    54                        /* this is a handle method for calls to PulseEvent() */
     71  /* this is a handle method for calls to PulseEvent() */
    5572  virtual BOOL  PulseEvent  (PHMHANDLEDATA         pHMHandleData);
    5673};
Note: See TracChangeset for help on using the changeset viewer.