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.

68 lines
2.7 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // File: TSrvWsx.h
  4. //
  5. // Contents: TSrvWsx private include file
  6. //
  7. // Copyright: (c) 1992 - 1997, Microsoft Corporation.
  8. // All Rights Reserved.
  9. // Information Contained Herein is Proprietary
  10. // and Confidential.
  11. //
  12. // History: 17-JUL-97 BrianTa Created.
  13. //
  14. //---------------------------------------------------------------------------
  15. #ifndef _TSRV128_H_
  16. #define _TSRV128_H_
  17. /****************************************************************************/
  18. /* Constants */
  19. /****************************************************************************/
  20. #define NET_MAX_SIZE_SEND_PKT 32000
  21. /****************************************************************************/
  22. /* Basic type definitions */
  23. /****************************************************************************/
  24. typedef ULONG TS_SHAREID;
  25. /**STRUCT+*******************************************************************/
  26. /* Structure: TS_SHARECONTROLHEADER */
  27. /* */
  28. /* Description: ShareControlHeader */
  29. /****************************************************************************/
  30. typedef struct _TS_SHARECONTROLHEADER
  31. {
  32. USHORT totalLength;
  33. USHORT pduType; // Also encodes the protocol version
  34. USHORT pduSource;
  35. } TS_SHARECONTROLHEADER, *PTS_SHARECONTROLHEADER;
  36. /**STRUCT+*******************************************************************/
  37. /* Structure: TS_SHAREDATAHEADER */
  38. /* */
  39. /* Description: ShareDataHeader */
  40. /****************************************************************************/
  41. typedef struct _TS_SHAREDATAHEADER
  42. {
  43. TS_SHARECONTROLHEADER shareControlHeader;
  44. TS_SHAREID shareID;
  45. UCHAR pad1;
  46. UCHAR streamID;
  47. USHORT uncompressedLength;
  48. UCHAR pduType2; // T.128 bug
  49. UCHAR generalCompressedType; // T.128 bug
  50. USHORT generalCompressedLength;
  51. } TS_SHAREDATAHEADER, *PTS_SHAREDATAHEADER;
  52. #endif // _TSRV128_H_