home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool_main.zip
/
ool
/
include
/
xdevice.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-08-12
|
1KB
|
27 lines
#ifndef __OOL_XDEVICE_H__
#define __OOL_XDEVICE_H__
/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------------------- r 1.0 */
/*===========================================================================*/
/* class: XDevice */
/* derived from: XIO */
/* last update: 7/96 */
/* programmed by: Stefan von Brauk (sbrauk@gwdg.de) */
/*===========================================================================*/
#include "xio.h"
class _export_ XDevice: public XIO
{
public:
XDevice() { };
~XDevice( ) { Close(); }
ULONG Open( const char * deviceName, const ULONG modeForAcces = XFILE_READWRITE, const ULONG modeShare = XFILE_SHARE_DENYREADWRITE);
ULONG ControlDevice();
LONG ResetBuffer( void ) const { return DosResetBuffer(handle); }
};
#endif