Source code of Windows XP (NT5)
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.

85 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. cstmars.h
  6. Abstract:
  7. Declarations for custom marshalling spooler structures sent via RPC/LPC
  8. Author:
  9. Adina Trufinescu (AdinaTru) 01/27/00
  10. Revision History:
  11. --*/
  12. inline
  13. PBYTE
  14. AlignIt(
  15. IN PBYTE Addr,
  16. IN ULONG_PTR Boundary
  17. );
  18. BOOL
  19. BasicMarshallDownStructure(
  20. IN OUT PBYTE pStructure,
  21. IN FieldInfo *pFieldInfo
  22. );
  23. BOOL
  24. BasicMarshallDownEntry(
  25. IN OUT PBYTE pStructure,
  26. IN FieldInfo *pFieldInfo
  27. );
  28. BOOL
  29. BasicMarshallUpStructure(
  30. IN OUT PBYTE pStructure,
  31. IN FieldInfo *pFieldInfo
  32. );
  33. BOOL
  34. BasicMarshallUpEntry(
  35. IN OUT PBYTE pStructure,
  36. IN FieldInfo *pFieldInfo
  37. );
  38. BOOL
  39. CustomMarshallDownStructure(
  40. IN OUT PBYTE pStructure,
  41. IN FieldInfo *pFieldInfo,
  42. IN SIZE_T StructureSize
  43. );
  44. BOOL
  45. CustomMarshallDownEntry(
  46. IN OUT PBYTE pStructure,
  47. IN PBYTE pNewStructure,
  48. IN FieldInfo *pFieldInfo,
  49. IN SIZE_T StructureSize
  50. );
  51. BOOL
  52. CustomMarshallUpStructure(
  53. IN OUT PBYTE pStructure,
  54. IN FieldInfo *pFieldInfo,
  55. IN SIZE_T StructureSize
  56. );
  57. BOOL
  58. CustomMarshallUpEntry(
  59. IN OUT PBYTE pStructure,
  60. IN PBYTE pNewStructure,
  61. IN FieldInfo *pFieldInfo,
  62. IN SIZE_T StructureSize,
  63. IN SIZE_T ShrinkedSize
  64. );