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.

149 lines
3.2 KiB

  1. /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2. Copyright (c) 1996 - 1999 Microsoft Corporation
  3. Module Name :
  4. asyncu.h
  5. Abstract :
  6. This file contains the ndr async uuid implementation.
  7. Author :
  8. Ryszard K. Kott (ryszardk) Oct 1997
  9. Revision History :
  10. ---------------------------------------------------------------------*/
  11. #ifndef __ASYNCU64_H__
  12. #define __ASYNCU64_H__
  13. #include "asyncu.h"
  14. RPC_STATUS
  15. NdrpFinishDcomAsyncClientCall(
  16. PMIDL_STUB_DESC pStubDescriptor,
  17. PFORMAT_STRING pFormat,
  18. unsigned char * StartofStack
  19. );
  20. HRESULT
  21. MulNdrpSetupBeginClientCall(
  22. CStdAsyncProxyBuffer * pAsyncPB,
  23. void * StartofStack,
  24. NDR_PROC_CONTEXT * pContext,
  25. REFIID riid );
  26. HRESULT
  27. MulNdrpSetupFinishClientCall(
  28. CStdAsyncProxyBuffer * pAsyncPB,
  29. void * StartofStack,
  30. REFIID riid,
  31. unsigned long AsyncProcNum,
  32. NDR_PROC_CONTEXT * pContext);
  33. HRESULT
  34. Ndr64pSetupBeginStubCall(
  35. CStdAsyncStubBuffer * pAsyncSB,
  36. NDR_PROC_CONTEXT * pContext,
  37. REFIID riid );
  38. HRESULT
  39. Ndr64pSetupFinishStubCall(
  40. CStdAsyncStubBuffer * pAsyncSB,
  41. unsigned long StackSize,
  42. REFIID riid );
  43. HRESULT
  44. Ndr64pBeginDcomAsyncStubCall(
  45. struct IRpcStubBuffer * pThis,
  46. struct IRpcChannelBuffer * pChannel,
  47. PRPC_MESSAGE pRpcMsg,
  48. ulong * pdwStubPhase );
  49. ULONG STDMETHODCALLTYPE
  50. Ndr64pAsyncProxyAddRef(
  51. CStdAsyncProxyBuffer * pAsyncPB );
  52. ULONG STDMETHODCALLTYPE
  53. Ndr64pAsyncProxyRelease(
  54. CStdAsyncProxyBuffer * pAsyncPB );
  55. HRESULT
  56. Ndr64pAsyncProxyLock(
  57. CStdAsyncProxyBuffer * pAsyncPB );
  58. void
  59. Ndr64pAsyncProxyUnlock(
  60. CStdAsyncProxyBuffer * pAsyncPB );
  61. HRESULT
  62. Ndr64pAsyncProxyCleanup(
  63. CStdAsyncProxyBuffer * pAsyncPB );
  64. HRESULT
  65. Ndr64pSetupBeginServerCall(
  66. CStdAsyncStubBuffer * pAsyncPB,
  67. void * StartofStack,
  68. unsigned short StackSize,
  69. REFIID riid );
  70. void
  71. Ndr64pCloneInOutArgs(
  72. NDR_DCOM_ASYNC_MESSAGE * pAsyncMsg,
  73. PPARAM_DESCRIPTION FinishParams,
  74. int FinishParamCount );
  75. void
  76. Ndr64pFreeDcomAsyncMsg(
  77. PNDR_DCOM_ASYNC_MESSAGE pAsyncMsg );
  78. HRESULT
  79. Ndr64pAsyncStubSignal(
  80. CStdAsyncStubBuffer * pAsyncSB );
  81. HRESULT
  82. Ndr64pAsyncStubAddRef(
  83. CStdAsyncStubBuffer * pAsyncSB );
  84. ULONG STDMETHODCALLTYPE
  85. Ndr64pAsyncStubRelease(
  86. CStdAsyncStubBuffer * pAsyncSB );
  87. HRESULT
  88. Ndr64pAsyncStubLock(
  89. CStdAsyncStubBuffer * pAsyncSB );
  90. void
  91. Ndr64pAsyncStubUnlock(
  92. CStdAsyncStubBuffer * pAsyncSB );
  93. HRESULT
  94. Ndr64pAsyncStubCleanup(
  95. CStdAsyncStubBuffer * pAsyncSB );
  96. BOOL
  97. Ndr64pDcomAsyncSend(
  98. PMIDL_STUB_MESSAGE pStubMsg,
  99. ISynchronize * pSynchronize );
  100. BOOL
  101. Ndr64pDcomAsyncClientSend(
  102. PMIDL_STUB_MESSAGE pStubMsg,
  103. IUnknown * punkOuter );
  104. void
  105. Ndr64DcomAsyncReceive(
  106. PMIDL_STUB_MESSAGE pStubMsg );
  107. #define NdrHrFromWin32Error( exc ) NdrStubErrorHandler( exc )
  108. #endif // __ASYNCU64_H__