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

  1. /*++
  2. Copyright (c) 1999-2000 Microsoft Corporation
  3. Module Name :
  4. isession.h
  5. Abstract:
  6. Defines interfaces for use with sessions
  7. Revision History:
  8. --*/
  9. class ISessionPacketReceiver
  10. {
  11. public:
  12. virtual BOOL RecognizePacket(PRDPDR_HEADER RdpdrHeader) = 0;
  13. virtual NTSTATUS HandlePacket(PRDPDR_HEADER RdpdrHeader, ULONG Length,
  14. BOOL *DoDefaultRead) = 0;
  15. };
  16. class ISessionPacketSender
  17. {
  18. public:
  19. virtual NTSTATUS SendCompleted(PVOID Context,
  20. PIO_STATUS_BLOCK IoStatusBlock) = 0;
  21. };
  22. typedef
  23. NTSTATUS (NTAPI *DrWriteCallback)(PVOID Context, PIO_STATUS_BLOCK IoStatusBlock);