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.

35 lines
753 B

  1. #ifndef _HPSCL_H
  2. #define _HPSCL_H
  3. #include "devio.h"
  4. class CHPSCL {
  5. public:
  6. CHPSCL(PDEVCTRL pDeviceControl);
  7. ~CHPSCL();
  8. // overides
  9. BOOL SetXRes(LONG xRes);
  10. BOOL SetYRes(LONG yRes);
  11. BOOL SetXPos(LONG xPos);
  12. BOOL SetYPos(LONG yPos);
  13. BOOL SetXExt(LONG xExt);
  14. BOOL SetYExt(LONG yExt);
  15. BOOL SetDataType(LONG DataType);
  16. BOOL Scan();
  17. PDEVCTRL m_pDeviceControl;
  18. long m_xres;
  19. long m_yres;
  20. long m_xpos;
  21. long m_ypos;
  22. long m_xext;
  23. long m_yext;
  24. long m_datatype;
  25. BOOL RawWrite(LONG lPipeNum,BYTE *pbuffer,LONG lbuffersize,LONG lTimeout);
  26. BOOL RawRead(LONG lPipeNum,BYTE *pbuffer,LONG lbuffersize,LONG *plbytesread,LONG lTimeout);
  27. VOID Trace(LPCTSTR format,...);
  28. };
  29. #endif