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.

183 lines
4.3 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for callback.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  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__ 440
  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 __callback_h__
  27. #define __callback_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISynchronizedCallBack_FWD_DEFINED__
  33. #define __ISynchronizedCallBack_FWD_DEFINED__
  34. typedef interface ISynchronizedCallBack ISynchronizedCallBack;
  35. #endif /* __ISynchronizedCallBack_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "unknwn.h"
  38. #ifdef __cplusplus
  39. extern "C"{
  40. #endif
  41. void * __RPC_USER MIDL_user_allocate(size_t);
  42. void __RPC_USER MIDL_user_free( void * );
  43. /* interface __MIDL_itf_callback_0000 */
  44. /* [local] */
  45. #ifndef _SYNCHRONIZED_CALLBACK_H_
  46. #define _SYNCHRONIZED_CALLBACK_H_
  47. extern RPC_IF_HANDLE __MIDL_itf_callback_0000_v0_0_c_ifspec;
  48. extern RPC_IF_HANDLE __MIDL_itf_callback_0000_v0_0_s_ifspec;
  49. #ifndef __ISynchronizedCallBack_INTERFACE_DEFINED__
  50. #define __ISynchronizedCallBack_INTERFACE_DEFINED__
  51. /* interface ISynchronizedCallBack */
  52. /* [unique][uuid][object] */
  53. EXTERN_C const IID IID_ISynchronizedCallBack;
  54. #if defined(__cplusplus) && !defined(CINTERFACE)
  55. MIDL_INTERFACE("74C26041-70D1-11d1-B75A-00A0C90564FE")
  56. ISynchronizedCallBack : public IUnknown
  57. {
  58. public:
  59. virtual HRESULT STDMETHODCALLTYPE CallBack(
  60. /* [size_is][in] */ BYTE *pParams,
  61. /* [in] */ ULONG uSize) = 0;
  62. };
  63. #else /* C style interface */
  64. typedef struct ISynchronizedCallBackVtbl
  65. {
  66. BEGIN_INTERFACE
  67. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  68. ISynchronizedCallBack * This,
  69. /* [in] */ REFIID riid,
  70. /* [iid_is][out] */ void **ppvObject);
  71. ULONG ( STDMETHODCALLTYPE *AddRef )(
  72. ISynchronizedCallBack * This);
  73. ULONG ( STDMETHODCALLTYPE *Release )(
  74. ISynchronizedCallBack * This);
  75. HRESULT ( STDMETHODCALLTYPE *CallBack )(
  76. ISynchronizedCallBack * This,
  77. /* [size_is][in] */ BYTE *pParams,
  78. /* [in] */ ULONG uSize);
  79. END_INTERFACE
  80. } ISynchronizedCallBackVtbl;
  81. interface ISynchronizedCallBack
  82. {
  83. CONST_VTBL struct ISynchronizedCallBackVtbl *lpVtbl;
  84. };
  85. #ifdef COBJMACROS
  86. #define ISynchronizedCallBack_QueryInterface(This,riid,ppvObject) \
  87. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  88. #define ISynchronizedCallBack_AddRef(This) \
  89. (This)->lpVtbl -> AddRef(This)
  90. #define ISynchronizedCallBack_Release(This) \
  91. (This)->lpVtbl -> Release(This)
  92. #define ISynchronizedCallBack_CallBack(This,pParams,uSize) \
  93. (This)->lpVtbl -> CallBack(This,pParams,uSize)
  94. #endif /* COBJMACROS */
  95. #endif /* C style interface */
  96. HRESULT STDMETHODCALLTYPE ISynchronizedCallBack_CallBack_Proxy(
  97. ISynchronizedCallBack * This,
  98. /* [size_is][in] */ BYTE *pParams,
  99. /* [in] */ ULONG uSize);
  100. void __RPC_STUB ISynchronizedCallBack_CallBack_Stub(
  101. IRpcStubBuffer *This,
  102. IRpcChannelBuffer *_pRpcChannelBuffer,
  103. PRPC_MESSAGE _pRpcMessage,
  104. DWORD *_pdwStubPhase);
  105. #endif /* __ISynchronizedCallBack_INTERFACE_DEFINED__ */
  106. /* interface __MIDL_itf_callback_0009 */
  107. /* [local] */
  108. #endif
  109. extern RPC_IF_HANDLE __MIDL_itf_callback_0009_v0_0_c_ifspec;
  110. extern RPC_IF_HANDLE __MIDL_itf_callback_0009_v0_0_s_ifspec;
  111. /* Additional Prototypes for ALL interfaces */
  112. /* end of Additional Prototypes */
  113. #ifdef __cplusplus
  114. }
  115. #endif
  116. #endif