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.

93 lines
1.9 KiB

  1. /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2. Copyright <c> 1993 Microsoft Corporation
  3. Module Name :
  4. sizep.h
  5. Abtract :
  6. Contains private sizing routine definitions.
  7. Author :
  8. David Kays dkays October 1993
  9. Revision History :
  10. --------------------------------------------------------------------*/
  11. typedef void (RPC_ENTRY * PSIZE_ROUTINE)(
  12. PMIDL_STUB_MESSAGE pStubMsg,
  13. uchar * pMemory,
  14. PFORMAT_STRING pFormat
  15. );
  16. typedef void (* PPRIVATE_SIZE_ROUTINE)(
  17. PMIDL_STUB_MESSAGE pStubMsg,
  18. uchar * pMemory,
  19. PFORMAT_STRING pFormat
  20. );
  21. IMPORTSPEC
  22. extern const PSIZE_ROUTINE * pfnSizeRoutines;
  23. void
  24. NdrpPointerBufferSize (
  25. PMIDL_STUB_MESSAGE pStubMsg,
  26. uchar * pMemory,
  27. PFORMAT_STRING pFormat
  28. );
  29. void
  30. NdrpConformantArrayBufferSize (
  31. PMIDL_STUB_MESSAGE pStubMsg,
  32. uchar * pMemory,
  33. PFORMAT_STRING pFormat
  34. );
  35. void
  36. NdrpConformantVaryingArrayBufferSize (
  37. PMIDL_STUB_MESSAGE pStubMsg,
  38. uchar * pMemory,
  39. PFORMAT_STRING pFormat
  40. );
  41. void
  42. NdrpComplexArrayBufferSize (
  43. PMIDL_STUB_MESSAGE pStubMsg,
  44. uchar * pMemory,
  45. PFORMAT_STRING pFormat
  46. );
  47. void
  48. NdrpConformantStringBufferSize (
  49. PMIDL_STUB_MESSAGE pStubMsg,
  50. uchar * pMemory,
  51. PFORMAT_STRING pFormat
  52. );
  53. void
  54. NdrpUnionBufferSize(
  55. PMIDL_STUB_MESSAGE pStubMsg,
  56. uchar * pMemory,
  57. PFORMAT_STRING pFormat,
  58. long SwitchIs,
  59. uchar SwitchType
  60. );
  61. void
  62. NdrpEmbeddedPointerBufferSize(
  63. PMIDL_STUB_MESSAGE pStubMsg,
  64. uchar * pMemory,
  65. PFORMAT_STRING pFormat
  66. );
  67. void
  68. NdrpEmbeddedRepeatPointerBufferSize(
  69. PMIDL_STUB_MESSAGE pStubMsg,
  70. uchar * pMemory,
  71. PFORMAT_STRING * ppFormat
  72. );