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

Last change on this file since 2007 was 1858, checked in by achimha, 26 years ago

start of COM port implementation

File size: 962 bytes
Line 
1/* $Id: hmcomm.h,v 1.4 1999-11-27 12:48:26 achimha 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
19 HMDeviceCommClass(LPCSTR lpDeviceName);
20
21 /* this is the handler method for calls to CreateFile() */
22 virtual DWORD CreateFile (LPCSTR lpFileName,
23 PHMHANDLEDATA pHMHandleData,
24 PVOID lpSecurityAttributes,
25 PHMHANDLEDATA pHMHandleDataTemplate);
26
27 /* this is the handler method for calls to CloseHandle() */
28 virtual DWORD CloseHandle(PHMHANDLEDATA pHMHandleData);
29
30 /* this is the handler method for SetComm() */
31 virtual BOOL SetupComm(PHMHANDLEDATA pHMHandleData, DWORD dwInQueue, DWORD dwOutQueue);
32
33};
34
35
36#endif // _HM_COMM_H_
Note: See TracBrowser for help on using the repository browser.