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.

115 lines
2.0 KiB

  1. /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2. Copyright <c> 1993 Microsoft Corporation
  3. Module Name :
  4. mrshlp.h
  5. Abtract :
  6. Contains private definitions for mrshl.c.
  7. Author :
  8. David Kays dkays September 1993
  9. Revision History :
  10. --------------------------------------------------------------------*/
  11. #ifndef _MRSHLP_
  12. #define _MRSHLP_
  13. void
  14. NdrpPointerMarshall(
  15. PMIDL_STUB_MESSAGE pStubMsg,
  16. uchar * pBufferMark,
  17. uchar * pMemory,
  18. PFORMAT_STRING pFormat
  19. );
  20. void
  21. NdrpConformantArrayMarshall(
  22. PMIDL_STUB_MESSAGE pStubMsg,
  23. uchar * pMemory,
  24. PFORMAT_STRING pFormat
  25. );
  26. void
  27. NdrpConformantVaryingArrayMarshall(
  28. PMIDL_STUB_MESSAGE pStubMsg,
  29. uchar * pMemory,
  30. PFORMAT_STRING pFormat
  31. );
  32. void
  33. NdrpComplexArrayMarshall(
  34. PMIDL_STUB_MESSAGE pStubMsg,
  35. uchar * pMemory,
  36. PFORMAT_STRING pFormat
  37. );
  38. void
  39. NdrpConformantStringMarshall(
  40. PMIDL_STUB_MESSAGE pStubMsg,
  41. uchar * pMemory,
  42. PFORMAT_STRING pFormat
  43. );
  44. void
  45. NdrpUnionMarshall(
  46. PMIDL_STUB_MESSAGE pStubMsg,
  47. uchar * pMemory,
  48. PFORMAT_STRING pFormat,
  49. long SwitchIs,
  50. uchar SwitchType
  51. );
  52. PFORMAT_STRING
  53. NdrpEmbeddedPointerMarshall(
  54. PMIDL_STUB_MESSAGE pStubMsg,
  55. uchar * pMemory,
  56. PFORMAT_STRING pFormat
  57. );
  58. PFORMAT_STRING
  59. NdrpEmbeddedRepeatPointerMarshall(
  60. PMIDL_STUB_MESSAGE pStubMsg,
  61. uchar * pMemory,
  62. PFORMAT_STRING pFormat
  63. );
  64. ULONG_PTR
  65. NdrpComputeConformance(
  66. PMIDL_STUB_MESSAGE pStubMsg,
  67. uchar * pMemory,
  68. PFORMAT_STRING pFormat
  69. );
  70. void
  71. NdrpComputeVariance(
  72. PMIDL_STUB_MESSAGE pStubMsg,
  73. uchar * pMemory,
  74. PFORMAT_STRING pFormat
  75. );
  76. typedef uchar * (RPC_ENTRY * PMARSHALL_ROUTINE)(
  77. PMIDL_STUB_MESSAGE,
  78. uchar *,
  79. PFORMAT_STRING
  80. );
  81. typedef void (* PPRIVATE_MARSHALL_ROUTINE)(
  82. PMIDL_STUB_MESSAGE,
  83. uchar *,
  84. PFORMAT_STRING
  85. );
  86. //
  87. // Function table defined in mrshl.c
  88. //
  89. IMPORTSPEC
  90. extern const PMARSHALL_ROUTINE * pfnMarshallRoutines;
  91. #endif