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.

199 lines
5.0 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for ctxtcall.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __ctxtcall_h__
  27. #define __ctxtcall_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IContextCallback_FWD_DEFINED__
  33. #define __IContextCallback_FWD_DEFINED__
  34. typedef interface IContextCallback IContextCallback;
  35. #endif /* __IContextCallback_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "wtypes.h"
  38. #include "objidl.h"
  39. #ifdef __cplusplus
  40. extern "C"{
  41. #endif
  42. void * __RPC_USER MIDL_user_allocate(size_t);
  43. void __RPC_USER MIDL_user_free( void * );
  44. /* interface __MIDL_itf_ctxtcall_0000 */
  45. /* [local] */
  46. //+-----------------------------------------------------------------
  47. //
  48. // Microsoft Windows
  49. // Copyright (c) Microsoft Corporation. All rights reserved.
  50. //
  51. //------------------------------------------------------------------
  52. typedef struct tagComCallData
  53. {
  54. DWORD dwDispid;
  55. DWORD dwReserved;
  56. void *pUserDefined;
  57. } ComCallData;
  58. extern RPC_IF_HANDLE __MIDL_itf_ctxtcall_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_ctxtcall_0000_v0_0_s_ifspec;
  60. #ifndef __IContextCallback_INTERFACE_DEFINED__
  61. #define __IContextCallback_INTERFACE_DEFINED__
  62. /* interface IContextCallback */
  63. /* [unique][uuid][object][local] */
  64. typedef /* [ref] */ HRESULT ( __stdcall *PFNCONTEXTCALL )(
  65. ComCallData *pParam);
  66. EXTERN_C const IID IID_IContextCallback;
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68. MIDL_INTERFACE("000001da-0000-0000-C000-000000000046")
  69. IContextCallback : public IUnknown
  70. {
  71. public:
  72. virtual HRESULT STDMETHODCALLTYPE ContextCallback(
  73. /* [in] */ PFNCONTEXTCALL pfnCallback,
  74. /* [in] */ ComCallData *pParam,
  75. /* [in] */ REFIID riid,
  76. /* [in] */ int iMethod,
  77. /* [in] */ IUnknown *pUnk) = 0;
  78. };
  79. #else /* C style interface */
  80. typedef struct IContextCallbackVtbl
  81. {
  82. BEGIN_INTERFACE
  83. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  84. IContextCallback * This,
  85. /* [in] */ REFIID riid,
  86. /* [iid_is][out] */ void **ppvObject);
  87. ULONG ( STDMETHODCALLTYPE *AddRef )(
  88. IContextCallback * This);
  89. ULONG ( STDMETHODCALLTYPE *Release )(
  90. IContextCallback * This);
  91. HRESULT ( STDMETHODCALLTYPE *ContextCallback )(
  92. IContextCallback * This,
  93. /* [in] */ PFNCONTEXTCALL pfnCallback,
  94. /* [in] */ ComCallData *pParam,
  95. /* [in] */ REFIID riid,
  96. /* [in] */ int iMethod,
  97. /* [in] */ IUnknown *pUnk);
  98. END_INTERFACE
  99. } IContextCallbackVtbl;
  100. interface IContextCallback
  101. {
  102. CONST_VTBL struct IContextCallbackVtbl *lpVtbl;
  103. };
  104. #ifdef COBJMACROS
  105. #define IContextCallback_QueryInterface(This,riid,ppvObject) \
  106. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  107. #define IContextCallback_AddRef(This) \
  108. (This)->lpVtbl -> AddRef(This)
  109. #define IContextCallback_Release(This) \
  110. (This)->lpVtbl -> Release(This)
  111. #define IContextCallback_ContextCallback(This,pfnCallback,pParam,riid,iMethod,pUnk) \
  112. (This)->lpVtbl -> ContextCallback(This,pfnCallback,pParam,riid,iMethod,pUnk)
  113. #endif /* COBJMACROS */
  114. #endif /* C style interface */
  115. HRESULT STDMETHODCALLTYPE IContextCallback_ContextCallback_Proxy(
  116. IContextCallback * This,
  117. /* [in] */ PFNCONTEXTCALL pfnCallback,
  118. /* [in] */ ComCallData *pParam,
  119. /* [in] */ REFIID riid,
  120. /* [in] */ int iMethod,
  121. /* [in] */ IUnknown *pUnk);
  122. void __RPC_STUB IContextCallback_ContextCallback_Stub(
  123. IRpcStubBuffer *This,
  124. IRpcChannelBuffer *_pRpcChannelBuffer,
  125. PRPC_MESSAGE _pRpcMessage,
  126. DWORD *_pdwStubPhase);
  127. #endif /* __IContextCallback_INTERFACE_DEFINED__ */
  128. /* Additional Prototypes for ALL interfaces */
  129. /* end of Additional Prototypes */
  130. #ifdef __cplusplus
  131. }
  132. #endif
  133. #endif