Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
753 B

#ifndef _HPSCL_H
#define _HPSCL_H
#include "devio.h"
class CHPSCL {
public:
CHPSCL(PDEVCTRL pDeviceControl);
~CHPSCL();
// overides
BOOL SetXRes(LONG xRes);
BOOL SetYRes(LONG yRes);
BOOL SetXPos(LONG xPos);
BOOL SetYPos(LONG yPos);
BOOL SetXExt(LONG xExt);
BOOL SetYExt(LONG yExt);
BOOL SetDataType(LONG DataType);
BOOL Scan();
PDEVCTRL m_pDeviceControl;
long m_xres;
long m_yres;
long m_xpos;
long m_ypos;
long m_xext;
long m_yext;
long m_datatype;
BOOL RawWrite(LONG lPipeNum,BYTE *pbuffer,LONG lbuffersize,LONG lTimeout);
BOOL RawRead(LONG lPipeNum,BYTE *pbuffer,LONG lbuffersize,LONG *plbytesread,LONG lTimeout);
VOID Trace(LPCTSTR format,...);
};
#endif