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.

44 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. frsinrpc.h
  5. Abstract:
  6. Structs shared with rpc functions. This will be fleshed out over time.
  7. Author:
  8. Billy Fuller 18-Apr-1997
  9. Revision History:
  10. --*/
  11. //
  12. // The version vector
  13. //
  14. typedef struct _COMM_PACKET {
  15. ULONG Major; // major version number
  16. ULONG Minor; // minor version number
  17. ULONG CsId; // command server id
  18. ULONG MemLen; // allocated memory
  19. #ifdef MIDL_PASS
  20. [range(0, 256 * 1024)] ULONG PktLen; // data length
  21. #else MIDL_PASS
  22. ULONG PktLen; // data length
  23. #endif MIDL_PASS
  24. ULONG UpkLen; // unpack length
  25. #ifdef MIDL_PASS
  26. [size_is(PktLen)] UCHAR *Pkt; // blob in RPC syntax
  27. [ignore] void *DataName;
  28. [ignore] void *DataHandle;
  29. #else MIDL_PASS
  30. UCHAR *Pkt; // blob in C syntax
  31. PWCHAR DataName;
  32. HANDLE DataHandle;
  33. #endif MIDL_PASS
  34. } COMM_PACKET, *PCOMM_PACKET;