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
29 lines
649 B
/*++
|
|
|
|
Copyright (c) 1998-2000 Microsoft Corporation
|
|
|
|
Module Name :
|
|
|
|
serport.h
|
|
|
|
Abstract:
|
|
|
|
Serial port Device object handles one redirected serial port
|
|
|
|
Revision History:
|
|
--*/
|
|
#pragma once
|
|
|
|
class DrSerialPort : public DrPrinterPort
|
|
{
|
|
private:
|
|
NTSTATUS CreateSerialPort(PRDPDR_DEVICE_ANNOUNCE devAnnounceMsg);
|
|
|
|
public:
|
|
DrSerialPort(SmartPtr<DrSession> &Session, ULONG DeviceType,
|
|
ULONG DeviceId, PUCHAR PreferredDosName);
|
|
|
|
virtual NTSTATUS Initialize(PRDPDR_DEVICE_ANNOUNCE devAnnounceMsg, ULONG Length);
|
|
virtual BOOL ShouldCreatePort();
|
|
virtual BOOL ShouldCreatePrinter();
|
|
};
|