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.

1311 lines
49 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.03.0106 */
  3. /* at Fri Aug 01 12:56:48 1997
  4. */
  5. /* Compiler settings for .\iadmw.idl:
  6. Oi (OptLev=i0), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __iadmw_h__
  24. #define __iadmw_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __IMSAdminBaseW_FWD_DEFINED__
  30. #define __IMSAdminBaseW_FWD_DEFINED__
  31. typedef interface IMSAdminBaseW IMSAdminBaseW;
  32. #endif /* __IMSAdminBaseW_FWD_DEFINED__ */
  33. #ifndef __IMSAdminBaseSinkW_FWD_DEFINED__
  34. #define __IMSAdminBaseSinkW_FWD_DEFINED__
  35. typedef interface IMSAdminBaseSinkW IMSAdminBaseSinkW;
  36. #endif /* __IMSAdminBaseSinkW_FWD_DEFINED__ */
  37. /* header files for imported files */
  38. #include "mddefw.h"
  39. #include "objidl.h"
  40. #include "ocidl.h"
  41. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  42. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  43. /****************************************
  44. * Generated header for interface: __MIDL_itf_iadmw_0000
  45. * at Fri Aug 01 12:56:48 1997
  46. * using MIDL 3.03.0106
  47. ****************************************/
  48. /* [local] */
  49. /*++
  50. Copyright (c) 1997 Microsoft Corporation
  51. Module Name: iadmw.h
  52. Admin Objects Interfaces
  53. --*/
  54. #ifndef _ADM_IADMW_
  55. #define _ADM_IADMW_
  56. #include <mdcommsg.h>
  57. #include <mdmsg.h>
  58. /*
  59. Error Codes
  60. Admin api's all return HRESULTS. Since internal results are either
  61. winerrors or Metadata specific return codes (see mdmsg.h), they are
  62. converted to HRESULTS using the RETURNCODETOHRESULT macro (see
  63. commsg.h).
  64. */
  65. /*
  66. Max Name Length
  67. The maximum number of characters in the length of a metaobject name,
  68. including the terminating NULL. This refers to each node in the tree,
  69. not the entire path.
  70. eg. strlen("Root") < ADMINDATA_MAX_NAME_LEN
  71. */
  72. #define ADMINDATA_MAX_NAME_LEN 256
  73. #define CLSID_MSAdminBase CLSID_MSAdminBase_W
  74. #define CLSID_MSAdminBaseExe CLSID_MSAdminBaseExe_W
  75. #define IID_IMSAdminBase IID_IMSAdminBase_W
  76. #define IMSAdminBase IMSAdminBaseW
  77. #define IMSAdminBaseSink IMSAdminBaseSinkW
  78. #define IID_IMSAdminBaseSink IID_IMSAdminBaseSink_W
  79. #define GETAdminBaseCLSID GETAdminBaseCLSIDW
  80. DEFINE_GUID(CLSID_MSAdminBase_W, 0xa9e69610, 0xb80d, 0x11d0, 0xb9, 0xb9, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x50);
  81. DEFINE_GUID(IID_IMSAdminBase_W, 0x70b51430, 0xb6ca, 0x11d0, 0xb9, 0xb9, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x50);
  82. DEFINE_GUID(CLSID_MSAdminBaseExe_W, 0xa9e69611, 0xb80d, 0x11d0, 0xb9, 0xb9, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x50);
  83. DEFINE_GUID(IID_IMSAdminBaseSink_W, 0xa9e69612, 0xb80d, 0x11d0, 0xb9, 0xb9, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x50);
  84. #define GETAdminBaseCLSIDW(IsService) ((IsService) ? CLSID_MSAdminBase_W : CLSID_MSAdminBaseExe_W)
  85. /*
  86. The Main Interface, UNICODE
  87. */
  88. extern RPC_IF_HANDLE __MIDL_itf_iadmw_0000_v0_0_c_ifspec;
  89. extern RPC_IF_HANDLE __MIDL_itf_iadmw_0000_v0_0_s_ifspec;
  90. #ifndef __IMSAdminBaseW_INTERFACE_DEFINED__
  91. #define __IMSAdminBaseW_INTERFACE_DEFINED__
  92. /****************************************
  93. * Generated header for interface: IMSAdminBaseW
  94. * at Fri Aug 01 12:56:48 1997
  95. * using MIDL 3.03.0106
  96. ****************************************/
  97. /* [unique][uuid][object] */
  98. EXTERN_C const IID IID_IMSAdminBaseW;
  99. #if defined(__cplusplus) && !defined(CINTERFACE)
  100. MIDL_INTERFACE("70B51430-B6CA-11d0-B9B9-00A0C922E750")
  101. IMSAdminBaseW : public IUnknown
  102. {
  103. public:
  104. virtual HRESULT STDMETHODCALLTYPE AddKey(
  105. /* [in] */ METADATA_HANDLE hMDHandle,
  106. /* [string][in][unique] */ LPCWSTR pszMDPath) = 0;
  107. virtual HRESULT STDMETHODCALLTYPE DeleteKey(
  108. /* [in] */ METADATA_HANDLE hMDHandle,
  109. /* [string][in][unique] */ LPCWSTR pszMDPath) = 0;
  110. virtual HRESULT STDMETHODCALLTYPE DeleteChildKeys(
  111. /* [in] */ METADATA_HANDLE hMDHandle,
  112. /* [string][in][unique] */ LPCWSTR pszMDPath) = 0;
  113. virtual HRESULT STDMETHODCALLTYPE EnumKeys(
  114. /* [in] */ METADATA_HANDLE hMDHandle,
  115. /* [string][in][unique] */ LPCWSTR pszMDPath,
  116. /* [size_is][out] */ LPWSTR pszMDName,
  117. /* [in] */ DWORD dwMDEnumObjectIndex) = 0;
  118. virtual HRESULT STDMETHODCALLTYPE CopyKey(
  119. /* [in] */ METADATA_HANDLE hMDSourceHandle,
  120. /* [string][in][unique] */ LPCWSTR pszMDSourcePath,
  121. /* [in] */ METADATA_HANDLE hMDDestHandle,
  122. /* [string][in][unique] */ LPCWSTR pszMDDestPath,
  123. /* [in] */ BOOL bMDOverwriteFlag,
  124. /* [in] */ BOOL bMDCopyFlag) = 0;
  125. virtual HRESULT STDMETHODCALLTYPE RenameKey(
  126. /* [in] */ METADATA_HANDLE hMDHandle,
  127. /* [string][in][unique] */ LPCWSTR pszMDPath,
  128. /* [string][in][unique] */ LPCWSTR pszMDNewName) = 0;
  129. virtual /* [local] */ HRESULT STDMETHODCALLTYPE SetData(
  130. /* [in] */ METADATA_HANDLE hMDHandle,
  131. /* [string][in][unique] */ LPCWSTR pszMDPath,
  132. /* [in] */ PMETADATA_RECORD pmdrMDData) = 0;
  133. virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetData(
  134. /* [in] */ METADATA_HANDLE hMDHandle,
  135. /* [string][in][unique] */ LPCWSTR pszMDPath,
  136. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  137. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen) = 0;
  138. virtual HRESULT STDMETHODCALLTYPE DeleteData(
  139. /* [in] */ METADATA_HANDLE hMDHandle,
  140. /* [string][in][unique] */ LPCWSTR pszMDPath,
  141. /* [in] */ DWORD dwMDIdentifier,
  142. /* [in] */ DWORD dwMDDataType) = 0;
  143. virtual /* [local] */ HRESULT STDMETHODCALLTYPE EnumData(
  144. /* [in] */ METADATA_HANDLE hMDHandle,
  145. /* [string][in][unique] */ LPCWSTR pszMDPath,
  146. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  147. /* [in] */ DWORD dwMDEnumDataIndex,
  148. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen) = 0;
  149. virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetAllData(
  150. /* [in] */ METADATA_HANDLE hMDHandle,
  151. /* [string][in][unique] */ LPCWSTR pszMDPath,
  152. /* [in] */ DWORD dwMDAttributes,
  153. /* [in] */ DWORD dwMDUserType,
  154. /* [in] */ DWORD dwMDDataType,
  155. /* [out] */ DWORD __RPC_FAR *pdwMDNumDataEntries,
  156. /* [out] */ DWORD __RPC_FAR *pdwMDDataSetNumber,
  157. /* [in] */ DWORD dwMDBufferSize,
  158. /* [size_is][out] */ unsigned char __RPC_FAR *pbMDBuffer,
  159. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredBufferSize) = 0;
  160. virtual HRESULT STDMETHODCALLTYPE DeleteAllData(
  161. /* [in] */ METADATA_HANDLE hMDHandle,
  162. /* [string][in][unique] */ LPCWSTR pszMDPath,
  163. /* [in] */ DWORD dwMDUserType,
  164. /* [in] */ DWORD dwMDDataType) = 0;
  165. virtual HRESULT STDMETHODCALLTYPE CopyData(
  166. /* [in] */ METADATA_HANDLE hMDSourceHandle,
  167. /* [string][in][unique] */ LPCWSTR pszMDSourcePath,
  168. /* [in] */ METADATA_HANDLE hMDDestHandle,
  169. /* [string][in][unique] */ LPCWSTR pszMDDestPath,
  170. /* [in] */ DWORD dwMDAttributes,
  171. /* [in] */ DWORD dwMDUserType,
  172. /* [in] */ DWORD dwMDDataType,
  173. /* [in] */ BOOL bMDCopyFlag) = 0;
  174. virtual HRESULT STDMETHODCALLTYPE GetDataPaths(
  175. /* [in] */ METADATA_HANDLE hMDHandle,
  176. /* [string][in][unique] */ LPCWSTR pszMDPath,
  177. /* [in] */ DWORD dwMDIdentifier,
  178. /* [in] */ DWORD dwMDDataType,
  179. /* [in] */ DWORD dwMDBufferSize,
  180. /* [size_is][out] */ WCHAR __RPC_FAR *pszBuffer,
  181. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredBufferSize) = 0;
  182. virtual HRESULT STDMETHODCALLTYPE OpenKey(
  183. /* [in] */ METADATA_HANDLE hMDHandle,
  184. /* [string][in][unique] */ LPCWSTR pszMDPath,
  185. /* [in] */ DWORD dwMDAccessRequested,
  186. /* [in] */ DWORD dwMDTimeOut,
  187. /* [out] */ PMETADATA_HANDLE phMDNewHandle) = 0;
  188. virtual HRESULT STDMETHODCALLTYPE CloseKey(
  189. /* [in] */ METADATA_HANDLE hMDHandle) = 0;
  190. virtual HRESULT STDMETHODCALLTYPE ChangePermissions(
  191. /* [in] */ METADATA_HANDLE hMDHandle,
  192. /* [in] */ DWORD dwMDTimeOut,
  193. /* [in] */ DWORD dwMDAccessRequested) = 0;
  194. virtual HRESULT STDMETHODCALLTYPE SaveData( void) = 0;
  195. virtual HRESULT STDMETHODCALLTYPE GetHandleInfo(
  196. /* [in] */ METADATA_HANDLE hMDHandle,
  197. /* [out] */ PMETADATA_HANDLE_INFO pmdhiInfo) = 0;
  198. virtual HRESULT STDMETHODCALLTYPE GetSystemChangeNumber(
  199. /* [out] */ DWORD __RPC_FAR *pdwSystemChangeNumber) = 0;
  200. virtual HRESULT STDMETHODCALLTYPE GetDataSetNumber(
  201. /* [in] */ METADATA_HANDLE hMDHandle,
  202. /* [string][in][unique] */ LPCWSTR pszMDPath,
  203. /* [out] */ DWORD __RPC_FAR *pdwMDDataSetNumber) = 0;
  204. virtual HRESULT STDMETHODCALLTYPE SetLastChangeTime(
  205. /* [in] */ METADATA_HANDLE hMDHandle,
  206. /* [string][in][unique] */ LPCWSTR pszMDPath,
  207. /* [in] */ PFILETIME pftMDLastChangeTime,
  208. /* [in] */ BOOL bLocalTime) = 0;
  209. virtual HRESULT STDMETHODCALLTYPE GetLastChangeTime(
  210. /* [in] */ METADATA_HANDLE hMDHandle,
  211. /* [string][in][unique] */ LPCWSTR pszMDPath,
  212. /* [out] */ PFILETIME pftMDLastChangeTime,
  213. /* [in] */ BOOL bLocalTime) = 0;
  214. virtual /* [restricted][local] */ HRESULT STDMETHODCALLTYPE KeyExchangePhase1( void) = 0;
  215. virtual /* [restricted][local] */ HRESULT STDMETHODCALLTYPE KeyExchangePhase2( void) = 0;
  216. virtual HRESULT STDMETHODCALLTYPE Backup(
  217. /* [string][in][unique] */ LPCWSTR pszMDBackupLocation,
  218. /* [in] */ DWORD dwMDVersion,
  219. /* [in] */ DWORD dwMDFlags) = 0;
  220. virtual HRESULT STDMETHODCALLTYPE Restore(
  221. /* [string][in][unique] */ LPCWSTR pszMDBackupLocation,
  222. /* [in] */ DWORD dwMDVersion,
  223. /* [in] */ DWORD dwMDFlags) = 0;
  224. virtual HRESULT STDMETHODCALLTYPE EnumBackups(
  225. /* [size_is][out][in] */ LPWSTR pszMDBackupLocation,
  226. /* [out] */ DWORD __RPC_FAR *pdwMDVersion,
  227. /* [out] */ PFILETIME pftMDBackupTime,
  228. /* [in] */ DWORD dwMDEnumIndex) = 0;
  229. virtual HRESULT STDMETHODCALLTYPE DeleteBackup(
  230. /* [string][in][unique] */ LPCWSTR pszMDBackupLocation,
  231. /* [in] */ DWORD dwMDVersion) = 0;
  232. virtual HRESULT STDMETHODCALLTYPE UnmarshalInterface(
  233. /* [out] */ IMSAdminBaseW __RPC_FAR *__RPC_FAR *piadmbwInterface) = 0;
  234. };
  235. #else /* C style interface */
  236. typedef struct IMSAdminBaseWVtbl
  237. {
  238. BEGIN_INTERFACE
  239. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  240. IMSAdminBaseW __RPC_FAR * This,
  241. /* [in] */ REFIID riid,
  242. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  243. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  244. IMSAdminBaseW __RPC_FAR * This);
  245. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  246. IMSAdminBaseW __RPC_FAR * This);
  247. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddKey )(
  248. IMSAdminBaseW __RPC_FAR * This,
  249. /* [in] */ METADATA_HANDLE hMDHandle,
  250. /* [string][in][unique] */ LPCWSTR pszMDPath);
  251. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteKey )(
  252. IMSAdminBaseW __RPC_FAR * This,
  253. /* [in] */ METADATA_HANDLE hMDHandle,
  254. /* [string][in][unique] */ LPCWSTR pszMDPath);
  255. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteChildKeys )(
  256. IMSAdminBaseW __RPC_FAR * This,
  257. /* [in] */ METADATA_HANDLE hMDHandle,
  258. /* [string][in][unique] */ LPCWSTR pszMDPath);
  259. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumKeys )(
  260. IMSAdminBaseW __RPC_FAR * This,
  261. /* [in] */ METADATA_HANDLE hMDHandle,
  262. /* [string][in][unique] */ LPCWSTR pszMDPath,
  263. /* [size_is][out] */ LPWSTR pszMDName,
  264. /* [in] */ DWORD dwMDEnumObjectIndex);
  265. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CopyKey )(
  266. IMSAdminBaseW __RPC_FAR * This,
  267. /* [in] */ METADATA_HANDLE hMDSourceHandle,
  268. /* [string][in][unique] */ LPCWSTR pszMDSourcePath,
  269. /* [in] */ METADATA_HANDLE hMDDestHandle,
  270. /* [string][in][unique] */ LPCWSTR pszMDDestPath,
  271. /* [in] */ BOOL bMDOverwriteFlag,
  272. /* [in] */ BOOL bMDCopyFlag);
  273. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenameKey )(
  274. IMSAdminBaseW __RPC_FAR * This,
  275. /* [in] */ METADATA_HANDLE hMDHandle,
  276. /* [string][in][unique] */ LPCWSTR pszMDPath,
  277. /* [string][in][unique] */ LPCWSTR pszMDNewName);
  278. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetData )(
  279. IMSAdminBaseW __RPC_FAR * This,
  280. /* [in] */ METADATA_HANDLE hMDHandle,
  281. /* [string][in][unique] */ LPCWSTR pszMDPath,
  282. /* [in] */ PMETADATA_RECORD pmdrMDData);
  283. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetData )(
  284. IMSAdminBaseW __RPC_FAR * This,
  285. /* [in] */ METADATA_HANDLE hMDHandle,
  286. /* [string][in][unique] */ LPCWSTR pszMDPath,
  287. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  288. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen);
  289. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteData )(
  290. IMSAdminBaseW __RPC_FAR * This,
  291. /* [in] */ METADATA_HANDLE hMDHandle,
  292. /* [string][in][unique] */ LPCWSTR pszMDPath,
  293. /* [in] */ DWORD dwMDIdentifier,
  294. /* [in] */ DWORD dwMDDataType);
  295. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumData )(
  296. IMSAdminBaseW __RPC_FAR * This,
  297. /* [in] */ METADATA_HANDLE hMDHandle,
  298. /* [string][in][unique] */ LPCWSTR pszMDPath,
  299. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  300. /* [in] */ DWORD dwMDEnumDataIndex,
  301. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen);
  302. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAllData )(
  303. IMSAdminBaseW __RPC_FAR * This,
  304. /* [in] */ METADATA_HANDLE hMDHandle,
  305. /* [string][in][unique] */ LPCWSTR pszMDPath,
  306. /* [in] */ DWORD dwMDAttributes,
  307. /* [in] */ DWORD dwMDUserType,
  308. /* [in] */ DWORD dwMDDataType,
  309. /* [out] */ DWORD __RPC_FAR *pdwMDNumDataEntries,
  310. /* [out] */ DWORD __RPC_FAR *pdwMDDataSetNumber,
  311. /* [in] */ DWORD dwMDBufferSize,
  312. /* [size_is][out] */ unsigned char __RPC_FAR *pbMDBuffer,
  313. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredBufferSize);
  314. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteAllData )(
  315. IMSAdminBaseW __RPC_FAR * This,
  316. /* [in] */ METADATA_HANDLE hMDHandle,
  317. /* [string][in][unique] */ LPCWSTR pszMDPath,
  318. /* [in] */ DWORD dwMDUserType,
  319. /* [in] */ DWORD dwMDDataType);
  320. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CopyData )(
  321. IMSAdminBaseW __RPC_FAR * This,
  322. /* [in] */ METADATA_HANDLE hMDSourceHandle,
  323. /* [string][in][unique] */ LPCWSTR pszMDSourcePath,
  324. /* [in] */ METADATA_HANDLE hMDDestHandle,
  325. /* [string][in][unique] */ LPCWSTR pszMDDestPath,
  326. /* [in] */ DWORD dwMDAttributes,
  327. /* [in] */ DWORD dwMDUserType,
  328. /* [in] */ DWORD dwMDDataType,
  329. /* [in] */ BOOL bMDCopyFlag);
  330. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDataPaths )(
  331. IMSAdminBaseW __RPC_FAR * This,
  332. /* [in] */ METADATA_HANDLE hMDHandle,
  333. /* [string][in][unique] */ LPCWSTR pszMDPath,
  334. /* [in] */ DWORD dwMDIdentifier,
  335. /* [in] */ DWORD dwMDDataType,
  336. /* [in] */ DWORD dwMDBufferSize,
  337. /* [size_is][out] */ WCHAR __RPC_FAR *pszBuffer,
  338. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredBufferSize);
  339. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OpenKey )(
  340. IMSAdminBaseW __RPC_FAR * This,
  341. /* [in] */ METADATA_HANDLE hMDHandle,
  342. /* [string][in][unique] */ LPCWSTR pszMDPath,
  343. /* [in] */ DWORD dwMDAccessRequested,
  344. /* [in] */ DWORD dwMDTimeOut,
  345. /* [out] */ PMETADATA_HANDLE phMDNewHandle);
  346. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CloseKey )(
  347. IMSAdminBaseW __RPC_FAR * This,
  348. /* [in] */ METADATA_HANDLE hMDHandle);
  349. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChangePermissions )(
  350. IMSAdminBaseW __RPC_FAR * This,
  351. /* [in] */ METADATA_HANDLE hMDHandle,
  352. /* [in] */ DWORD dwMDTimeOut,
  353. /* [in] */ DWORD dwMDAccessRequested);
  354. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SaveData )(
  355. IMSAdminBaseW __RPC_FAR * This);
  356. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHandleInfo )(
  357. IMSAdminBaseW __RPC_FAR * This,
  358. /* [in] */ METADATA_HANDLE hMDHandle,
  359. /* [out] */ PMETADATA_HANDLE_INFO pmdhiInfo);
  360. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSystemChangeNumber )(
  361. IMSAdminBaseW __RPC_FAR * This,
  362. /* [out] */ DWORD __RPC_FAR *pdwSystemChangeNumber);
  363. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDataSetNumber )(
  364. IMSAdminBaseW __RPC_FAR * This,
  365. /* [in] */ METADATA_HANDLE hMDHandle,
  366. /* [string][in][unique] */ LPCWSTR pszMDPath,
  367. /* [out] */ DWORD __RPC_FAR *pdwMDDataSetNumber);
  368. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLastChangeTime )(
  369. IMSAdminBaseW __RPC_FAR * This,
  370. /* [in] */ METADATA_HANDLE hMDHandle,
  371. /* [string][in][unique] */ LPCWSTR pszMDPath,
  372. /* [in] */ PFILETIME pftMDLastChangeTime,
  373. /* [in] */ BOOL bLocalTime);
  374. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLastChangeTime )(
  375. IMSAdminBaseW __RPC_FAR * This,
  376. /* [in] */ METADATA_HANDLE hMDHandle,
  377. /* [string][in][unique] */ LPCWSTR pszMDPath,
  378. /* [out] */ PFILETIME pftMDLastChangeTime,
  379. /* [in] */ BOOL bLocalTime);
  380. /* [restricted][local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *KeyExchangePhase1 )(
  381. IMSAdminBaseW __RPC_FAR * This);
  382. /* [restricted][local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *KeyExchangePhase2 )(
  383. IMSAdminBaseW __RPC_FAR * This);
  384. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Backup )(
  385. IMSAdminBaseW __RPC_FAR * This,
  386. /* [string][in][unique] */ LPCWSTR pszMDBackupLocation,
  387. /* [in] */ DWORD dwMDVersion,
  388. /* [in] */ DWORD dwMDFlags);
  389. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Restore )(
  390. IMSAdminBaseW __RPC_FAR * This,
  391. /* [string][in][unique] */ LPCWSTR pszMDBackupLocation,
  392. /* [in] */ DWORD dwMDVersion,
  393. /* [in] */ DWORD dwMDFlags);
  394. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumBackups )(
  395. IMSAdminBaseW __RPC_FAR * This,
  396. /* [size_is][out][in] */ LPWSTR pszMDBackupLocation,
  397. /* [out] */ DWORD __RPC_FAR *pdwMDVersion,
  398. /* [out] */ PFILETIME pftMDBackupTime,
  399. /* [in] */ DWORD dwMDEnumIndex);
  400. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteBackup )(
  401. IMSAdminBaseW __RPC_FAR * This,
  402. /* [string][in][unique] */ LPCWSTR pszMDBackupLocation,
  403. /* [in] */ DWORD dwMDVersion);
  404. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnmarshalInterface )(
  405. IMSAdminBaseW __RPC_FAR * This,
  406. /* [out] */ IMSAdminBaseW __RPC_FAR *__RPC_FAR *piadmbwInterface);
  407. END_INTERFACE
  408. } IMSAdminBaseWVtbl;
  409. interface IMSAdminBaseW
  410. {
  411. CONST_VTBL struct IMSAdminBaseWVtbl __RPC_FAR *lpVtbl;
  412. };
  413. #ifdef COBJMACROS
  414. #define IMSAdminBaseW_QueryInterface(This,riid,ppvObject) \
  415. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  416. #define IMSAdminBaseW_AddRef(This) \
  417. (This)->lpVtbl -> AddRef(This)
  418. #define IMSAdminBaseW_Release(This) \
  419. (This)->lpVtbl -> Release(This)
  420. #define IMSAdminBaseW_AddKey(This,hMDHandle,pszMDPath) \
  421. (This)->lpVtbl -> AddKey(This,hMDHandle,pszMDPath)
  422. #define IMSAdminBaseW_DeleteKey(This,hMDHandle,pszMDPath) \
  423. (This)->lpVtbl -> DeleteKey(This,hMDHandle,pszMDPath)
  424. #define IMSAdminBaseW_DeleteChildKeys(This,hMDHandle,pszMDPath) \
  425. (This)->lpVtbl -> DeleteChildKeys(This,hMDHandle,pszMDPath)
  426. #define IMSAdminBaseW_EnumKeys(This,hMDHandle,pszMDPath,pszMDName,dwMDEnumObjectIndex) \
  427. (This)->lpVtbl -> EnumKeys(This,hMDHandle,pszMDPath,pszMDName,dwMDEnumObjectIndex)
  428. #define IMSAdminBaseW_CopyKey(This,hMDSourceHandle,pszMDSourcePath,hMDDestHandle,pszMDDestPath,bMDOverwriteFlag,bMDCopyFlag) \
  429. (This)->lpVtbl -> CopyKey(This,hMDSourceHandle,pszMDSourcePath,hMDDestHandle,pszMDDestPath,bMDOverwriteFlag,bMDCopyFlag)
  430. #define IMSAdminBaseW_RenameKey(This,hMDHandle,pszMDPath,pszMDNewName) \
  431. (This)->lpVtbl -> RenameKey(This,hMDHandle,pszMDPath,pszMDNewName)
  432. #define IMSAdminBaseW_SetData(This,hMDHandle,pszMDPath,pmdrMDData) \
  433. (This)->lpVtbl -> SetData(This,hMDHandle,pszMDPath,pmdrMDData)
  434. #define IMSAdminBaseW_GetData(This,hMDHandle,pszMDPath,pmdrMDData,pdwMDRequiredDataLen) \
  435. (This)->lpVtbl -> GetData(This,hMDHandle,pszMDPath,pmdrMDData,pdwMDRequiredDataLen)
  436. #define IMSAdminBaseW_DeleteData(This,hMDHandle,pszMDPath,dwMDIdentifier,dwMDDataType) \
  437. (This)->lpVtbl -> DeleteData(This,hMDHandle,pszMDPath,dwMDIdentifier,dwMDDataType)
  438. #define IMSAdminBaseW_EnumData(This,hMDHandle,pszMDPath,pmdrMDData,dwMDEnumDataIndex,pdwMDRequiredDataLen) \
  439. (This)->lpVtbl -> EnumData(This,hMDHandle,pszMDPath,pmdrMDData,dwMDEnumDataIndex,pdwMDRequiredDataLen)
  440. #define IMSAdminBaseW_GetAllData(This,hMDHandle,pszMDPath,dwMDAttributes,dwMDUserType,dwMDDataType,pdwMDNumDataEntries,pdwMDDataSetNumber,dwMDBufferSize,pbMDBuffer,pdwMDRequiredBufferSize) \
  441. (This)->lpVtbl -> GetAllData(This,hMDHandle,pszMDPath,dwMDAttributes,dwMDUserType,dwMDDataType,pdwMDNumDataEntries,pdwMDDataSetNumber,dwMDBufferSize,pbMDBuffer,pdwMDRequiredBufferSize)
  442. #define IMSAdminBaseW_DeleteAllData(This,hMDHandle,pszMDPath,dwMDUserType,dwMDDataType) \
  443. (This)->lpVtbl -> DeleteAllData(This,hMDHandle,pszMDPath,dwMDUserType,dwMDDataType)
  444. #define IMSAdminBaseW_CopyData(This,hMDSourceHandle,pszMDSourcePath,hMDDestHandle,pszMDDestPath,dwMDAttributes,dwMDUserType,dwMDDataType,bMDCopyFlag) \
  445. (This)->lpVtbl -> CopyData(This,hMDSourceHandle,pszMDSourcePath,hMDDestHandle,pszMDDestPath,dwMDAttributes,dwMDUserType,dwMDDataType,bMDCopyFlag)
  446. #define IMSAdminBaseW_GetDataPaths(This,hMDHandle,pszMDPath,dwMDIdentifier,dwMDDataType,dwMDBufferSize,pszBuffer,pdwMDRequiredBufferSize) \
  447. (This)->lpVtbl -> GetDataPaths(This,hMDHandle,pszMDPath,dwMDIdentifier,dwMDDataType,dwMDBufferSize,pszBuffer,pdwMDRequiredBufferSize)
  448. #define IMSAdminBaseW_OpenKey(This,hMDHandle,pszMDPath,dwMDAccessRequested,dwMDTimeOut,phMDNewHandle) \
  449. (This)->lpVtbl -> OpenKey(This,hMDHandle,pszMDPath,dwMDAccessRequested,dwMDTimeOut,phMDNewHandle)
  450. #define IMSAdminBaseW_CloseKey(This,hMDHandle) \
  451. (This)->lpVtbl -> CloseKey(This,hMDHandle)
  452. #define IMSAdminBaseW_ChangePermissions(This,hMDHandle,dwMDTimeOut,dwMDAccessRequested) \
  453. (This)->lpVtbl -> ChangePermissions(This,hMDHandle,dwMDTimeOut,dwMDAccessRequested)
  454. #define IMSAdminBaseW_SaveData(This) \
  455. (This)->lpVtbl -> SaveData(This)
  456. #define IMSAdminBaseW_GetHandleInfo(This,hMDHandle,pmdhiInfo) \
  457. (This)->lpVtbl -> GetHandleInfo(This,hMDHandle,pmdhiInfo)
  458. #define IMSAdminBaseW_GetSystemChangeNumber(This,pdwSystemChangeNumber) \
  459. (This)->lpVtbl -> GetSystemChangeNumber(This,pdwSystemChangeNumber)
  460. #define IMSAdminBaseW_GetDataSetNumber(This,hMDHandle,pszMDPath,pdwMDDataSetNumber) \
  461. (This)->lpVtbl -> GetDataSetNumber(This,hMDHandle,pszMDPath,pdwMDDataSetNumber)
  462. #define IMSAdminBaseW_SetLastChangeTime(This,hMDHandle,pszMDPath,pftMDLastChangeTime,bLocalTime) \
  463. (This)->lpVtbl -> SetLastChangeTime(This,hMDHandle,pszMDPath,pftMDLastChangeTime,bLocalTime)
  464. #define IMSAdminBaseW_GetLastChangeTime(This,hMDHandle,pszMDPath,pftMDLastChangeTime,bLocalTime) \
  465. (This)->lpVtbl -> GetLastChangeTime(This,hMDHandle,pszMDPath,pftMDLastChangeTime,bLocalTime)
  466. #define IMSAdminBaseW_KeyExchangePhase1(This) \
  467. (This)->lpVtbl -> KeyExchangePhase1(This)
  468. #define IMSAdminBaseW_KeyExchangePhase2(This) \
  469. (This)->lpVtbl -> KeyExchangePhase2(This)
  470. #define IMSAdminBaseW_Backup(This,pszMDBackupLocation,dwMDVersion,dwMDFlags) \
  471. (This)->lpVtbl -> Backup(This,pszMDBackupLocation,dwMDVersion,dwMDFlags)
  472. #define IMSAdminBaseW_Restore(This,pszMDBackupLocation,dwMDVersion,dwMDFlags) \
  473. (This)->lpVtbl -> Restore(This,pszMDBackupLocation,dwMDVersion,dwMDFlags)
  474. #define IMSAdminBaseW_EnumBackups(This,pszMDBackupLocation,pdwMDVersion,pftMDBackupTime,dwMDEnumIndex) \
  475. (This)->lpVtbl -> EnumBackups(This,pszMDBackupLocation,pdwMDVersion,pftMDBackupTime,dwMDEnumIndex)
  476. #define IMSAdminBaseW_DeleteBackup(This,pszMDBackupLocation,dwMDVersion) \
  477. (This)->lpVtbl -> DeleteBackup(This,pszMDBackupLocation,dwMDVersion)
  478. #define IMSAdminBaseW_UnmarshalInterface(This,piadmbwInterface) \
  479. (This)->lpVtbl -> UnmarshalInterface(This,piadmbwInterface)
  480. #endif /* COBJMACROS */
  481. #endif /* C style interface */
  482. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_AddKey_Proxy(
  483. IMSAdminBaseW __RPC_FAR * This,
  484. /* [in] */ METADATA_HANDLE hMDHandle,
  485. /* [string][in][unique] */ LPCWSTR pszMDPath);
  486. void __RPC_STUB IMSAdminBaseW_AddKey_Stub(
  487. IRpcStubBuffer *This,
  488. IRpcChannelBuffer *_pRpcChannelBuffer,
  489. PRPC_MESSAGE _pRpcMessage,
  490. DWORD *_pdwStubPhase);
  491. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_DeleteKey_Proxy(
  492. IMSAdminBaseW __RPC_FAR * This,
  493. /* [in] */ METADATA_HANDLE hMDHandle,
  494. /* [string][in][unique] */ LPCWSTR pszMDPath);
  495. void __RPC_STUB IMSAdminBaseW_DeleteKey_Stub(
  496. IRpcStubBuffer *This,
  497. IRpcChannelBuffer *_pRpcChannelBuffer,
  498. PRPC_MESSAGE _pRpcMessage,
  499. DWORD *_pdwStubPhase);
  500. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_DeleteChildKeys_Proxy(
  501. IMSAdminBaseW __RPC_FAR * This,
  502. /* [in] */ METADATA_HANDLE hMDHandle,
  503. /* [string][in][unique] */ LPCWSTR pszMDPath);
  504. void __RPC_STUB IMSAdminBaseW_DeleteChildKeys_Stub(
  505. IRpcStubBuffer *This,
  506. IRpcChannelBuffer *_pRpcChannelBuffer,
  507. PRPC_MESSAGE _pRpcMessage,
  508. DWORD *_pdwStubPhase);
  509. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_EnumKeys_Proxy(
  510. IMSAdminBaseW __RPC_FAR * This,
  511. /* [in] */ METADATA_HANDLE hMDHandle,
  512. /* [string][in][unique] */ LPCWSTR pszMDPath,
  513. /* [size_is][out] */ LPWSTR pszMDName,
  514. /* [in] */ DWORD dwMDEnumObjectIndex);
  515. void __RPC_STUB IMSAdminBaseW_EnumKeys_Stub(
  516. IRpcStubBuffer *This,
  517. IRpcChannelBuffer *_pRpcChannelBuffer,
  518. PRPC_MESSAGE _pRpcMessage,
  519. DWORD *_pdwStubPhase);
  520. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_CopyKey_Proxy(
  521. IMSAdminBaseW __RPC_FAR * This,
  522. /* [in] */ METADATA_HANDLE hMDSourceHandle,
  523. /* [string][in][unique] */ LPCWSTR pszMDSourcePath,
  524. /* [in] */ METADATA_HANDLE hMDDestHandle,
  525. /* [string][in][unique] */ LPCWSTR pszMDDestPath,
  526. /* [in] */ BOOL bMDOverwriteFlag,
  527. /* [in] */ BOOL bMDCopyFlag);
  528. void __RPC_STUB IMSAdminBaseW_CopyKey_Stub(
  529. IRpcStubBuffer *This,
  530. IRpcChannelBuffer *_pRpcChannelBuffer,
  531. PRPC_MESSAGE _pRpcMessage,
  532. DWORD *_pdwStubPhase);
  533. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_RenameKey_Proxy(
  534. IMSAdminBaseW __RPC_FAR * This,
  535. /* [in] */ METADATA_HANDLE hMDHandle,
  536. /* [string][in][unique] */ LPCWSTR pszMDPath,
  537. /* [string][in][unique] */ LPCWSTR pszMDNewName);
  538. void __RPC_STUB IMSAdminBaseW_RenameKey_Stub(
  539. IRpcStubBuffer *This,
  540. IRpcChannelBuffer *_pRpcChannelBuffer,
  541. PRPC_MESSAGE _pRpcMessage,
  542. DWORD *_pdwStubPhase);
  543. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_R_SetData_Proxy(
  544. IMSAdminBaseW __RPC_FAR * This,
  545. /* [in] */ METADATA_HANDLE hMDHandle,
  546. /* [string][in][unique] */ LPCWSTR pszMDPath,
  547. /* [in] */ PMETADATA_RECORD pmdrMDData);
  548. void __RPC_STUB IMSAdminBaseW_R_SetData_Stub(
  549. IRpcStubBuffer *This,
  550. IRpcChannelBuffer *_pRpcChannelBuffer,
  551. PRPC_MESSAGE _pRpcMessage,
  552. DWORD *_pdwStubPhase);
  553. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_R_GetData_Proxy(
  554. IMSAdminBaseW __RPC_FAR * This,
  555. /* [in] */ METADATA_HANDLE hMDHandle,
  556. /* [string][in][unique] */ LPCWSTR pszMDPath,
  557. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  558. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen,
  559. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppDataBlob);
  560. void __RPC_STUB IMSAdminBaseW_R_GetData_Stub(
  561. IRpcStubBuffer *This,
  562. IRpcChannelBuffer *_pRpcChannelBuffer,
  563. PRPC_MESSAGE _pRpcMessage,
  564. DWORD *_pdwStubPhase);
  565. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_DeleteData_Proxy(
  566. IMSAdminBaseW __RPC_FAR * This,
  567. /* [in] */ METADATA_HANDLE hMDHandle,
  568. /* [string][in][unique] */ LPCWSTR pszMDPath,
  569. /* [in] */ DWORD dwMDIdentifier,
  570. /* [in] */ DWORD dwMDDataType);
  571. void __RPC_STUB IMSAdminBaseW_DeleteData_Stub(
  572. IRpcStubBuffer *This,
  573. IRpcChannelBuffer *_pRpcChannelBuffer,
  574. PRPC_MESSAGE _pRpcMessage,
  575. DWORD *_pdwStubPhase);
  576. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_R_EnumData_Proxy(
  577. IMSAdminBaseW __RPC_FAR * This,
  578. /* [in] */ METADATA_HANDLE hMDHandle,
  579. /* [string][in][unique] */ LPCWSTR pszMDPath,
  580. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  581. /* [in] */ DWORD dwMDEnumDataIndex,
  582. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen,
  583. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppDataBlob);
  584. void __RPC_STUB IMSAdminBaseW_R_EnumData_Stub(
  585. IRpcStubBuffer *This,
  586. IRpcChannelBuffer *_pRpcChannelBuffer,
  587. PRPC_MESSAGE _pRpcMessage,
  588. DWORD *_pdwStubPhase);
  589. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_R_GetAllData_Proxy(
  590. IMSAdminBaseW __RPC_FAR * This,
  591. /* [in] */ METADATA_HANDLE hMDHandle,
  592. /* [string][in][unique] */ LPCWSTR pszMDPath,
  593. /* [in] */ DWORD dwMDAttributes,
  594. /* [in] */ DWORD dwMDUserType,
  595. /* [in] */ DWORD dwMDDataType,
  596. /* [out] */ DWORD __RPC_FAR *pdwMDNumDataEntries,
  597. /* [out] */ DWORD __RPC_FAR *pdwMDDataSetNumber,
  598. /* [in] */ DWORD dwMDBufferSize,
  599. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredBufferSize,
  600. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppDataBlob);
  601. void __RPC_STUB IMSAdminBaseW_R_GetAllData_Stub(
  602. IRpcStubBuffer *This,
  603. IRpcChannelBuffer *_pRpcChannelBuffer,
  604. PRPC_MESSAGE _pRpcMessage,
  605. DWORD *_pdwStubPhase);
  606. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_DeleteAllData_Proxy(
  607. IMSAdminBaseW __RPC_FAR * This,
  608. /* [in] */ METADATA_HANDLE hMDHandle,
  609. /* [string][in][unique] */ LPCWSTR pszMDPath,
  610. /* [in] */ DWORD dwMDUserType,
  611. /* [in] */ DWORD dwMDDataType);
  612. void __RPC_STUB IMSAdminBaseW_DeleteAllData_Stub(
  613. IRpcStubBuffer *This,
  614. IRpcChannelBuffer *_pRpcChannelBuffer,
  615. PRPC_MESSAGE _pRpcMessage,
  616. DWORD *_pdwStubPhase);
  617. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_CopyData_Proxy(
  618. IMSAdminBaseW __RPC_FAR * This,
  619. /* [in] */ METADATA_HANDLE hMDSourceHandle,
  620. /* [string][in][unique] */ LPCWSTR pszMDSourcePath,
  621. /* [in] */ METADATA_HANDLE hMDDestHandle,
  622. /* [string][in][unique] */ LPCWSTR pszMDDestPath,
  623. /* [in] */ DWORD dwMDAttributes,
  624. /* [in] */ DWORD dwMDUserType,
  625. /* [in] */ DWORD dwMDDataType,
  626. /* [in] */ BOOL bMDCopyFlag);
  627. void __RPC_STUB IMSAdminBaseW_CopyData_Stub(
  628. IRpcStubBuffer *This,
  629. IRpcChannelBuffer *_pRpcChannelBuffer,
  630. PRPC_MESSAGE _pRpcMessage,
  631. DWORD *_pdwStubPhase);
  632. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_GetDataPaths_Proxy(
  633. IMSAdminBaseW __RPC_FAR * This,
  634. /* [in] */ METADATA_HANDLE hMDHandle,
  635. /* [string][in][unique] */ LPCWSTR pszMDPath,
  636. /* [in] */ DWORD dwMDIdentifier,
  637. /* [in] */ DWORD dwMDDataType,
  638. /* [in] */ DWORD dwMDBufferSize,
  639. /* [size_is][out] */ WCHAR __RPC_FAR *pszBuffer,
  640. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredBufferSize);
  641. void __RPC_STUB IMSAdminBaseW_GetDataPaths_Stub(
  642. IRpcStubBuffer *This,
  643. IRpcChannelBuffer *_pRpcChannelBuffer,
  644. PRPC_MESSAGE _pRpcMessage,
  645. DWORD *_pdwStubPhase);
  646. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_OpenKey_Proxy(
  647. IMSAdminBaseW __RPC_FAR * This,
  648. /* [in] */ METADATA_HANDLE hMDHandle,
  649. /* [string][in][unique] */ LPCWSTR pszMDPath,
  650. /* [in] */ DWORD dwMDAccessRequested,
  651. /* [in] */ DWORD dwMDTimeOut,
  652. /* [out] */ PMETADATA_HANDLE phMDNewHandle);
  653. void __RPC_STUB IMSAdminBaseW_OpenKey_Stub(
  654. IRpcStubBuffer *This,
  655. IRpcChannelBuffer *_pRpcChannelBuffer,
  656. PRPC_MESSAGE _pRpcMessage,
  657. DWORD *_pdwStubPhase);
  658. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_CloseKey_Proxy(
  659. IMSAdminBaseW __RPC_FAR * This,
  660. /* [in] */ METADATA_HANDLE hMDHandle);
  661. void __RPC_STUB IMSAdminBaseW_CloseKey_Stub(
  662. IRpcStubBuffer *This,
  663. IRpcChannelBuffer *_pRpcChannelBuffer,
  664. PRPC_MESSAGE _pRpcMessage,
  665. DWORD *_pdwStubPhase);
  666. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_ChangePermissions_Proxy(
  667. IMSAdminBaseW __RPC_FAR * This,
  668. /* [in] */ METADATA_HANDLE hMDHandle,
  669. /* [in] */ DWORD dwMDTimeOut,
  670. /* [in] */ DWORD dwMDAccessRequested);
  671. void __RPC_STUB IMSAdminBaseW_ChangePermissions_Stub(
  672. IRpcStubBuffer *This,
  673. IRpcChannelBuffer *_pRpcChannelBuffer,
  674. PRPC_MESSAGE _pRpcMessage,
  675. DWORD *_pdwStubPhase);
  676. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_SaveData_Proxy(
  677. IMSAdminBaseW __RPC_FAR * This);
  678. void __RPC_STUB IMSAdminBaseW_SaveData_Stub(
  679. IRpcStubBuffer *This,
  680. IRpcChannelBuffer *_pRpcChannelBuffer,
  681. PRPC_MESSAGE _pRpcMessage,
  682. DWORD *_pdwStubPhase);
  683. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_GetHandleInfo_Proxy(
  684. IMSAdminBaseW __RPC_FAR * This,
  685. /* [in] */ METADATA_HANDLE hMDHandle,
  686. /* [out] */ PMETADATA_HANDLE_INFO pmdhiInfo);
  687. void __RPC_STUB IMSAdminBaseW_GetHandleInfo_Stub(
  688. IRpcStubBuffer *This,
  689. IRpcChannelBuffer *_pRpcChannelBuffer,
  690. PRPC_MESSAGE _pRpcMessage,
  691. DWORD *_pdwStubPhase);
  692. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_GetSystemChangeNumber_Proxy(
  693. IMSAdminBaseW __RPC_FAR * This,
  694. /* [out] */ DWORD __RPC_FAR *pdwSystemChangeNumber);
  695. void __RPC_STUB IMSAdminBaseW_GetSystemChangeNumber_Stub(
  696. IRpcStubBuffer *This,
  697. IRpcChannelBuffer *_pRpcChannelBuffer,
  698. PRPC_MESSAGE _pRpcMessage,
  699. DWORD *_pdwStubPhase);
  700. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_GetDataSetNumber_Proxy(
  701. IMSAdminBaseW __RPC_FAR * This,
  702. /* [in] */ METADATA_HANDLE hMDHandle,
  703. /* [string][in][unique] */ LPCWSTR pszMDPath,
  704. /* [out] */ DWORD __RPC_FAR *pdwMDDataSetNumber);
  705. void __RPC_STUB IMSAdminBaseW_GetDataSetNumber_Stub(
  706. IRpcStubBuffer *This,
  707. IRpcChannelBuffer *_pRpcChannelBuffer,
  708. PRPC_MESSAGE _pRpcMessage,
  709. DWORD *_pdwStubPhase);
  710. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_SetLastChangeTime_Proxy(
  711. IMSAdminBaseW __RPC_FAR * This,
  712. /* [in] */ METADATA_HANDLE hMDHandle,
  713. /* [string][in][unique] */ LPCWSTR pszMDPath,
  714. /* [in] */ PFILETIME pftMDLastChangeTime,
  715. /* [in] */ BOOL bLocalTime);
  716. void __RPC_STUB IMSAdminBaseW_SetLastChangeTime_Stub(
  717. IRpcStubBuffer *This,
  718. IRpcChannelBuffer *_pRpcChannelBuffer,
  719. PRPC_MESSAGE _pRpcMessage,
  720. DWORD *_pdwStubPhase);
  721. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_GetLastChangeTime_Proxy(
  722. IMSAdminBaseW __RPC_FAR * This,
  723. /* [in] */ METADATA_HANDLE hMDHandle,
  724. /* [string][in][unique] */ LPCWSTR pszMDPath,
  725. /* [out] */ PFILETIME pftMDLastChangeTime,
  726. /* [in] */ BOOL bLocalTime);
  727. void __RPC_STUB IMSAdminBaseW_GetLastChangeTime_Stub(
  728. IRpcStubBuffer *This,
  729. IRpcChannelBuffer *_pRpcChannelBuffer,
  730. PRPC_MESSAGE _pRpcMessage,
  731. DWORD *_pdwStubPhase);
  732. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_R_KeyExchangePhase1_Proxy(
  733. IMSAdminBaseW __RPC_FAR * This,
  734. /* [in][unique] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *pClientKeyExchangeKeyBlob,
  735. /* [in][unique] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *pClientSignatureKeyBlob,
  736. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppServerKeyExchangeKeyBlob,
  737. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppServerSignatureKeyBlob,
  738. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppServerSessionKeyBlob);
  739. void __RPC_STUB IMSAdminBaseW_R_KeyExchangePhase1_Stub(
  740. IRpcStubBuffer *This,
  741. IRpcChannelBuffer *_pRpcChannelBuffer,
  742. PRPC_MESSAGE _pRpcMessage,
  743. DWORD *_pdwStubPhase);
  744. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_R_KeyExchangePhase2_Proxy(
  745. IMSAdminBaseW __RPC_FAR * This,
  746. /* [in][unique] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *pClientSessionKeyBlob,
  747. /* [in][unique] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *pClientHashBlob,
  748. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppServerHashBlob);
  749. void __RPC_STUB IMSAdminBaseW_R_KeyExchangePhase2_Stub(
  750. IRpcStubBuffer *This,
  751. IRpcChannelBuffer *_pRpcChannelBuffer,
  752. PRPC_MESSAGE _pRpcMessage,
  753. DWORD *_pdwStubPhase);
  754. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_Backup_Proxy(
  755. IMSAdminBaseW __RPC_FAR * This,
  756. /* [string][in][unique] */ LPCWSTR pszMDBackupLocation,
  757. /* [in] */ DWORD dwMDVersion,
  758. /* [in] */ DWORD dwMDFlags);
  759. void __RPC_STUB IMSAdminBaseW_Backup_Stub(
  760. IRpcStubBuffer *This,
  761. IRpcChannelBuffer *_pRpcChannelBuffer,
  762. PRPC_MESSAGE _pRpcMessage,
  763. DWORD *_pdwStubPhase);
  764. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_Restore_Proxy(
  765. IMSAdminBaseW __RPC_FAR * This,
  766. /* [string][in][unique] */ LPCWSTR pszMDBackupLocation,
  767. /* [in] */ DWORD dwMDVersion,
  768. /* [in] */ DWORD dwMDFlags);
  769. void __RPC_STUB IMSAdminBaseW_Restore_Stub(
  770. IRpcStubBuffer *This,
  771. IRpcChannelBuffer *_pRpcChannelBuffer,
  772. PRPC_MESSAGE _pRpcMessage,
  773. DWORD *_pdwStubPhase);
  774. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_EnumBackups_Proxy(
  775. IMSAdminBaseW __RPC_FAR * This,
  776. /* [size_is][out][in] */ LPWSTR pszMDBackupLocation,
  777. /* [out] */ DWORD __RPC_FAR *pdwMDVersion,
  778. /* [out] */ PFILETIME pftMDBackupTime,
  779. /* [in] */ DWORD dwMDEnumIndex);
  780. void __RPC_STUB IMSAdminBaseW_EnumBackups_Stub(
  781. IRpcStubBuffer *This,
  782. IRpcChannelBuffer *_pRpcChannelBuffer,
  783. PRPC_MESSAGE _pRpcMessage,
  784. DWORD *_pdwStubPhase);
  785. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_DeleteBackup_Proxy(
  786. IMSAdminBaseW __RPC_FAR * This,
  787. /* [string][in][unique] */ LPCWSTR pszMDBackupLocation,
  788. /* [in] */ DWORD dwMDVersion);
  789. void __RPC_STUB IMSAdminBaseW_DeleteBackup_Stub(
  790. IRpcStubBuffer *This,
  791. IRpcChannelBuffer *_pRpcChannelBuffer,
  792. PRPC_MESSAGE _pRpcMessage,
  793. DWORD *_pdwStubPhase);
  794. HRESULT STDMETHODCALLTYPE IMSAdminBaseW_UnmarshalInterface_Proxy(
  795. IMSAdminBaseW __RPC_FAR * This,
  796. /* [out] */ IMSAdminBaseW __RPC_FAR *__RPC_FAR *piadmbwInterface);
  797. void __RPC_STUB IMSAdminBaseW_UnmarshalInterface_Stub(
  798. IRpcStubBuffer *This,
  799. IRpcChannelBuffer *_pRpcChannelBuffer,
  800. PRPC_MESSAGE _pRpcMessage,
  801. DWORD *_pdwStubPhase);
  802. #endif /* __IMSAdminBaseW_INTERFACE_DEFINED__ */
  803. #ifndef __IMSAdminBaseSinkW_INTERFACE_DEFINED__
  804. #define __IMSAdminBaseSinkW_INTERFACE_DEFINED__
  805. /****************************************
  806. * Generated header for interface: IMSAdminBaseSinkW
  807. * at Fri Aug 01 12:56:48 1997
  808. * using MIDL 3.03.0106
  809. ****************************************/
  810. /* [unique][uuid][object] */
  811. EXTERN_C const IID IID_IMSAdminBaseSinkW;
  812. #if defined(__cplusplus) && !defined(CINTERFACE)
  813. MIDL_INTERFACE("A9E69612-B80D-11d0-B9B9-00A0C922E750")
  814. IMSAdminBaseSinkW : public IUnknown
  815. {
  816. public:
  817. virtual HRESULT STDMETHODCALLTYPE SinkNotify(
  818. /* [in] */ DWORD dwMDNumElements,
  819. /* [size_is][in] */ MD_CHANGE_OBJECT_W __RPC_FAR pcoChangeList[ ]) = 0;
  820. virtual HRESULT STDMETHODCALLTYPE ShutdownNotify( void) = 0;
  821. };
  822. #else /* C style interface */
  823. typedef struct IMSAdminBaseSinkWVtbl
  824. {
  825. BEGIN_INTERFACE
  826. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  827. IMSAdminBaseSinkW __RPC_FAR * This,
  828. /* [in] */ REFIID riid,
  829. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  830. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  831. IMSAdminBaseSinkW __RPC_FAR * This);
  832. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  833. IMSAdminBaseSinkW __RPC_FAR * This);
  834. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SinkNotify )(
  835. IMSAdminBaseSinkW __RPC_FAR * This,
  836. /* [in] */ DWORD dwMDNumElements,
  837. /* [size_is][in] */ MD_CHANGE_OBJECT_W __RPC_FAR pcoChangeList[ ]);
  838. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShutdownNotify )(
  839. IMSAdminBaseSinkW __RPC_FAR * This);
  840. END_INTERFACE
  841. } IMSAdminBaseSinkWVtbl;
  842. interface IMSAdminBaseSinkW
  843. {
  844. CONST_VTBL struct IMSAdminBaseSinkWVtbl __RPC_FAR *lpVtbl;
  845. };
  846. #ifdef COBJMACROS
  847. #define IMSAdminBaseSinkW_QueryInterface(This,riid,ppvObject) \
  848. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  849. #define IMSAdminBaseSinkW_AddRef(This) \
  850. (This)->lpVtbl -> AddRef(This)
  851. #define IMSAdminBaseSinkW_Release(This) \
  852. (This)->lpVtbl -> Release(This)
  853. #define IMSAdminBaseSinkW_SinkNotify(This,dwMDNumElements,pcoChangeList) \
  854. (This)->lpVtbl -> SinkNotify(This,dwMDNumElements,pcoChangeList)
  855. #define IMSAdminBaseSinkW_ShutdownNotify(This) \
  856. (This)->lpVtbl -> ShutdownNotify(This)
  857. #endif /* COBJMACROS */
  858. #endif /* C style interface */
  859. HRESULT STDMETHODCALLTYPE IMSAdminBaseSinkW_SinkNotify_Proxy(
  860. IMSAdminBaseSinkW __RPC_FAR * This,
  861. /* [in] */ DWORD dwMDNumElements,
  862. /* [size_is][in] */ MD_CHANGE_OBJECT_W __RPC_FAR pcoChangeList[ ]);
  863. void __RPC_STUB IMSAdminBaseSinkW_SinkNotify_Stub(
  864. IRpcStubBuffer *This,
  865. IRpcChannelBuffer *_pRpcChannelBuffer,
  866. PRPC_MESSAGE _pRpcMessage,
  867. DWORD *_pdwStubPhase);
  868. HRESULT STDMETHODCALLTYPE IMSAdminBaseSinkW_ShutdownNotify_Proxy(
  869. IMSAdminBaseSinkW __RPC_FAR * This);
  870. void __RPC_STUB IMSAdminBaseSinkW_ShutdownNotify_Stub(
  871. IRpcStubBuffer *This,
  872. IRpcChannelBuffer *_pRpcChannelBuffer,
  873. PRPC_MESSAGE _pRpcMessage,
  874. DWORD *_pdwStubPhase);
  875. #endif /* __IMSAdminBaseSinkW_INTERFACE_DEFINED__ */
  876. /****************************************
  877. * Generated header for interface: __MIDL_itf_iadmw_0166
  878. * at Fri Aug 01 12:56:48 1997
  879. * using MIDL 3.03.0106
  880. ****************************************/
  881. /* [local] */
  882. #endif
  883. extern RPC_IF_HANDLE __MIDL_itf_iadmw_0166_v0_0_c_ifspec;
  884. extern RPC_IF_HANDLE __MIDL_itf_iadmw_0166_v0_0_s_ifspec;
  885. /* Additional Prototypes for ALL interfaces */
  886. /* [local] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_SetData_Proxy(
  887. IMSAdminBaseW __RPC_FAR * This,
  888. /* [in] */ METADATA_HANDLE hMDHandle,
  889. /* [string][in][unique] */ LPCWSTR pszMDPath,
  890. /* [in] */ PMETADATA_RECORD pmdrMDData);
  891. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_SetData_Stub(
  892. IMSAdminBaseW __RPC_FAR * This,
  893. /* [in] */ METADATA_HANDLE hMDHandle,
  894. /* [string][in][unique] */ LPCWSTR pszMDPath,
  895. /* [in] */ PMETADATA_RECORD pmdrMDData);
  896. /* [local] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_GetData_Proxy(
  897. IMSAdminBaseW __RPC_FAR * This,
  898. /* [in] */ METADATA_HANDLE hMDHandle,
  899. /* [string][in][unique] */ LPCWSTR pszMDPath,
  900. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  901. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen);
  902. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_GetData_Stub(
  903. IMSAdminBaseW __RPC_FAR * This,
  904. /* [in] */ METADATA_HANDLE hMDHandle,
  905. /* [string][in][unique] */ LPCWSTR pszMDPath,
  906. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  907. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen,
  908. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppDataBlob);
  909. /* [local] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_EnumData_Proxy(
  910. IMSAdminBaseW __RPC_FAR * This,
  911. /* [in] */ METADATA_HANDLE hMDHandle,
  912. /* [string][in][unique] */ LPCWSTR pszMDPath,
  913. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  914. /* [in] */ DWORD dwMDEnumDataIndex,
  915. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen);
  916. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_EnumData_Stub(
  917. IMSAdminBaseW __RPC_FAR * This,
  918. /* [in] */ METADATA_HANDLE hMDHandle,
  919. /* [string][in][unique] */ LPCWSTR pszMDPath,
  920. /* [out][in] */ PMETADATA_RECORD pmdrMDData,
  921. /* [in] */ DWORD dwMDEnumDataIndex,
  922. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredDataLen,
  923. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppDataBlob);
  924. /* [local] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_GetAllData_Proxy(
  925. IMSAdminBaseW __RPC_FAR * This,
  926. /* [in] */ METADATA_HANDLE hMDHandle,
  927. /* [string][in][unique] */ LPCWSTR pszMDPath,
  928. /* [in] */ DWORD dwMDAttributes,
  929. /* [in] */ DWORD dwMDUserType,
  930. /* [in] */ DWORD dwMDDataType,
  931. /* [out] */ DWORD __RPC_FAR *pdwMDNumDataEntries,
  932. /* [out] */ DWORD __RPC_FAR *pdwMDDataSetNumber,
  933. /* [in] */ DWORD dwMDBufferSize,
  934. /* [size_is][out] */ unsigned char __RPC_FAR *pbMDBuffer,
  935. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredBufferSize);
  936. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_GetAllData_Stub(
  937. IMSAdminBaseW __RPC_FAR * This,
  938. /* [in] */ METADATA_HANDLE hMDHandle,
  939. /* [string][in][unique] */ LPCWSTR pszMDPath,
  940. /* [in] */ DWORD dwMDAttributes,
  941. /* [in] */ DWORD dwMDUserType,
  942. /* [in] */ DWORD dwMDDataType,
  943. /* [out] */ DWORD __RPC_FAR *pdwMDNumDataEntries,
  944. /* [out] */ DWORD __RPC_FAR *pdwMDDataSetNumber,
  945. /* [in] */ DWORD dwMDBufferSize,
  946. /* [out] */ DWORD __RPC_FAR *pdwMDRequiredBufferSize,
  947. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppDataBlob);
  948. /* [restricted][local] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_KeyExchangePhase1_Proxy(
  949. IMSAdminBaseW __RPC_FAR * This);
  950. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_KeyExchangePhase1_Stub(
  951. IMSAdminBaseW __RPC_FAR * This,
  952. /* [in][unique] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *pClientKeyExchangeKeyBlob,
  953. /* [in][unique] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *pClientSignatureKeyBlob,
  954. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppServerKeyExchangeKeyBlob,
  955. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppServerSignatureKeyBlob,
  956. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppServerSessionKeyBlob);
  957. /* [restricted][local] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_KeyExchangePhase2_Proxy(
  958. IMSAdminBaseW __RPC_FAR * This);
  959. /* [call_as] */ HRESULT STDMETHODCALLTYPE IMSAdminBaseW_KeyExchangePhase2_Stub(
  960. IMSAdminBaseW __RPC_FAR * This,
  961. /* [in][unique] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *pClientSessionKeyBlob,
  962. /* [in][unique] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *pClientHashBlob,
  963. /* [out] */ struct _IIS_CRYPTO_BLOB __RPC_FAR *__RPC_FAR *ppServerHashBlob);
  964. /* end of Additional Prototypes */
  965. #ifdef __cplusplus
  966. }
  967. #endif
  968. #endif