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.

247 lines
6.6 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 dwnnot.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 __dwnnot_h__
  27. #define __dwnnot_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDownloadNotify_FWD_DEFINED__
  33. #define __IDownloadNotify_FWD_DEFINED__
  34. typedef interface IDownloadNotify IDownloadNotify;
  35. #endif /* __IDownloadNotify_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "objidl.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. /* interface __MIDL_itf_dwnnot_0000 */
  45. /* [local] */
  46. //=--------------------------------------------------------------------------=
  47. // dwnnot.h
  48. //=--------------------------------------------------------------------------=
  49. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  50. //
  51. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  52. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  53. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  54. // PARTICULAR PURPOSE.
  55. //=--------------------------------------------------------------------------=
  56. #pragma comment(lib,"uuid.lib")
  57. //---------------------------------------------------------------------------=
  58. // IDownloadNotify Interface.
  59. EXTERN_C const GUID CGID_DownloadHost;
  60. #ifndef _LPDOWNLOADHOST_CMDID_DEFINED
  61. #define _LPDOWNLOADHOST_CMDID_DEFINED
  62. #define DWNHCMDID_SETDOWNLOADNOTIFY (0)
  63. #endif
  64. #ifndef _LPDOWNLOADNOTIFY_DEFINED
  65. #define _LPDOWNLOADNOTIFY_DEFINED
  66. #define DWNTYPE_HTM 0
  67. #define DWNTYPE_IMG 1
  68. #define DWNTYPE_BITS 2
  69. #define DWNTYPE_FILE 3
  70. extern RPC_IF_HANDLE __MIDL_itf_dwnnot_0000_v0_0_c_ifspec;
  71. extern RPC_IF_HANDLE __MIDL_itf_dwnnot_0000_v0_0_s_ifspec;
  72. #ifndef __IDownloadNotify_INTERFACE_DEFINED__
  73. #define __IDownloadNotify_INTERFACE_DEFINED__
  74. /* interface IDownloadNotify */
  75. /* [unique][uuid][object][local] */
  76. typedef /* [unique] */ IDownloadNotify *LPDOWNLOADNOTIFY;
  77. EXTERN_C const IID IID_IDownloadNotify;
  78. #if defined(__cplusplus) && !defined(CINTERFACE)
  79. MIDL_INTERFACE("caeb5d28-ae4c-11d1-ba40-00c04fb92d79")
  80. IDownloadNotify : public IUnknown
  81. {
  82. public:
  83. virtual HRESULT STDMETHODCALLTYPE DownloadStart(
  84. /* [in] */ LPCWSTR pchUrl,
  85. /* [in] */ DWORD dwDownloadId,
  86. /* [in] */ DWORD dwType,
  87. /* [in] */ DWORD dwReserved) = 0;
  88. virtual HRESULT STDMETHODCALLTYPE DownloadComplete(
  89. /* [in] */ DWORD dwDownloadId,
  90. /* [in] */ HRESULT hrNotify,
  91. /* [in] */ DWORD dwReserved) = 0;
  92. };
  93. #else /* C style interface */
  94. typedef struct IDownloadNotifyVtbl
  95. {
  96. BEGIN_INTERFACE
  97. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  98. IDownloadNotify * This,
  99. /* [in] */ REFIID riid,
  100. /* [iid_is][out] */ void **ppvObject);
  101. ULONG ( STDMETHODCALLTYPE *AddRef )(
  102. IDownloadNotify * This);
  103. ULONG ( STDMETHODCALLTYPE *Release )(
  104. IDownloadNotify * This);
  105. HRESULT ( STDMETHODCALLTYPE *DownloadStart )(
  106. IDownloadNotify * This,
  107. /* [in] */ LPCWSTR pchUrl,
  108. /* [in] */ DWORD dwDownloadId,
  109. /* [in] */ DWORD dwType,
  110. /* [in] */ DWORD dwReserved);
  111. HRESULT ( STDMETHODCALLTYPE *DownloadComplete )(
  112. IDownloadNotify * This,
  113. /* [in] */ DWORD dwDownloadId,
  114. /* [in] */ HRESULT hrNotify,
  115. /* [in] */ DWORD dwReserved);
  116. END_INTERFACE
  117. } IDownloadNotifyVtbl;
  118. interface IDownloadNotify
  119. {
  120. CONST_VTBL struct IDownloadNotifyVtbl *lpVtbl;
  121. };
  122. #ifdef COBJMACROS
  123. #define IDownloadNotify_QueryInterface(This,riid,ppvObject) \
  124. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  125. #define IDownloadNotify_AddRef(This) \
  126. (This)->lpVtbl -> AddRef(This)
  127. #define IDownloadNotify_Release(This) \
  128. (This)->lpVtbl -> Release(This)
  129. #define IDownloadNotify_DownloadStart(This,pchUrl,dwDownloadId,dwType,dwReserved) \
  130. (This)->lpVtbl -> DownloadStart(This,pchUrl,dwDownloadId,dwType,dwReserved)
  131. #define IDownloadNotify_DownloadComplete(This,dwDownloadId,hrNotify,dwReserved) \
  132. (This)->lpVtbl -> DownloadComplete(This,dwDownloadId,hrNotify,dwReserved)
  133. #endif /* COBJMACROS */
  134. #endif /* C style interface */
  135. HRESULT STDMETHODCALLTYPE IDownloadNotify_DownloadStart_Proxy(
  136. IDownloadNotify * This,
  137. /* [in] */ LPCWSTR pchUrl,
  138. /* [in] */ DWORD dwDownloadId,
  139. /* [in] */ DWORD dwType,
  140. /* [in] */ DWORD dwReserved);
  141. void __RPC_STUB IDownloadNotify_DownloadStart_Stub(
  142. IRpcStubBuffer *This,
  143. IRpcChannelBuffer *_pRpcChannelBuffer,
  144. PRPC_MESSAGE _pRpcMessage,
  145. DWORD *_pdwStubPhase);
  146. HRESULT STDMETHODCALLTYPE IDownloadNotify_DownloadComplete_Proxy(
  147. IDownloadNotify * This,
  148. /* [in] */ DWORD dwDownloadId,
  149. /* [in] */ HRESULT hrNotify,
  150. /* [in] */ DWORD dwReserved);
  151. void __RPC_STUB IDownloadNotify_DownloadComplete_Stub(
  152. IRpcStubBuffer *This,
  153. IRpcChannelBuffer *_pRpcChannelBuffer,
  154. PRPC_MESSAGE _pRpcMessage,
  155. DWORD *_pdwStubPhase);
  156. #endif /* __IDownloadNotify_INTERFACE_DEFINED__ */
  157. /* interface __MIDL_itf_dwnnot_0118 */
  158. /* [local] */
  159. #endif
  160. extern RPC_IF_HANDLE __MIDL_itf_dwnnot_0118_v0_0_c_ifspec;
  161. extern RPC_IF_HANDLE __MIDL_itf_dwnnot_0118_v0_0_s_ifspec;
  162. /* Additional Prototypes for ALL interfaces */
  163. /* end of Additional Prototypes */
  164. #ifdef __cplusplus
  165. }
  166. #endif
  167. #endif