source: trunk/src/kernel32/hmcomm.h@ 1850

Last change on this file since 1850 was 1850, checked in by phaller, 26 years ago

Add: serial communication support in handlemanager

File size: 929 bytes
Line 
1/* $Id: hmcomm.h,v 1.3 1999-11-26 21:10:52 phaller Exp $ */
2
3/*
4 * Project Odin Software License can be found in LICENSE.TXT
5 *
6 * Win32 COM device access class
7 *
8 * 1999 Achim Hasenmueller <achimha@innotek.de>
9 *
10 */
11
12#ifndef _HM_COMM_H_
13#define _HM_COMM_H_
14
15class HMDeviceCommClass : public HMDeviceHandler
16{
17 public:
18 HMDeviceCommClass(LPCSTR lpDeviceName) : HMDeviceHandler(lpDeviceName) {}
19
20 /* @@@PH here go the API methods
21 virtual DWORD CreateEvent (PHMHANDLEDATA pHMHandleData,
22 LPSECURITY_ATTRIBUTES lpsa,
23 BOOL fManualReset,
24 BOOL fInitialState,
25 LPCTSTR lpszEventName);
26
27 - strings are ASCII
28 - HANDLEs are translated to a PHMHANDLEDATA pointer
29
30 */
31
32};
33
34
35
36#endif // _HM_COMM_H_
Note: See TracBrowser for help on using the repository browser.