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.

29 lines
649 B

  1. /*++
  2. Copyright (c) 1998-2000 Microsoft Corporation
  3. Module Name :
  4. serport.h
  5. Abstract:
  6. Serial port Device object handles one redirected serial port
  7. Revision History:
  8. --*/
  9. #pragma once
  10. class DrSerialPort : public DrPrinterPort
  11. {
  12. private:
  13. NTSTATUS CreateSerialPort(PRDPDR_DEVICE_ANNOUNCE devAnnounceMsg);
  14. public:
  15. DrSerialPort(SmartPtr<DrSession> &Session, ULONG DeviceType,
  16. ULONG DeviceId, PUCHAR PreferredDosName);
  17. virtual NTSTATUS Initialize(PRDPDR_DEVICE_ANNOUNCE devAnnounceMsg, ULONG Length);
  18. virtual BOOL ShouldCreatePort();
  19. virtual BOOL ShouldCreatePrinter();
  20. };