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.
 
 
 
 
 
 

32 lines
651 B

/*++
Copyright (c) 1999-2000 Microsoft Corporation
Module Name :
isession.h
Abstract:
Defines interfaces for use with sessions
Revision History:
--*/
class ISessionPacketReceiver
{
public:
virtual BOOL RecognizePacket(PRDPDR_HEADER RdpdrHeader) = 0;
virtual NTSTATUS HandlePacket(PRDPDR_HEADER RdpdrHeader, ULONG Length,
BOOL *DoDefaultRead) = 0;
};
class ISessionPacketSender
{
public:
virtual NTSTATUS SendCompleted(PVOID Context,
PIO_STATUS_BLOCK IoStatusBlock) = 0;
};
typedef
NTSTATUS (NTAPI *DrWriteCallback)(PVOID Context, PIO_STATUS_BLOCK IoStatusBlock);