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.

81 lines
1.7 KiB

  1. /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2. Copyright <c> 1993 Microsoft Corporation
  3. Module Name :
  4. memsizep.h
  5. Abtract :
  6. Contains private memory sizing routine definitions.
  7. Author :
  8. David Kays dkays November 1993
  9. Revision History :
  10. --------------------------------------------------------------------*/
  11. typedef ulong (RPC_ENTRY * PMEM_SIZE_ROUTINE)(
  12. PMIDL_STUB_MESSAGE pStubMsg,
  13. PFORMAT_STRING pFormat
  14. );
  15. typedef ulong (* PPRIVATE_MEM_SIZE_ROUTINE)(
  16. PMIDL_STUB_MESSAGE pStubMsg,
  17. PFORMAT_STRING pFormat
  18. );
  19. extern const PMEM_SIZE_ROUTINE * pfnMemSizeRoutines;
  20. ulong
  21. NdrpPointerMemorySize(
  22. PMIDL_STUB_MESSAGE pStubMsg,
  23. uchar * pBufferMark,
  24. PFORMAT_STRING pFormat
  25. );
  26. ulong
  27. NdrpConformantArrayMemorySize(
  28. PMIDL_STUB_MESSAGE pStubMsg,
  29. PFORMAT_STRING pFormat
  30. );
  31. ulong
  32. NdrpConformantVaryingArrayMemorySize(
  33. PMIDL_STUB_MESSAGE pStubMsg,
  34. PFORMAT_STRING pFormat
  35. );
  36. ulong
  37. NdrpComplexArrayMemorySize(
  38. PMIDL_STUB_MESSAGE pStubMsg,
  39. PFORMAT_STRING pFormat
  40. );
  41. ulong
  42. NdrpConformantStringMemorySize(
  43. PMIDL_STUB_MESSAGE pStubMsg,
  44. PFORMAT_STRING pFormat
  45. );
  46. ulong
  47. NdrpUnionMemorySize(
  48. PMIDL_STUB_MESSAGE pStubMsg,
  49. PFORMAT_STRING pFormat,
  50. uchar SwitchIs
  51. );
  52. void
  53. NdrpEmbeddedPointerMemorySize(
  54. PMIDL_STUB_MESSAGE pStubMsg,
  55. PFORMAT_STRING pFormat
  56. );
  57. void
  58. NdrpEmbeddedRepeatPointerMemorySize(
  59. PMIDL_STUB_MESSAGE pStubMsg,
  60. PFORMAT_STRING * ppFormatt
  61. );