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.

942 lines
37 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Fri Apr 09 14:03:13 1999
  4. */
  5. /* Compiler settings for ProfileServ.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  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 __ProfileServ_h__
  24. #define __ProfileServ_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __IPRegistrar_FWD_DEFINED__
  30. #define __IPRegistrar_FWD_DEFINED__
  31. typedef interface IPRegistrar IPRegistrar;
  32. #endif /* __IPRegistrar_FWD_DEFINED__ */
  33. #ifndef __IRegistryServices_FWD_DEFINED__
  34. #define __IRegistryServices_FWD_DEFINED__
  35. typedef interface IRegistryServices IRegistryServices;
  36. #endif /* __IRegistryServices_FWD_DEFINED__ */
  37. #ifndef __PRegistrar_FWD_DEFINED__
  38. #define __PRegistrar_FWD_DEFINED__
  39. #ifdef __cplusplus
  40. typedef class PRegistrar PRegistrar;
  41. #else
  42. typedef struct PRegistrar PRegistrar;
  43. #endif /* __cplusplus */
  44. #endif /* __PRegistrar_FWD_DEFINED__ */
  45. #ifndef __RegistryServices_FWD_DEFINED__
  46. #define __RegistryServices_FWD_DEFINED__
  47. #ifdef __cplusplus
  48. typedef class RegistryServices RegistryServices;
  49. #else
  50. typedef struct RegistryServices RegistryServices;
  51. #endif /* __cplusplus */
  52. #endif /* __RegistryServices_FWD_DEFINED__ */
  53. /* header files for imported files */
  54. #include "oaidl.h"
  55. #include "ocidl.h"
  56. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  57. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  58. #ifndef __IPRegistrar_INTERFACE_DEFINED__
  59. #define __IPRegistrar_INTERFACE_DEFINED__
  60. /* interface IPRegistrar */
  61. /* [unique][oleautomation][dual][object][helpstring][uuid] */
  62. EXTERN_C const IID IID_IPRegistrar;
  63. #if defined(__cplusplus) && !defined(CINTERFACE)
  64. MIDL_INTERFACE("725D4CE9-6DEB-11D2-863A-00C04FBBECDE")
  65. IPRegistrar : public IDispatch
  66. {
  67. public:
  68. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CancelAccount(
  69. /* [in] */ BSTR member_name,
  70. /* [in] */ unsigned long reason_code,
  71. /* [retval][out] */ int __RPC_FAR *result) = 0;
  72. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckName(
  73. /* [in] */ BSTR member_name,
  74. /* [optional][in] */ BSTR first_name,
  75. /* [optional][in] */ BSTR last_name,
  76. /* [in] */ unsigned long generates_alternative_names,
  77. /* [out] */ VARIANT __RPC_FAR *alternative_names,
  78. /* [retval][out] */ int __RPC_FAR *result) = 0;
  79. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAccount(
  80. /* [in] */ BSTR member_name,
  81. /* [in] */ unsigned long domain_ID,
  82. /* [in] */ BSTR password,
  83. /* [in] */ BSTR hint_question,
  84. /* [in] */ BSTR hint_answer,
  85. /* [optional][in] */ BSTR country,
  86. /* [optional][in] */ BSTR postal_code,
  87. /* [optional][in] */ unsigned long region,
  88. /* [optional][in] */ unsigned long city,
  89. /* [optional][in] */ unsigned long language_ID,
  90. /* [optional][in] */ BSTR gender,
  91. /* [optional][in] */ unsigned long has_full_birth_date,
  92. /* [optional][in] */ DATE birth_date,
  93. /* [optional][in] */ BSTR nickname,
  94. /* [optional][in] */ BSTR contact_email,
  95. /* [optional][in] */ unsigned long has_accessibility,
  96. /* [optional][in] */ unsigned long referring_site_ID,
  97. /* [optional][in] */ unsigned long has_password_reminder,
  98. /* [optional][in] */ BSTR inserter,
  99. /* [out] */ VARIANT __RPC_FAR *member_ID_low,
  100. /* [retval][out] */ int __RPC_FAR *result) = 0;
  101. };
  102. #else /* C style interface */
  103. typedef struct IPRegistrarVtbl
  104. {
  105. BEGIN_INTERFACE
  106. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  107. IPRegistrar __RPC_FAR * This,
  108. /* [in] */ REFIID riid,
  109. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  110. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  111. IPRegistrar __RPC_FAR * This);
  112. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  113. IPRegistrar __RPC_FAR * This);
  114. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  115. IPRegistrar __RPC_FAR * This,
  116. /* [out] */ UINT __RPC_FAR *pctinfo);
  117. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  118. IPRegistrar __RPC_FAR * This,
  119. /* [in] */ UINT iTInfo,
  120. /* [in] */ LCID lcid,
  121. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  122. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  123. IPRegistrar __RPC_FAR * This,
  124. /* [in] */ REFIID riid,
  125. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  126. /* [in] */ UINT cNames,
  127. /* [in] */ LCID lcid,
  128. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  129. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  130. IPRegistrar __RPC_FAR * This,
  131. /* [in] */ DISPID dispIdMember,
  132. /* [in] */ REFIID riid,
  133. /* [in] */ LCID lcid,
  134. /* [in] */ WORD wFlags,
  135. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  136. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  137. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  138. /* [out] */ UINT __RPC_FAR *puArgErr);
  139. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CancelAccount )(
  140. IPRegistrar __RPC_FAR * This,
  141. /* [in] */ BSTR member_name,
  142. /* [in] */ unsigned long reason_code,
  143. /* [retval][out] */ int __RPC_FAR *result);
  144. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CheckName )(
  145. IPRegistrar __RPC_FAR * This,
  146. /* [in] */ BSTR member_name,
  147. /* [optional][in] */ BSTR first_name,
  148. /* [optional][in] */ BSTR last_name,
  149. /* [in] */ unsigned long generates_alternative_names,
  150. /* [out] */ VARIANT __RPC_FAR *alternative_names,
  151. /* [retval][out] */ int __RPC_FAR *result);
  152. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateAccount )(
  153. IPRegistrar __RPC_FAR * This,
  154. /* [in] */ BSTR member_name,
  155. /* [in] */ unsigned long domain_ID,
  156. /* [in] */ BSTR password,
  157. /* [in] */ BSTR hint_question,
  158. /* [in] */ BSTR hint_answer,
  159. /* [optional][in] */ BSTR country,
  160. /* [optional][in] */ BSTR postal_code,
  161. /* [optional][in] */ unsigned long region,
  162. /* [optional][in] */ unsigned long city,
  163. /* [optional][in] */ unsigned long language_ID,
  164. /* [optional][in] */ BSTR gender,
  165. /* [optional][in] */ unsigned long has_full_birth_date,
  166. /* [optional][in] */ DATE birth_date,
  167. /* [optional][in] */ BSTR nickname,
  168. /* [optional][in] */ BSTR contact_email,
  169. /* [optional][in] */ unsigned long has_accessibility,
  170. /* [optional][in] */ unsigned long referring_site_ID,
  171. /* [optional][in] */ unsigned long has_password_reminder,
  172. /* [optional][in] */ BSTR inserter,
  173. /* [out] */ VARIANT __RPC_FAR *member_ID_low,
  174. /* [retval][out] */ int __RPC_FAR *result);
  175. END_INTERFACE
  176. } IPRegistrarVtbl;
  177. interface IPRegistrar
  178. {
  179. CONST_VTBL struct IPRegistrarVtbl __RPC_FAR *lpVtbl;
  180. };
  181. #ifdef COBJMACROS
  182. #define IPRegistrar_QueryInterface(This,riid,ppvObject) \
  183. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  184. #define IPRegistrar_AddRef(This) \
  185. (This)->lpVtbl -> AddRef(This)
  186. #define IPRegistrar_Release(This) \
  187. (This)->lpVtbl -> Release(This)
  188. #define IPRegistrar_GetTypeInfoCount(This,pctinfo) \
  189. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  190. #define IPRegistrar_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  191. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  192. #define IPRegistrar_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  193. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  194. #define IPRegistrar_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  195. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  196. #define IPRegistrar_CancelAccount(This,member_name,reason_code,result) \
  197. (This)->lpVtbl -> CancelAccount(This,member_name,reason_code,result)
  198. #define IPRegistrar_CheckName(This,member_name,first_name,last_name,generates_alternative_names,alternative_names,result) \
  199. (This)->lpVtbl -> CheckName(This,member_name,first_name,last_name,generates_alternative_names,alternative_names,result)
  200. #define IPRegistrar_CreateAccount(This,member_name,domain_ID,password,hint_question,hint_answer,country,postal_code,region,city,language_ID,gender,has_full_birth_date,birth_date,nickname,contact_email,has_accessibility,referring_site_ID,has_password_reminder,inserter,member_ID_low,result) \
  201. (This)->lpVtbl -> CreateAccount(This,member_name,domain_ID,password,hint_question,hint_answer,country,postal_code,region,city,language_ID,gender,has_full_birth_date,birth_date,nickname,contact_email,has_accessibility,referring_site_ID,has_password_reminder,inserter,member_ID_low,result)
  202. #endif /* COBJMACROS */
  203. #endif /* C style interface */
  204. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPRegistrar_CancelAccount_Proxy(
  205. IPRegistrar __RPC_FAR * This,
  206. /* [in] */ BSTR member_name,
  207. /* [in] */ unsigned long reason_code,
  208. /* [retval][out] */ int __RPC_FAR *result);
  209. void __RPC_STUB IPRegistrar_CancelAccount_Stub(
  210. IRpcStubBuffer *This,
  211. IRpcChannelBuffer *_pRpcChannelBuffer,
  212. PRPC_MESSAGE _pRpcMessage,
  213. DWORD *_pdwStubPhase);
  214. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPRegistrar_CheckName_Proxy(
  215. IPRegistrar __RPC_FAR * This,
  216. /* [in] */ BSTR member_name,
  217. /* [optional][in] */ BSTR first_name,
  218. /* [optional][in] */ BSTR last_name,
  219. /* [in] */ unsigned long generates_alternative_names,
  220. /* [out] */ VARIANT __RPC_FAR *alternative_names,
  221. /* [retval][out] */ int __RPC_FAR *result);
  222. void __RPC_STUB IPRegistrar_CheckName_Stub(
  223. IRpcStubBuffer *This,
  224. IRpcChannelBuffer *_pRpcChannelBuffer,
  225. PRPC_MESSAGE _pRpcMessage,
  226. DWORD *_pdwStubPhase);
  227. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPRegistrar_CreateAccount_Proxy(
  228. IPRegistrar __RPC_FAR * This,
  229. /* [in] */ BSTR member_name,
  230. /* [in] */ unsigned long domain_ID,
  231. /* [in] */ BSTR password,
  232. /* [in] */ BSTR hint_question,
  233. /* [in] */ BSTR hint_answer,
  234. /* [optional][in] */ BSTR country,
  235. /* [optional][in] */ BSTR postal_code,
  236. /* [optional][in] */ unsigned long region,
  237. /* [optional][in] */ unsigned long city,
  238. /* [optional][in] */ unsigned long language_ID,
  239. /* [optional][in] */ BSTR gender,
  240. /* [optional][in] */ unsigned long has_full_birth_date,
  241. /* [optional][in] */ DATE birth_date,
  242. /* [optional][in] */ BSTR nickname,
  243. /* [optional][in] */ BSTR contact_email,
  244. /* [optional][in] */ unsigned long has_accessibility,
  245. /* [optional][in] */ unsigned long referring_site_ID,
  246. /* [optional][in] */ unsigned long has_password_reminder,
  247. /* [optional][in] */ BSTR inserter,
  248. /* [out] */ VARIANT __RPC_FAR *member_ID_low,
  249. /* [retval][out] */ int __RPC_FAR *result);
  250. void __RPC_STUB IPRegistrar_CreateAccount_Stub(
  251. IRpcStubBuffer *This,
  252. IRpcChannelBuffer *_pRpcChannelBuffer,
  253. PRPC_MESSAGE _pRpcMessage,
  254. DWORD *_pdwStubPhase);
  255. #endif /* __IPRegistrar_INTERFACE_DEFINED__ */
  256. #ifndef __IRegistryServices_INTERFACE_DEFINED__
  257. #define __IRegistryServices_INTERFACE_DEFINED__
  258. /* interface IRegistryServices */
  259. /* [unique][dual][object][helpstring][uuid] */
  260. EXTERN_C const IID IID_IRegistryServices;
  261. #if defined(__cplusplus) && !defined(CINTERFACE)
  262. MIDL_INTERFACE("3B89FEF1-7270-11D2-863A-00C04FBBECDE")
  263. IRegistryServices : public IDispatch
  264. {
  265. public:
  266. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAccount(
  267. /* [in] */ BSTR member_name,
  268. /* [out] */ VARIANT __RPC_FAR *domain_ID,
  269. /* [out] */ VARIANT __RPC_FAR *member_ID_low,
  270. /* [out] */ VARIANT __RPC_FAR *password,
  271. /* [out] */ VARIANT __RPC_FAR *country,
  272. /* [out] */ VARIANT __RPC_FAR *postal_code,
  273. /* [out] */ VARIANT __RPC_FAR *region,
  274. /* [out] */ VARIANT __RPC_FAR *city,
  275. /* [out] */ VARIANT __RPC_FAR *language_ID,
  276. /* [out] */ VARIANT __RPC_FAR *gender,
  277. /* [out] */ VARIANT __RPC_FAR *has_full_birth_date,
  278. /* [out] */ VARIANT __RPC_FAR *birth_date,
  279. /* [out] */ VARIANT __RPC_FAR *nickname,
  280. /* [out] */ VARIANT __RPC_FAR *contact_email,
  281. /* [out] */ VARIANT __RPC_FAR *has_accessibility,
  282. /* [out] */ VARIANT __RPC_FAR *has_wallet,
  283. /* [out] */ VARIANT __RPC_FAR *has_directory,
  284. /* [out] */ VARIANT __RPC_FAR *has_MSN_IA,
  285. /* [out] */ VARIANT __RPC_FAR *has_password_reminder,
  286. /* [out] */ VARIANT __RPC_FAR *password_change_date,
  287. /* [out] */ VARIANT __RPC_FAR *password_last_reminder_date,
  288. /* [out] */ VARIANT __RPC_FAR *flags,
  289. /* [out] */ VARIANT __RPC_FAR *profile_version,
  290. /* [retval][out] */ int __RPC_FAR *result) = 0;
  291. virtual /* [helpstring][id] */ HRESULT __stdcall GetCities(
  292. /* [in] */ unsigned long language_ID,
  293. /* [out] */ VARIANT __RPC_FAR *cities,
  294. /* [retval][out] */ int __RPC_FAR *result) = 0;
  295. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCountries(
  296. /* [in] */ unsigned long language_ID,
  297. /* [out] */ VARIANT __RPC_FAR *countries,
  298. /* [retval][out] */ int __RPC_FAR *result) = 0;
  299. virtual /* [helpstring][id] */ HRESULT __stdcall GetDomains(
  300. /* [out] */ VARIANT __RPC_FAR *domains,
  301. /* [retval][out] */ int __RPC_FAR *result) = 0;
  302. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetHint(
  303. /* [in] */ BSTR member_name,
  304. /* [out] */ VARIANT __RPC_FAR *hint_question,
  305. /* [out] */ VARIANT __RPC_FAR *hint_answer,
  306. /* [retval][out] */ int __RPC_FAR *result) = 0;
  307. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetHintQuestions(
  308. /* [in] */ unsigned long language_ID,
  309. /* [out] */ VARIANT __RPC_FAR *hint_questions,
  310. /* [retval][out] */ int __RPC_FAR *result) = 0;
  311. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetLanguages(
  312. /* [optional][in] */ VARIANT __RPC_FAR *language_ID,
  313. /* [out] */ VARIANT __RPC_FAR *languages,
  314. /* [retval][out] */ int __RPC_FAR *result) = 0;
  315. virtual /* [helpstring][id] */ HRESULT __stdcall GetReferringSites(
  316. /* [out] */ VARIANT __RPC_FAR *referring_sites,
  317. /* [retval][out] */ int __RPC_FAR *result) = 0;
  318. virtual /* [helpstring][id] */ HRESULT __stdcall GetRegions(
  319. /* [in] */ unsigned long language_ID,
  320. /* [out] */ VARIANT __RPC_FAR *regions,
  321. /* [retval][out] */ int __RPC_FAR *result) = 0;
  322. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateAccount(
  323. /* [in] */ BSTR member_name,
  324. /* [in] */ BSTR country,
  325. /* [in] */ BSTR postal_code,
  326. /* [in] */ unsigned long region,
  327. /* [in] */ unsigned long city,
  328. /* [in] */ unsigned long language_ID,
  329. /* [in] */ BSTR gender,
  330. /* [in] */ unsigned long has_full_birth_date,
  331. /* [in] */ DATE birth_date,
  332. /* [in] */ BSTR nickname,
  333. /* [in] */ BSTR contact_email,
  334. /* [in] */ unsigned long has_accessibility,
  335. /* [in] */ unsigned long has_wallet,
  336. /* [in] */ unsigned long has_directory,
  337. /* [in] */ unsigned long has_MSN_IA,
  338. /* [in] */ unsigned long has_password_reminder,
  339. /* [in] */ unsigned long flags,
  340. /* [optional][in] */ BSTR updater,
  341. /* [retval][out] */ int __RPC_FAR *result) = 0;
  342. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateHint(
  343. /* [in] */ BSTR member_name,
  344. /* [in] */ BSTR hint_question,
  345. /* [in] */ BSTR hint_answer,
  346. /* [retval][out] */ int __RPC_FAR *result) = 0;
  347. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdatePassword(
  348. /* [in] */ BSTR member_name,
  349. /* [in] */ BSTR new_password,
  350. /* [retval][out] */ int __RPC_FAR *result) = 0;
  351. };
  352. #else /* C style interface */
  353. typedef struct IRegistryServicesVtbl
  354. {
  355. BEGIN_INTERFACE
  356. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  357. IRegistryServices __RPC_FAR * This,
  358. /* [in] */ REFIID riid,
  359. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  360. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  361. IRegistryServices __RPC_FAR * This);
  362. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  363. IRegistryServices __RPC_FAR * This);
  364. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  365. IRegistryServices __RPC_FAR * This,
  366. /* [out] */ UINT __RPC_FAR *pctinfo);
  367. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  368. IRegistryServices __RPC_FAR * This,
  369. /* [in] */ UINT iTInfo,
  370. /* [in] */ LCID lcid,
  371. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  372. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  373. IRegistryServices __RPC_FAR * This,
  374. /* [in] */ REFIID riid,
  375. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  376. /* [in] */ UINT cNames,
  377. /* [in] */ LCID lcid,
  378. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  379. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  380. IRegistryServices __RPC_FAR * This,
  381. /* [in] */ DISPID dispIdMember,
  382. /* [in] */ REFIID riid,
  383. /* [in] */ LCID lcid,
  384. /* [in] */ WORD wFlags,
  385. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  386. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  387. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  388. /* [out] */ UINT __RPC_FAR *puArgErr);
  389. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAccount )(
  390. IRegistryServices __RPC_FAR * This,
  391. /* [in] */ BSTR member_name,
  392. /* [out] */ VARIANT __RPC_FAR *domain_ID,
  393. /* [out] */ VARIANT __RPC_FAR *member_ID_low,
  394. /* [out] */ VARIANT __RPC_FAR *password,
  395. /* [out] */ VARIANT __RPC_FAR *country,
  396. /* [out] */ VARIANT __RPC_FAR *postal_code,
  397. /* [out] */ VARIANT __RPC_FAR *region,
  398. /* [out] */ VARIANT __RPC_FAR *city,
  399. /* [out] */ VARIANT __RPC_FAR *language_ID,
  400. /* [out] */ VARIANT __RPC_FAR *gender,
  401. /* [out] */ VARIANT __RPC_FAR *has_full_birth_date,
  402. /* [out] */ VARIANT __RPC_FAR *birth_date,
  403. /* [out] */ VARIANT __RPC_FAR *nickname,
  404. /* [out] */ VARIANT __RPC_FAR *contact_email,
  405. /* [out] */ VARIANT __RPC_FAR *has_accessibility,
  406. /* [out] */ VARIANT __RPC_FAR *has_wallet,
  407. /* [out] */ VARIANT __RPC_FAR *has_directory,
  408. /* [out] */ VARIANT __RPC_FAR *has_MSN_IA,
  409. /* [out] */ VARIANT __RPC_FAR *has_password_reminder,
  410. /* [out] */ VARIANT __RPC_FAR *password_change_date,
  411. /* [out] */ VARIANT __RPC_FAR *password_last_reminder_date,
  412. /* [out] */ VARIANT __RPC_FAR *flags,
  413. /* [out] */ VARIANT __RPC_FAR *profile_version,
  414. /* [retval][out] */ int __RPC_FAR *result);
  415. /* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetCities )(
  416. IRegistryServices __RPC_FAR * This,
  417. /* [in] */ unsigned long language_ID,
  418. /* [out] */ VARIANT __RPC_FAR *cities,
  419. /* [retval][out] */ int __RPC_FAR *result);
  420. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCountries )(
  421. IRegistryServices __RPC_FAR * This,
  422. /* [in] */ unsigned long language_ID,
  423. /* [out] */ VARIANT __RPC_FAR *countries,
  424. /* [retval][out] */ int __RPC_FAR *result);
  425. /* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetDomains )(
  426. IRegistryServices __RPC_FAR * This,
  427. /* [out] */ VARIANT __RPC_FAR *domains,
  428. /* [retval][out] */ int __RPC_FAR *result);
  429. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHint )(
  430. IRegistryServices __RPC_FAR * This,
  431. /* [in] */ BSTR member_name,
  432. /* [out] */ VARIANT __RPC_FAR *hint_question,
  433. /* [out] */ VARIANT __RPC_FAR *hint_answer,
  434. /* [retval][out] */ int __RPC_FAR *result);
  435. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHintQuestions )(
  436. IRegistryServices __RPC_FAR * This,
  437. /* [in] */ unsigned long language_ID,
  438. /* [out] */ VARIANT __RPC_FAR *hint_questions,
  439. /* [retval][out] */ int __RPC_FAR *result);
  440. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLanguages )(
  441. IRegistryServices __RPC_FAR * This,
  442. /* [optional][in] */ VARIANT __RPC_FAR *language_ID,
  443. /* [out] */ VARIANT __RPC_FAR *languages,
  444. /* [retval][out] */ int __RPC_FAR *result);
  445. /* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetReferringSites )(
  446. IRegistryServices __RPC_FAR * This,
  447. /* [out] */ VARIANT __RPC_FAR *referring_sites,
  448. /* [retval][out] */ int __RPC_FAR *result);
  449. /* [helpstring][id] */ HRESULT ( __stdcall __RPC_FAR *GetRegions )(
  450. IRegistryServices __RPC_FAR * This,
  451. /* [in] */ unsigned long language_ID,
  452. /* [out] */ VARIANT __RPC_FAR *regions,
  453. /* [retval][out] */ int __RPC_FAR *result);
  454. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateAccount )(
  455. IRegistryServices __RPC_FAR * This,
  456. /* [in] */ BSTR member_name,
  457. /* [in] */ BSTR country,
  458. /* [in] */ BSTR postal_code,
  459. /* [in] */ unsigned long region,
  460. /* [in] */ unsigned long city,
  461. /* [in] */ unsigned long language_ID,
  462. /* [in] */ BSTR gender,
  463. /* [in] */ unsigned long has_full_birth_date,
  464. /* [in] */ DATE birth_date,
  465. /* [in] */ BSTR nickname,
  466. /* [in] */ BSTR contact_email,
  467. /* [in] */ unsigned long has_accessibility,
  468. /* [in] */ unsigned long has_wallet,
  469. /* [in] */ unsigned long has_directory,
  470. /* [in] */ unsigned long has_MSN_IA,
  471. /* [in] */ unsigned long has_password_reminder,
  472. /* [in] */ unsigned long flags,
  473. /* [optional][in] */ BSTR updater,
  474. /* [retval][out] */ int __RPC_FAR *result);
  475. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateHint )(
  476. IRegistryServices __RPC_FAR * This,
  477. /* [in] */ BSTR member_name,
  478. /* [in] */ BSTR hint_question,
  479. /* [in] */ BSTR hint_answer,
  480. /* [retval][out] */ int __RPC_FAR *result);
  481. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdatePassword )(
  482. IRegistryServices __RPC_FAR * This,
  483. /* [in] */ BSTR member_name,
  484. /* [in] */ BSTR new_password,
  485. /* [retval][out] */ int __RPC_FAR *result);
  486. END_INTERFACE
  487. } IRegistryServicesVtbl;
  488. interface IRegistryServices
  489. {
  490. CONST_VTBL struct IRegistryServicesVtbl __RPC_FAR *lpVtbl;
  491. };
  492. #ifdef COBJMACROS
  493. #define IRegistryServices_QueryInterface(This,riid,ppvObject) \
  494. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  495. #define IRegistryServices_AddRef(This) \
  496. (This)->lpVtbl -> AddRef(This)
  497. #define IRegistryServices_Release(This) \
  498. (This)->lpVtbl -> Release(This)
  499. #define IRegistryServices_GetTypeInfoCount(This,pctinfo) \
  500. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  501. #define IRegistryServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  502. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  503. #define IRegistryServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  504. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  505. #define IRegistryServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  506. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  507. #define IRegistryServices_GetAccount(This,member_name,domain_ID,member_ID_low,password,country,postal_code,region,city,language_ID,gender,has_full_birth_date,birth_date,nickname,contact_email,has_accessibility,has_wallet,has_directory,has_MSN_IA,has_password_reminder,password_change_date,password_last_reminder_date,flags,profile_version,result) \
  508. (This)->lpVtbl -> GetAccount(This,member_name,domain_ID,member_ID_low,password,country,postal_code,region,city,language_ID,gender,has_full_birth_date,birth_date,nickname,contact_email,has_accessibility,has_wallet,has_directory,has_MSN_IA,has_password_reminder,password_change_date,password_last_reminder_date,flags,profile_version,result)
  509. #define IRegistryServices_GetCities(This,language_ID,cities,result) \
  510. (This)->lpVtbl -> GetCities(This,language_ID,cities,result)
  511. #define IRegistryServices_GetCountries(This,language_ID,countries,result) \
  512. (This)->lpVtbl -> GetCountries(This,language_ID,countries,result)
  513. #define IRegistryServices_GetDomains(This,domains,result) \
  514. (This)->lpVtbl -> GetDomains(This,domains,result)
  515. #define IRegistryServices_GetHint(This,member_name,hint_question,hint_answer,result) \
  516. (This)->lpVtbl -> GetHint(This,member_name,hint_question,hint_answer,result)
  517. #define IRegistryServices_GetHintQuestions(This,language_ID,hint_questions,result) \
  518. (This)->lpVtbl -> GetHintQuestions(This,language_ID,hint_questions,result)
  519. #define IRegistryServices_GetLanguages(This,language_ID,languages,result) \
  520. (This)->lpVtbl -> GetLanguages(This,language_ID,languages,result)
  521. #define IRegistryServices_GetReferringSites(This,referring_sites,result) \
  522. (This)->lpVtbl -> GetReferringSites(This,referring_sites,result)
  523. #define IRegistryServices_GetRegions(This,language_ID,regions,result) \
  524. (This)->lpVtbl -> GetRegions(This,language_ID,regions,result)
  525. #define IRegistryServices_UpdateAccount(This,member_name,country,postal_code,region,city,language_ID,gender,has_full_birth_date,birth_date,nickname,contact_email,has_accessibility,has_wallet,has_directory,has_MSN_IA,has_password_reminder,flags,updater,result) \
  526. (This)->lpVtbl -> UpdateAccount(This,member_name,country,postal_code,region,city,language_ID,gender,has_full_birth_date,birth_date,nickname,contact_email,has_accessibility,has_wallet,has_directory,has_MSN_IA,has_password_reminder,flags,updater,result)
  527. #define IRegistryServices_UpdateHint(This,member_name,hint_question,hint_answer,result) \
  528. (This)->lpVtbl -> UpdateHint(This,member_name,hint_question,hint_answer,result)
  529. #define IRegistryServices_UpdatePassword(This,member_name,new_password,result) \
  530. (This)->lpVtbl -> UpdatePassword(This,member_name,new_password,result)
  531. #endif /* COBJMACROS */
  532. #endif /* C style interface */
  533. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRegistryServices_GetAccount_Proxy(
  534. IRegistryServices __RPC_FAR * This,
  535. /* [in] */ BSTR member_name,
  536. /* [out] */ VARIANT __RPC_FAR *domain_ID,
  537. /* [out] */ VARIANT __RPC_FAR *member_ID_low,
  538. /* [out] */ VARIANT __RPC_FAR *password,
  539. /* [out] */ VARIANT __RPC_FAR *country,
  540. /* [out] */ VARIANT __RPC_FAR *postal_code,
  541. /* [out] */ VARIANT __RPC_FAR *region,
  542. /* [out] */ VARIANT __RPC_FAR *city,
  543. /* [out] */ VARIANT __RPC_FAR *language_ID,
  544. /* [out] */ VARIANT __RPC_FAR *gender,
  545. /* [out] */ VARIANT __RPC_FAR *has_full_birth_date,
  546. /* [out] */ VARIANT __RPC_FAR *birth_date,
  547. /* [out] */ VARIANT __RPC_FAR *nickname,
  548. /* [out] */ VARIANT __RPC_FAR *contact_email,
  549. /* [out] */ VARIANT __RPC_FAR *has_accessibility,
  550. /* [out] */ VARIANT __RPC_FAR *has_wallet,
  551. /* [out] */ VARIANT __RPC_FAR *has_directory,
  552. /* [out] */ VARIANT __RPC_FAR *has_MSN_IA,
  553. /* [out] */ VARIANT __RPC_FAR *has_password_reminder,
  554. /* [out] */ VARIANT __RPC_FAR *password_change_date,
  555. /* [out] */ VARIANT __RPC_FAR *password_last_reminder_date,
  556. /* [out] */ VARIANT __RPC_FAR *flags,
  557. /* [out] */ VARIANT __RPC_FAR *profile_version,
  558. /* [retval][out] */ int __RPC_FAR *result);
  559. void __RPC_STUB IRegistryServices_GetAccount_Stub(
  560. IRpcStubBuffer *This,
  561. IRpcChannelBuffer *_pRpcChannelBuffer,
  562. PRPC_MESSAGE _pRpcMessage,
  563. DWORD *_pdwStubPhase);
  564. /* [helpstring][id] */ HRESULT __stdcall IRegistryServices_GetCities_Proxy(
  565. IRegistryServices __RPC_FAR * This,
  566. /* [in] */ unsigned long language_ID,
  567. /* [out] */ VARIANT __RPC_FAR *cities,
  568. /* [retval][out] */ int __RPC_FAR *result);
  569. void __RPC_STUB IRegistryServices_GetCities_Stub(
  570. IRpcStubBuffer *This,
  571. IRpcChannelBuffer *_pRpcChannelBuffer,
  572. PRPC_MESSAGE _pRpcMessage,
  573. DWORD *_pdwStubPhase);
  574. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRegistryServices_GetCountries_Proxy(
  575. IRegistryServices __RPC_FAR * This,
  576. /* [in] */ unsigned long language_ID,
  577. /* [out] */ VARIANT __RPC_FAR *countries,
  578. /* [retval][out] */ int __RPC_FAR *result);
  579. void __RPC_STUB IRegistryServices_GetCountries_Stub(
  580. IRpcStubBuffer *This,
  581. IRpcChannelBuffer *_pRpcChannelBuffer,
  582. PRPC_MESSAGE _pRpcMessage,
  583. DWORD *_pdwStubPhase);
  584. /* [helpstring][id] */ HRESULT __stdcall IRegistryServices_GetDomains_Proxy(
  585. IRegistryServices __RPC_FAR * This,
  586. /* [out] */ VARIANT __RPC_FAR *domains,
  587. /* [retval][out] */ int __RPC_FAR *result);
  588. void __RPC_STUB IRegistryServices_GetDomains_Stub(
  589. IRpcStubBuffer *This,
  590. IRpcChannelBuffer *_pRpcChannelBuffer,
  591. PRPC_MESSAGE _pRpcMessage,
  592. DWORD *_pdwStubPhase);
  593. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRegistryServices_GetHint_Proxy(
  594. IRegistryServices __RPC_FAR * This,
  595. /* [in] */ BSTR member_name,
  596. /* [out] */ VARIANT __RPC_FAR *hint_question,
  597. /* [out] */ VARIANT __RPC_FAR *hint_answer,
  598. /* [retval][out] */ int __RPC_FAR *result);
  599. void __RPC_STUB IRegistryServices_GetHint_Stub(
  600. IRpcStubBuffer *This,
  601. IRpcChannelBuffer *_pRpcChannelBuffer,
  602. PRPC_MESSAGE _pRpcMessage,
  603. DWORD *_pdwStubPhase);
  604. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRegistryServices_GetHintQuestions_Proxy(
  605. IRegistryServices __RPC_FAR * This,
  606. /* [in] */ unsigned long language_ID,
  607. /* [out] */ VARIANT __RPC_FAR *hint_questions,
  608. /* [retval][out] */ int __RPC_FAR *result);
  609. void __RPC_STUB IRegistryServices_GetHintQuestions_Stub(
  610. IRpcStubBuffer *This,
  611. IRpcChannelBuffer *_pRpcChannelBuffer,
  612. PRPC_MESSAGE _pRpcMessage,
  613. DWORD *_pdwStubPhase);
  614. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRegistryServices_GetLanguages_Proxy(
  615. IRegistryServices __RPC_FAR * This,
  616. /* [optional][in] */ VARIANT __RPC_FAR *language_ID,
  617. /* [out] */ VARIANT __RPC_FAR *languages,
  618. /* [retval][out] */ int __RPC_FAR *result);
  619. void __RPC_STUB IRegistryServices_GetLanguages_Stub(
  620. IRpcStubBuffer *This,
  621. IRpcChannelBuffer *_pRpcChannelBuffer,
  622. PRPC_MESSAGE _pRpcMessage,
  623. DWORD *_pdwStubPhase);
  624. /* [helpstring][id] */ HRESULT __stdcall IRegistryServices_GetReferringSites_Proxy(
  625. IRegistryServices __RPC_FAR * This,
  626. /* [out] */ VARIANT __RPC_FAR *referring_sites,
  627. /* [retval][out] */ int __RPC_FAR *result);
  628. void __RPC_STUB IRegistryServices_GetReferringSites_Stub(
  629. IRpcStubBuffer *This,
  630. IRpcChannelBuffer *_pRpcChannelBuffer,
  631. PRPC_MESSAGE _pRpcMessage,
  632. DWORD *_pdwStubPhase);
  633. /* [helpstring][id] */ HRESULT __stdcall IRegistryServices_GetRegions_Proxy(
  634. IRegistryServices __RPC_FAR * This,
  635. /* [in] */ unsigned long language_ID,
  636. /* [out] */ VARIANT __RPC_FAR *regions,
  637. /* [retval][out] */ int __RPC_FAR *result);
  638. void __RPC_STUB IRegistryServices_GetRegions_Stub(
  639. IRpcStubBuffer *This,
  640. IRpcChannelBuffer *_pRpcChannelBuffer,
  641. PRPC_MESSAGE _pRpcMessage,
  642. DWORD *_pdwStubPhase);
  643. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRegistryServices_UpdateAccount_Proxy(
  644. IRegistryServices __RPC_FAR * This,
  645. /* [in] */ BSTR member_name,
  646. /* [in] */ BSTR country,
  647. /* [in] */ BSTR postal_code,
  648. /* [in] */ unsigned long region,
  649. /* [in] */ unsigned long city,
  650. /* [in] */ unsigned long language_ID,
  651. /* [in] */ BSTR gender,
  652. /* [in] */ unsigned long has_full_birth_date,
  653. /* [in] */ DATE birth_date,
  654. /* [in] */ BSTR nickname,
  655. /* [in] */ BSTR contact_email,
  656. /* [in] */ unsigned long has_accessibility,
  657. /* [in] */ unsigned long has_wallet,
  658. /* [in] */ unsigned long has_directory,
  659. /* [in] */ unsigned long has_MSN_IA,
  660. /* [in] */ unsigned long has_password_reminder,
  661. /* [in] */ unsigned long flags,
  662. /* [optional][in] */ BSTR updater,
  663. /* [retval][out] */ int __RPC_FAR *result);
  664. void __RPC_STUB IRegistryServices_UpdateAccount_Stub(
  665. IRpcStubBuffer *This,
  666. IRpcChannelBuffer *_pRpcChannelBuffer,
  667. PRPC_MESSAGE _pRpcMessage,
  668. DWORD *_pdwStubPhase);
  669. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRegistryServices_UpdateHint_Proxy(
  670. IRegistryServices __RPC_FAR * This,
  671. /* [in] */ BSTR member_name,
  672. /* [in] */ BSTR hint_question,
  673. /* [in] */ BSTR hint_answer,
  674. /* [retval][out] */ int __RPC_FAR *result);
  675. void __RPC_STUB IRegistryServices_UpdateHint_Stub(
  676. IRpcStubBuffer *This,
  677. IRpcChannelBuffer *_pRpcChannelBuffer,
  678. PRPC_MESSAGE _pRpcMessage,
  679. DWORD *_pdwStubPhase);
  680. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRegistryServices_UpdatePassword_Proxy(
  681. IRegistryServices __RPC_FAR * This,
  682. /* [in] */ BSTR member_name,
  683. /* [in] */ BSTR new_password,
  684. /* [retval][out] */ int __RPC_FAR *result);
  685. void __RPC_STUB IRegistryServices_UpdatePassword_Stub(
  686. IRpcStubBuffer *This,
  687. IRpcChannelBuffer *_pRpcChannelBuffer,
  688. PRPC_MESSAGE _pRpcMessage,
  689. DWORD *_pdwStubPhase);
  690. #endif /* __IRegistryServices_INTERFACE_DEFINED__ */
  691. #ifndef __PROFILESERVLib_LIBRARY_DEFINED__
  692. #define __PROFILESERVLib_LIBRARY_DEFINED__
  693. /* library PROFILESERVLib */
  694. /* [version][helpstring][uuid] */
  695. EXTERN_C const IID LIBID_PROFILESERVLib;
  696. EXTERN_C const CLSID CLSID_PRegistrar;
  697. #ifdef __cplusplus
  698. class DECLSPEC_UUID("725D4CEA-6DEB-11D2-863A-00C04FBBECDE")
  699. PRegistrar;
  700. #endif
  701. EXTERN_C const CLSID CLSID_RegistryServices;
  702. #ifdef __cplusplus
  703. class DECLSPEC_UUID("3B89FEF2-7270-11D2-863A-00C04FBBECDE")
  704. RegistryServices;
  705. #endif
  706. #endif /* __PROFILESERVLib_LIBRARY_DEFINED__ */
  707. /* Additional Prototypes for ALL interfaces */
  708. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  709. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  710. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  711. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  712. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  713. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  714. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  715. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  716. /* end of Additional Prototypes */
  717. #ifdef __cplusplus
  718. }
  719. #endif
  720. #endif