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.

257 lines
6.8 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 prgsnk.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  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__ 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 __prgsnk_h__
  27. #define __prgsnk_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IProgSink_FWD_DEFINED__
  33. #define __IProgSink_FWD_DEFINED__
  34. typedef interface IProgSink IProgSink;
  35. #endif /* __IProgSink_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "oaidl.h"
  38. #include "oleidl.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. #ifndef __IProgSink_INTERFACE_DEFINED__
  45. #define __IProgSink_INTERFACE_DEFINED__
  46. /* interface IProgSink */
  47. /* [local][unique][uuid][object] */
  48. EXTERN_C const IID IID_IProgSink;
  49. #if defined(__cplusplus) && !defined(CINTERFACE)
  50. MIDL_INTERFACE("3050f371-98b5-11cf-bb82-00aa00bdce0b")
  51. IProgSink : public IUnknown
  52. {
  53. public:
  54. virtual HRESULT STDMETHODCALLTYPE AddProgress(
  55. /* [in] */ DWORD dwClass,
  56. /* [out] */ DWORD *pdwCookie) = 0;
  57. virtual HRESULT STDMETHODCALLTYPE SetProgress(
  58. /* [in] */ DWORD dwCookie,
  59. /* [in] */ DWORD dwFlags,
  60. /* [in] */ DWORD dwState,
  61. /* [in] */ LPCTSTR pchText,
  62. /* [in] */ DWORD dwIds,
  63. /* [in] */ DWORD dwPos,
  64. /* [in] */ DWORD dwMax) = 0;
  65. virtual HRESULT STDMETHODCALLTYPE DelProgress(
  66. /* [in] */ DWORD dwCookie) = 0;
  67. };
  68. #else /* C style interface */
  69. typedef struct IProgSinkVtbl
  70. {
  71. BEGIN_INTERFACE
  72. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  73. IProgSink * This,
  74. /* [in] */ REFIID riid,
  75. /* [iid_is][out] */ void **ppvObject);
  76. ULONG ( STDMETHODCALLTYPE *AddRef )(
  77. IProgSink * This);
  78. ULONG ( STDMETHODCALLTYPE *Release )(
  79. IProgSink * This);
  80. HRESULT ( STDMETHODCALLTYPE *AddProgress )(
  81. IProgSink * This,
  82. /* [in] */ DWORD dwClass,
  83. /* [out] */ DWORD *pdwCookie);
  84. HRESULT ( STDMETHODCALLTYPE *SetProgress )(
  85. IProgSink * This,
  86. /* [in] */ DWORD dwCookie,
  87. /* [in] */ DWORD dwFlags,
  88. /* [in] */ DWORD dwState,
  89. /* [in] */ LPCTSTR pchText,
  90. /* [in] */ DWORD dwIds,
  91. /* [in] */ DWORD dwPos,
  92. /* [in] */ DWORD dwMax);
  93. HRESULT ( STDMETHODCALLTYPE *DelProgress )(
  94. IProgSink * This,
  95. /* [in] */ DWORD dwCookie);
  96. END_INTERFACE
  97. } IProgSinkVtbl;
  98. interface IProgSink
  99. {
  100. CONST_VTBL struct IProgSinkVtbl *lpVtbl;
  101. };
  102. #ifdef COBJMACROS
  103. #define IProgSink_QueryInterface(This,riid,ppvObject) \
  104. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  105. #define IProgSink_AddRef(This) \
  106. (This)->lpVtbl -> AddRef(This)
  107. #define IProgSink_Release(This) \
  108. (This)->lpVtbl -> Release(This)
  109. #define IProgSink_AddProgress(This,dwClass,pdwCookie) \
  110. (This)->lpVtbl -> AddProgress(This,dwClass,pdwCookie)
  111. #define IProgSink_SetProgress(This,dwCookie,dwFlags,dwState,pchText,dwIds,dwPos,dwMax) \
  112. (This)->lpVtbl -> SetProgress(This,dwCookie,dwFlags,dwState,pchText,dwIds,dwPos,dwMax)
  113. #define IProgSink_DelProgress(This,dwCookie) \
  114. (This)->lpVtbl -> DelProgress(This,dwCookie)
  115. #endif /* COBJMACROS */
  116. #endif /* C style interface */
  117. HRESULT STDMETHODCALLTYPE IProgSink_AddProgress_Proxy(
  118. IProgSink * This,
  119. /* [in] */ DWORD dwClass,
  120. /* [out] */ DWORD *pdwCookie);
  121. void __RPC_STUB IProgSink_AddProgress_Stub(
  122. IRpcStubBuffer *This,
  123. IRpcChannelBuffer *_pRpcChannelBuffer,
  124. PRPC_MESSAGE _pRpcMessage,
  125. DWORD *_pdwStubPhase);
  126. HRESULT STDMETHODCALLTYPE IProgSink_SetProgress_Proxy(
  127. IProgSink * This,
  128. /* [in] */ DWORD dwCookie,
  129. /* [in] */ DWORD dwFlags,
  130. /* [in] */ DWORD dwState,
  131. /* [in] */ LPCTSTR pchText,
  132. /* [in] */ DWORD dwIds,
  133. /* [in] */ DWORD dwPos,
  134. /* [in] */ DWORD dwMax);
  135. void __RPC_STUB IProgSink_SetProgress_Stub(
  136. IRpcStubBuffer *This,
  137. IRpcChannelBuffer *_pRpcChannelBuffer,
  138. PRPC_MESSAGE _pRpcMessage,
  139. DWORD *_pdwStubPhase);
  140. HRESULT STDMETHODCALLTYPE IProgSink_DelProgress_Proxy(
  141. IProgSink * This,
  142. /* [in] */ DWORD dwCookie);
  143. void __RPC_STUB IProgSink_DelProgress_Stub(
  144. IRpcStubBuffer *This,
  145. IRpcChannelBuffer *_pRpcChannelBuffer,
  146. PRPC_MESSAGE _pRpcMessage,
  147. DWORD *_pdwStubPhase);
  148. #endif /* __IProgSink_INTERFACE_DEFINED__ */
  149. /* interface __MIDL_itf_prgsnk_0140 */
  150. /* [local] */
  151. #define PROGSINK_CLASS_FORWARDED 0x80000000
  152. #define PROGSINK_CLASS_NOSPIN 0x40000000
  153. #define PROGSINK_CLASS_HTML 0x00000000
  154. #define PROGSINK_CLASS_MULTIMEDIA 0x00000001
  155. #define PROGSINK_CLASS_CONTROL 0x00000002
  156. #define PROGSINK_CLASS_DATABIND 0x00000003
  157. #define PROGSINK_CLASS_OTHER 0x00000004
  158. #define PROGSINK_CLASS_NOREMAIN 0x00000005
  159. #define PROGSINK_CLASS_FRAME 0x00000006
  160. #define PROGSINK_STATE_IDLE 0x00000000
  161. #define PROGSINK_STATE_FINISHING 0x00000001
  162. #define PROGSINK_STATE_CONNECTING 0x00000002
  163. #define PROGSINK_STATE_LOADING 0x00000003
  164. #define PROGSINK_SET_STATE 0x00000001
  165. #define PROGSINK_SET_TEXT 0x00000002
  166. #define PROGSINK_SET_IDS 0x00000004
  167. #define PROGSINK_SET_POS 0x00000008
  168. #define PROGSINK_SET_MAX 0x00000010
  169. extern RPC_IF_HANDLE __MIDL_itf_prgsnk_0140_v0_0_c_ifspec;
  170. extern RPC_IF_HANDLE __MIDL_itf_prgsnk_0140_v0_0_s_ifspec;
  171. /* Additional Prototypes for ALL interfaces */
  172. /* end of Additional Prototypes */
  173. #ifdef __cplusplus
  174. }
  175. #endif
  176. #endif