Leaked source code of windows server 2003
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.

27 lines
895 B

  1. // TSPort.h: interface for the CTSPort class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_TSPORT_H__9A4E1220_F515_4480_AF3A_42D050B3D278__INCLUDED_)
  5. #define AFX_TSPORT_H__9A4E1220_F515_4480_AF3A_42D050B3D278__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "precomp.h"
  10. class CTSPort : public CBasePort
  11. {
  12. public:
  13. CTSPort( BOOL bActive, LPTSTR pszPortName, LPTSTR pszDevicePath );
  14. ~CTSPort();
  15. PORTTYPE getPortType( void );
  16. BOOL setPortTimeOuts( LPCOMMTIMEOUTS lpCTO );
  17. BOOL getPrinterDataFromPort( DWORD dwControlID, LPTSTR pValueName, LPWSTR lpInBuffer, DWORD cbInBuffer,
  18. LPWSTR lpOutBuffer, DWORD cbOutBuffer, LPDWORD lpcbReturned );
  19. protected:
  20. };
  21. #endif // !defined(AFX_TSPORT_H__9A4E1220_F515_4480_AF3A_42D050B3D278__INCLUDED_)