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.

76 lines
2.2 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name :
  4. rdpnp.h
  5. Abstract:
  6. Type definitions for the Rdp Network Provider and Redirector Interface Protocols
  7. Author
  8. Joy Chik 2/1/200
  9. Revision History:
  10. --*/
  11. #ifndef _RDPNP_
  12. #define _RDPNP_
  13. typedef struct _RDPDR_UNICODE_STRING {
  14. USHORT Length;
  15. USHORT MaximumLength;
  16. LONG BufferOffset;
  17. } RDPDR_UNICODE_STRING, *PRDPDR_UNICODE_STRING;
  18. typedef struct _RDPDR_REQUEST_PACKET {
  19. ULONG Version; // Version of the request packet
  20. #define RDPDR_REQUEST_PACKET_VERSION1 0x1
  21. ULONG SessionId; // Current Session Id
  22. union {
  23. struct {
  24. ULONG EntriesRead; // Number of entries returned
  25. ULONG TotalEntries; // Total entries available
  26. ULONG TotalBytesNeeded; // Total bytes needed to read all entries
  27. ULONG ResumeHandle; // Resume handle.
  28. } Get; // OUT
  29. } Parameters;
  30. } RDPDR_REQUEST_PACKET, *PRDPDR_REQUEST_PACKET;
  31. typedef struct _RDPDR_CONNECTION_INFO {
  32. RDPDR_UNICODE_STRING LocalName; // Local name for the connection
  33. RDPDR_UNICODE_STRING RemoteName; // Remote name for the connection
  34. DEVICE_TYPE SharedResourceType; // Type of shared resource
  35. ULONG ConnectionStatus; // Status of the connection
  36. ULONG NumberFilesOpen; // Number of opened files
  37. ULONG ResumeKey; // Resume key for this entry.
  38. } RDPDR_CONNECTION_INFO, *PRDPDR_CONNECTION_INFO;
  39. typedef struct _RDPDR_SHARE_INFO {
  40. RDPDR_UNICODE_STRING ShareName; // Name of shared resource
  41. DEVICE_TYPE SharedResourceType; // Type of shared resource
  42. ULONG ResumeKey; // Resume key for this entry.
  43. } RDPDR_SHARE_INFO, *PRDPDR_SHARE_INFO;
  44. typedef struct _RDPDR_SERVER_INFO {
  45. RDPDR_UNICODE_STRING ServerName; // Name of shared resource
  46. ULONG ResumeKey; // Resume key for this entry.
  47. } RDPDR_SERVER_INFO, *PRDPDR_SERVER_INFO;
  48. #endif // _RDPNP_