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.

215 lines
6.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 downloadmgr.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 __downloadmgr_h__
  27. #define __downloadmgr_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDownloadManager_FWD_DEFINED__
  33. #define __IDownloadManager_FWD_DEFINED__
  34. typedef interface IDownloadManager IDownloadManager;
  35. #endif /* __IDownloadManager_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "unknwn.h"
  38. #include "ocidl.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_downloadmgr_0000 */
  45. /* [local] */
  46. //=--------------------------------------------------------------------------=
  47. // downloadmgr.h
  48. //=--------------------------------------------------------------------------=
  49. // (C) Copyright 2000 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. // Internet Explorer Download Manager Interfaces
  59. // --------------------------------------------------------------------------------
  60. // GUIDS
  61. // --------------------------------------------------------------------------------
  62. // {988934A4-064B-11D3-BB80-00104B35E7F9}
  63. DEFINE_GUID(IID_IDownloadManager, 0x988934a4, 0x064b, 0x11d3, 0xbb, 0x80, 0x0, 0x10, 0x4b, 0x35, 0xe7, 0xf9);
  64. #define SID_SDownloadManager IID_IDownloadManager
  65. extern RPC_IF_HANDLE __MIDL_itf_downloadmgr_0000_v0_0_c_ifspec;
  66. extern RPC_IF_HANDLE __MIDL_itf_downloadmgr_0000_v0_0_s_ifspec;
  67. #ifndef __IDownloadManager_INTERFACE_DEFINED__
  68. #define __IDownloadManager_INTERFACE_DEFINED__
  69. /* interface IDownloadManager */
  70. /* [local][unique][uuid][object][helpstring] */
  71. EXTERN_C const IID IID_IDownloadManager;
  72. #if defined(__cplusplus) && !defined(CINTERFACE)
  73. MIDL_INTERFACE("988934A4-064B-11D3-BB80-00104B35E7F9")
  74. IDownloadManager : public IUnknown
  75. {
  76. public:
  77. virtual HRESULT STDMETHODCALLTYPE Download(
  78. /* [in] */ IMoniker *pmk,
  79. /* [in] */ IBindCtx *pbc,
  80. /* [in] */ DWORD dwBindVerb,
  81. /* [in] */ LONG grfBINDF,
  82. /* [in] */ BINDINFO *pBindInfo,
  83. /* [in] */ LPCOLESTR pszHeaders,
  84. /* [in] */ LPCOLESTR pszRedir,
  85. /* [in] */ UINT uiCP) = 0;
  86. };
  87. #else /* C style interface */
  88. typedef struct IDownloadManagerVtbl
  89. {
  90. BEGIN_INTERFACE
  91. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  92. IDownloadManager * This,
  93. /* [in] */ REFIID riid,
  94. /* [iid_is][out] */ void **ppvObject);
  95. ULONG ( STDMETHODCALLTYPE *AddRef )(
  96. IDownloadManager * This);
  97. ULONG ( STDMETHODCALLTYPE *Release )(
  98. IDownloadManager * This);
  99. HRESULT ( STDMETHODCALLTYPE *Download )(
  100. IDownloadManager * This,
  101. /* [in] */ IMoniker *pmk,
  102. /* [in] */ IBindCtx *pbc,
  103. /* [in] */ DWORD dwBindVerb,
  104. /* [in] */ LONG grfBINDF,
  105. /* [in] */ BINDINFO *pBindInfo,
  106. /* [in] */ LPCOLESTR pszHeaders,
  107. /* [in] */ LPCOLESTR pszRedir,
  108. /* [in] */ UINT uiCP);
  109. END_INTERFACE
  110. } IDownloadManagerVtbl;
  111. interface IDownloadManager
  112. {
  113. CONST_VTBL struct IDownloadManagerVtbl *lpVtbl;
  114. };
  115. #ifdef COBJMACROS
  116. #define IDownloadManager_QueryInterface(This,riid,ppvObject) \
  117. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  118. #define IDownloadManager_AddRef(This) \
  119. (This)->lpVtbl -> AddRef(This)
  120. #define IDownloadManager_Release(This) \
  121. (This)->lpVtbl -> Release(This)
  122. #define IDownloadManager_Download(This,pmk,pbc,dwBindVerb,grfBINDF,pBindInfo,pszHeaders,pszRedir,uiCP) \
  123. (This)->lpVtbl -> Download(This,pmk,pbc,dwBindVerb,grfBINDF,pBindInfo,pszHeaders,pszRedir,uiCP)
  124. #endif /* COBJMACROS */
  125. #endif /* C style interface */
  126. HRESULT STDMETHODCALLTYPE IDownloadManager_Download_Proxy(
  127. IDownloadManager * This,
  128. /* [in] */ IMoniker *pmk,
  129. /* [in] */ IBindCtx *pbc,
  130. /* [in] */ DWORD dwBindVerb,
  131. /* [in] */ LONG grfBINDF,
  132. /* [in] */ BINDINFO *pBindInfo,
  133. /* [in] */ LPCOLESTR pszHeaders,
  134. /* [in] */ LPCOLESTR pszRedir,
  135. /* [in] */ UINT uiCP);
  136. void __RPC_STUB IDownloadManager_Download_Stub(
  137. IRpcStubBuffer *This,
  138. IRpcChannelBuffer *_pRpcChannelBuffer,
  139. PRPC_MESSAGE _pRpcMessage,
  140. DWORD *_pdwStubPhase);
  141. #endif /* __IDownloadManager_INTERFACE_DEFINED__ */
  142. /* Additional Prototypes for ALL interfaces */
  143. /* end of Additional Prototypes */
  144. #ifdef __cplusplus
  145. }
  146. #endif
  147. #endif