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.

317 lines
9.1 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 sainstallcom.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data , no_format_optimization
  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__ 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 __sainstallcom_h__
  27. #define __sainstallcom_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISaInstall_FWD_DEFINED__
  33. #define __ISaInstall_FWD_DEFINED__
  34. typedef interface ISaInstall ISaInstall;
  35. #endif /* __ISaInstall_FWD_DEFINED__ */
  36. #ifndef __SaInstall_FWD_DEFINED__
  37. #define __SaInstall_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class SaInstall SaInstall;
  40. #else
  41. typedef struct SaInstall SaInstall;
  42. #endif /* __cplusplus */
  43. #endif /* __SaInstall_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #include "ocidl.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif
  50. void * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void * );
  52. /* interface __MIDL_itf_sainstallcom_0000 */
  53. /* [local] */
  54. typedef /* [public][public][public][public] */
  55. enum __MIDL___MIDL_itf_sainstallcom_0000_0001
  56. { NAS = 0,
  57. WEB = NAS + 1,
  58. CUSTOM = WEB + 1
  59. } SA_TYPE;
  60. extern RPC_IF_HANDLE __MIDL_itf_sainstallcom_0000_v0_0_c_ifspec;
  61. extern RPC_IF_HANDLE __MIDL_itf_sainstallcom_0000_v0_0_s_ifspec;
  62. #ifndef __ISaInstall_INTERFACE_DEFINED__
  63. #define __ISaInstall_INTERFACE_DEFINED__
  64. /* interface ISaInstall */
  65. /* [unique][helpstring][dual][uuid][object] */
  66. EXTERN_C const IID IID_ISaInstall;
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68. MIDL_INTERFACE("F4DEDEF3-4D83-4516-BC1E-103A63F5F014")
  69. ISaInstall : public IDispatch
  70. {
  71. public:
  72. virtual HRESULT STDMETHODCALLTYPE SAAlreadyInstalled(
  73. /* [in] */ SA_TYPE installedType,
  74. /* [retval][out] */ VARIANT_BOOL *pbInstalled) = 0;
  75. virtual HRESULT STDMETHODCALLTYPE SAInstall(
  76. /* [in] */ SA_TYPE installType,
  77. /* [in] */ BSTR szDiskName,
  78. /* [in] */ VARIANT_BOOL DispError,
  79. /* [in] */ VARIANT_BOOL Unattended,
  80. /* [retval][out] */ BSTR *pszErrorString) = 0;
  81. virtual HRESULT STDMETHODCALLTYPE SAUninstall(
  82. /* [in] */ SA_TYPE installType,
  83. /* [retval][out] */ BSTR *pszErrorString) = 0;
  84. };
  85. #else /* C style interface */
  86. typedef struct ISaInstallVtbl
  87. {
  88. BEGIN_INTERFACE
  89. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  90. ISaInstall * This,
  91. /* [in] */ REFIID riid,
  92. /* [iid_is][out] */ void **ppvObject);
  93. ULONG ( STDMETHODCALLTYPE *AddRef )(
  94. ISaInstall * This);
  95. ULONG ( STDMETHODCALLTYPE *Release )(
  96. ISaInstall * This);
  97. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  98. ISaInstall * This,
  99. /* [out] */ UINT *pctinfo);
  100. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  101. ISaInstall * This,
  102. /* [in] */ UINT iTInfo,
  103. /* [in] */ LCID lcid,
  104. /* [out] */ ITypeInfo **ppTInfo);
  105. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  106. ISaInstall * This,
  107. /* [in] */ REFIID riid,
  108. /* [size_is][in] */ LPOLESTR *rgszNames,
  109. /* [in] */ UINT cNames,
  110. /* [in] */ LCID lcid,
  111. /* [size_is][out] */ DISPID *rgDispId);
  112. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  113. ISaInstall * This,
  114. /* [in] */ DISPID dispIdMember,
  115. /* [in] */ REFIID riid,
  116. /* [in] */ LCID lcid,
  117. /* [in] */ WORD wFlags,
  118. /* [out][in] */ DISPPARAMS *pDispParams,
  119. /* [out] */ VARIANT *pVarResult,
  120. /* [out] */ EXCEPINFO *pExcepInfo,
  121. /* [out] */ UINT *puArgErr);
  122. HRESULT ( STDMETHODCALLTYPE *SAAlreadyInstalled )(
  123. ISaInstall * This,
  124. /* [in] */ SA_TYPE installedType,
  125. /* [retval][out] */ VARIANT_BOOL *pbInstalled);
  126. HRESULT ( STDMETHODCALLTYPE *SAInstall )(
  127. ISaInstall * This,
  128. /* [in] */ SA_TYPE installType,
  129. /* [in] */ BSTR szDiskName,
  130. /* [in] */ VARIANT_BOOL DispError,
  131. /* [in] */ VARIANT_BOOL Unattended,
  132. /* [retval][out] */ BSTR *pszErrorString);
  133. HRESULT ( STDMETHODCALLTYPE *SAUninstall )(
  134. ISaInstall * This,
  135. /* [in] */ SA_TYPE installType,
  136. /* [retval][out] */ BSTR *pszErrorString);
  137. END_INTERFACE
  138. } ISaInstallVtbl;
  139. interface ISaInstall
  140. {
  141. CONST_VTBL struct ISaInstallVtbl *lpVtbl;
  142. };
  143. #ifdef COBJMACROS
  144. #define ISaInstall_QueryInterface(This,riid,ppvObject) \
  145. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  146. #define ISaInstall_AddRef(This) \
  147. (This)->lpVtbl -> AddRef(This)
  148. #define ISaInstall_Release(This) \
  149. (This)->lpVtbl -> Release(This)
  150. #define ISaInstall_GetTypeInfoCount(This,pctinfo) \
  151. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  152. #define ISaInstall_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  153. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  154. #define ISaInstall_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  155. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  156. #define ISaInstall_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  157. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  158. #define ISaInstall_SAAlreadyInstalled(This,installedType,pbInstalled) \
  159. (This)->lpVtbl -> SAAlreadyInstalled(This,installedType,pbInstalled)
  160. #define ISaInstall_SAInstall(This,installType,szDiskName,DispError,Unattended,pszErrorString) \
  161. (This)->lpVtbl -> SAInstall(This,installType,szDiskName,DispError,Unattended,pszErrorString)
  162. #define ISaInstall_SAUninstall(This,installType,pszErrorString) \
  163. (This)->lpVtbl -> SAUninstall(This,installType,pszErrorString)
  164. #endif /* COBJMACROS */
  165. #endif /* C style interface */
  166. HRESULT STDMETHODCALLTYPE ISaInstall_SAAlreadyInstalled_Proxy(
  167. ISaInstall * This,
  168. /* [in] */ SA_TYPE installedType,
  169. /* [retval][out] */ VARIANT_BOOL *pbInstalled);
  170. void __RPC_STUB ISaInstall_SAAlreadyInstalled_Stub(
  171. IRpcStubBuffer *This,
  172. IRpcChannelBuffer *_pRpcChannelBuffer,
  173. PRPC_MESSAGE _pRpcMessage,
  174. DWORD *_pdwStubPhase);
  175. HRESULT STDMETHODCALLTYPE ISaInstall_SAInstall_Proxy(
  176. ISaInstall * This,
  177. /* [in] */ SA_TYPE installType,
  178. /* [in] */ BSTR szDiskName,
  179. /* [in] */ VARIANT_BOOL DispError,
  180. /* [in] */ VARIANT_BOOL Unattended,
  181. /* [retval][out] */ BSTR *pszErrorString);
  182. void __RPC_STUB ISaInstall_SAInstall_Stub(
  183. IRpcStubBuffer *This,
  184. IRpcChannelBuffer *_pRpcChannelBuffer,
  185. PRPC_MESSAGE _pRpcMessage,
  186. DWORD *_pdwStubPhase);
  187. HRESULT STDMETHODCALLTYPE ISaInstall_SAUninstall_Proxy(
  188. ISaInstall * This,
  189. /* [in] */ SA_TYPE installType,
  190. /* [retval][out] */ BSTR *pszErrorString);
  191. void __RPC_STUB ISaInstall_SAUninstall_Stub(
  192. IRpcStubBuffer *This,
  193. IRpcChannelBuffer *_pRpcChannelBuffer,
  194. PRPC_MESSAGE _pRpcMessage,
  195. DWORD *_pdwStubPhase);
  196. #endif /* __ISaInstall_INTERFACE_DEFINED__ */
  197. #ifndef __SAINSTALLCOMLib_LIBRARY_DEFINED__
  198. #define __SAINSTALLCOMLib_LIBRARY_DEFINED__
  199. /* library SAINSTALLCOMLib */
  200. /* [helpstring][version][uuid] */
  201. EXTERN_C const IID LIBID_SAINSTALLCOMLib;
  202. EXTERN_C const CLSID CLSID_SaInstall;
  203. #ifdef __cplusplus
  204. class DECLSPEC_UUID("142B8185-53AE-45b3-888F-C9835B156CA9")
  205. SaInstall;
  206. #endif
  207. #endif /* __SAINSTALLCOMLib_LIBRARY_DEFINED__ */
  208. /* Additional Prototypes for ALL interfaces */
  209. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  210. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  211. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  212. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  213. /* end of Additional Prototypes */
  214. #ifdef __cplusplus
  215. }
  216. #endif
  217. #endif