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.

5497 lines
193 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 passport.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
  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 __passport_h__
  27. #define __passport_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDomainMap_FWD_DEFINED__
  33. #define __IDomainMap_FWD_DEFINED__
  34. typedef interface IDomainMap IDomainMap;
  35. #endif /* __IDomainMap_FWD_DEFINED__ */
  36. #ifndef __IPassportTicket_FWD_DEFINED__
  37. #define __IPassportTicket_FWD_DEFINED__
  38. typedef interface IPassportTicket IPassportTicket;
  39. #endif /* __IPassportTicket_FWD_DEFINED__ */
  40. #ifndef __IPassportTicket2_FWD_DEFINED__
  41. #define __IPassportTicket2_FWD_DEFINED__
  42. typedef interface IPassportTicket2 IPassportTicket2;
  43. #endif /* __IPassportTicket2_FWD_DEFINED__ */
  44. #ifndef __IPassportProfile_FWD_DEFINED__
  45. #define __IPassportProfile_FWD_DEFINED__
  46. typedef interface IPassportProfile IPassportProfile;
  47. #endif /* __IPassportProfile_FWD_DEFINED__ */
  48. #ifndef __IPassportManager_FWD_DEFINED__
  49. #define __IPassportManager_FWD_DEFINED__
  50. typedef interface IPassportManager IPassportManager;
  51. #endif /* __IPassportManager_FWD_DEFINED__ */
  52. #ifndef __IPassportManager2_FWD_DEFINED__
  53. #define __IPassportManager2_FWD_DEFINED__
  54. typedef interface IPassportManager2 IPassportManager2;
  55. #endif /* __IPassportManager2_FWD_DEFINED__ */
  56. #ifndef __IPassportManager3_FWD_DEFINED__
  57. #define __IPassportManager3_FWD_DEFINED__
  58. typedef interface IPassportManager3 IPassportManager3;
  59. #endif /* __IPassportManager3_FWD_DEFINED__ */
  60. #ifndef __IPassportCrypt_FWD_DEFINED__
  61. #define __IPassportCrypt_FWD_DEFINED__
  62. typedef interface IPassportCrypt IPassportCrypt;
  63. #endif /* __IPassportCrypt_FWD_DEFINED__ */
  64. #ifndef __IPassportAdmin_FWD_DEFINED__
  65. #define __IPassportAdmin_FWD_DEFINED__
  66. typedef interface IPassportAdmin IPassportAdmin;
  67. #endif /* __IPassportAdmin_FWD_DEFINED__ */
  68. #ifndef __IPassportAdminEx_FWD_DEFINED__
  69. #define __IPassportAdminEx_FWD_DEFINED__
  70. typedef interface IPassportAdminEx IPassportAdminEx;
  71. #endif /* __IPassportAdminEx_FWD_DEFINED__ */
  72. #ifndef __IPassportFastAuth_FWD_DEFINED__
  73. #define __IPassportFastAuth_FWD_DEFINED__
  74. typedef interface IPassportFastAuth IPassportFastAuth;
  75. #endif /* __IPassportFastAuth_FWD_DEFINED__ */
  76. #ifndef __IPassportFastAuth2_FWD_DEFINED__
  77. #define __IPassportFastAuth2_FWD_DEFINED__
  78. typedef interface IPassportFastAuth2 IPassportFastAuth2;
  79. #endif /* __IPassportFastAuth2_FWD_DEFINED__ */
  80. #ifndef __IPassportFactory_FWD_DEFINED__
  81. #define __IPassportFactory_FWD_DEFINED__
  82. typedef interface IPassportFactory IPassportFactory;
  83. #endif /* __IPassportFactory_FWD_DEFINED__ */
  84. #ifndef __Manager_FWD_DEFINED__
  85. #define __Manager_FWD_DEFINED__
  86. #ifdef __cplusplus
  87. typedef class Manager Manager;
  88. #else
  89. typedef struct Manager Manager;
  90. #endif /* __cplusplus */
  91. #endif /* __Manager_FWD_DEFINED__ */
  92. #ifndef __Ticket_FWD_DEFINED__
  93. #define __Ticket_FWD_DEFINED__
  94. #ifdef __cplusplus
  95. typedef class Ticket Ticket;
  96. #else
  97. typedef struct Ticket Ticket;
  98. #endif /* __cplusplus */
  99. #endif /* __Ticket_FWD_DEFINED__ */
  100. #ifndef __Profile_FWD_DEFINED__
  101. #define __Profile_FWD_DEFINED__
  102. #ifdef __cplusplus
  103. typedef class Profile Profile;
  104. #else
  105. typedef struct Profile Profile;
  106. #endif /* __cplusplus */
  107. #endif /* __Profile_FWD_DEFINED__ */
  108. #ifndef __Crypt_FWD_DEFINED__
  109. #define __Crypt_FWD_DEFINED__
  110. #ifdef __cplusplus
  111. typedef class Crypt Crypt;
  112. #else
  113. typedef struct Crypt Crypt;
  114. #endif /* __cplusplus */
  115. #endif /* __Crypt_FWD_DEFINED__ */
  116. #ifndef __Admin_FWD_DEFINED__
  117. #define __Admin_FWD_DEFINED__
  118. #ifdef __cplusplus
  119. typedef class Admin Admin;
  120. #else
  121. typedef struct Admin Admin;
  122. #endif /* __cplusplus */
  123. #endif /* __Admin_FWD_DEFINED__ */
  124. #ifndef __FastAuth_FWD_DEFINED__
  125. #define __FastAuth_FWD_DEFINED__
  126. #ifdef __cplusplus
  127. typedef class FastAuth FastAuth;
  128. #else
  129. typedef struct FastAuth FastAuth;
  130. #endif /* __cplusplus */
  131. #endif /* __FastAuth_FWD_DEFINED__ */
  132. #ifndef __PassportFactory_FWD_DEFINED__
  133. #define __PassportFactory_FWD_DEFINED__
  134. #ifdef __cplusplus
  135. typedef class PassportFactory PassportFactory;
  136. #else
  137. typedef struct PassportFactory PassportFactory;
  138. #endif /* __cplusplus */
  139. #endif /* __PassportFactory_FWD_DEFINED__ */
  140. /* header files for imported files */
  141. #include "oaidl.h"
  142. #include "ocidl.h"
  143. #ifdef __cplusplus
  144. extern "C"{
  145. #endif
  146. void * __RPC_USER MIDL_user_allocate(size_t);
  147. void __RPC_USER MIDL_user_free( void * );
  148. /* interface __MIDL_itf_passport_0000 */
  149. /* [local] */
  150. // Size definitions
  151. #define PASSPORT_COOKIES_MAXLEN ( 512 )
  152. #define PASSPORT_COOKIES_BUFSIZE ( PASSPORT_COOKIES_MAXLEN + 1 )
  153. #define PASSPORT_EMAIL_MAXLEN ( 64 + 1 + 64 )
  154. #define PASSPORT_EMAIL_BUFSIZE ( PASSPORT_EMAIL_MAXLEN + 1 )
  155. #define PASSPORT_NICKNAME_MAXLEN ( 30 )
  156. #define PASSPORT_NICKNAME_BUFSIZE ( PASSPORT_NICKNAME_MAXLEN + 1 )
  157. #define MSPP_PROF_MEMBER_NAME ( "membername" )
  158. #define MSPP_PROF_HI_UID ( "memberidhigh" )
  159. #define MSPP_PROF_LO_UID ( "memberidlow" )
  160. #define MSPP_PROF_VERSION ( "profileVersion" )
  161. #define MSPP_PROF_COUNTRY ( "country" )
  162. #define MSPP_PROF_POSTALCODE ( "postalCode" )
  163. #define MSPP_PROF_REGION ( "region" )
  164. #define MSPP_PROF_CITY ( "city" )
  165. #define MSPP_PROF_LANGPREF ( "lang_preference" )
  166. #define MSPP_PROF_BDAYPREC ( "bday_precision" )
  167. #define MSPP_PROF_BDATE ( "birthdate" )
  168. #define MSPP_PROF_GENDER ( "gender" )
  169. #define MSPP_PROF_PREF_EMAIL ( "preferredEmail" )
  170. #define MSPP_PROF_NICKNAME ( "nickname" )
  171. #define MSPP_PROF_ACCESS ( "accessibility" )
  172. #define MSPP_PROF_WALLET ( "wallet" )
  173. #define MSPP_PROF_DIRECTORY ( "directory" )
  174. #define MSPP_PROF_MSNIA ( "inetaccess" )
  175. #define MSPP_PROF_FLAGS ( "flags" )
  176. extern RPC_IF_HANDLE __MIDL_itf_passport_0000_v0_0_c_ifspec;
  177. extern RPC_IF_HANDLE __MIDL_itf_passport_0000_v0_0_s_ifspec;
  178. #ifndef __IDomainMap_INTERFACE_DEFINED__
  179. #define __IDomainMap_INTERFACE_DEFINED__
  180. /* interface IDomainMap */
  181. /* [unique][helpstring][dual][uuid][object] */
  182. EXTERN_C const IID IID_IDomainMap;
  183. #if defined(__cplusplus) && !defined(CINTERFACE)
  184. MIDL_INTERFACE("ACE1AC86-E14F-4f7b-B89A-805A69959680")
  185. IDomainMap : public IUnknown
  186. {
  187. public:
  188. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDomainAttribute(
  189. /* [in] */ BSTR attributeName,
  190. /* [optional][in] */ VARIANT lcid,
  191. /* [optional][in] */ VARIANT domain,
  192. /* [retval][out] */ BSTR *pAttrVal) = 0;
  193. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Domains(
  194. /* [retval][out] */ VARIANT *pArrayVal) = 0;
  195. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DomainExists(
  196. /* [in] */ BSTR domainName,
  197. /* [retval][out] */ VARIANT_BOOL *pbExists) = 0;
  198. };
  199. #else /* C style interface */
  200. typedef struct IDomainMapVtbl
  201. {
  202. BEGIN_INTERFACE
  203. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  204. IDomainMap * This,
  205. /* [in] */ REFIID riid,
  206. /* [iid_is][out] */ void **ppvObject);
  207. ULONG ( STDMETHODCALLTYPE *AddRef )(
  208. IDomainMap * This);
  209. ULONG ( STDMETHODCALLTYPE *Release )(
  210. IDomainMap * This);
  211. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDomainAttribute )(
  212. IDomainMap * This,
  213. /* [in] */ BSTR attributeName,
  214. /* [optional][in] */ VARIANT lcid,
  215. /* [optional][in] */ VARIANT domain,
  216. /* [retval][out] */ BSTR *pAttrVal);
  217. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Domains )(
  218. IDomainMap * This,
  219. /* [retval][out] */ VARIANT *pArrayVal);
  220. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DomainExists )(
  221. IDomainMap * This,
  222. /* [in] */ BSTR domainName,
  223. /* [retval][out] */ VARIANT_BOOL *pbExists);
  224. END_INTERFACE
  225. } IDomainMapVtbl;
  226. interface IDomainMap
  227. {
  228. CONST_VTBL struct IDomainMapVtbl *lpVtbl;
  229. };
  230. #ifdef COBJMACROS
  231. #define IDomainMap_QueryInterface(This,riid,ppvObject) \
  232. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  233. #define IDomainMap_AddRef(This) \
  234. (This)->lpVtbl -> AddRef(This)
  235. #define IDomainMap_Release(This) \
  236. (This)->lpVtbl -> Release(This)
  237. #define IDomainMap_GetDomainAttribute(This,attributeName,lcid,domain,pAttrVal) \
  238. (This)->lpVtbl -> GetDomainAttribute(This,attributeName,lcid,domain,pAttrVal)
  239. #define IDomainMap_get_Domains(This,pArrayVal) \
  240. (This)->lpVtbl -> get_Domains(This,pArrayVal)
  241. #define IDomainMap_DomainExists(This,domainName,pbExists) \
  242. (This)->lpVtbl -> DomainExists(This,domainName,pbExists)
  243. #endif /* COBJMACROS */
  244. #endif /* C style interface */
  245. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDomainMap_GetDomainAttribute_Proxy(
  246. IDomainMap * This,
  247. /* [in] */ BSTR attributeName,
  248. /* [optional][in] */ VARIANT lcid,
  249. /* [optional][in] */ VARIANT domain,
  250. /* [retval][out] */ BSTR *pAttrVal);
  251. void __RPC_STUB IDomainMap_GetDomainAttribute_Stub(
  252. IRpcStubBuffer *This,
  253. IRpcChannelBuffer *_pRpcChannelBuffer,
  254. PRPC_MESSAGE _pRpcMessage,
  255. DWORD *_pdwStubPhase);
  256. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IDomainMap_get_Domains_Proxy(
  257. IDomainMap * This,
  258. /* [retval][out] */ VARIANT *pArrayVal);
  259. void __RPC_STUB IDomainMap_get_Domains_Stub(
  260. IRpcStubBuffer *This,
  261. IRpcChannelBuffer *_pRpcChannelBuffer,
  262. PRPC_MESSAGE _pRpcMessage,
  263. DWORD *_pdwStubPhase);
  264. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDomainMap_DomainExists_Proxy(
  265. IDomainMap * This,
  266. /* [in] */ BSTR domainName,
  267. /* [retval][out] */ VARIANT_BOOL *pbExists);
  268. void __RPC_STUB IDomainMap_DomainExists_Stub(
  269. IRpcStubBuffer *This,
  270. IRpcChannelBuffer *_pRpcChannelBuffer,
  271. PRPC_MESSAGE _pRpcMessage,
  272. DWORD *_pdwStubPhase);
  273. #endif /* __IDomainMap_INTERFACE_DEFINED__ */
  274. #ifndef __IPassportTicket_INTERFACE_DEFINED__
  275. #define __IPassportTicket_INTERFACE_DEFINED__
  276. /* interface IPassportTicket */
  277. /* [unique][helpstring][dual][uuid][object] */
  278. EXTERN_C const IID IID_IPassportTicket;
  279. #if defined(__cplusplus) && !defined(CINTERFACE)
  280. MIDL_INTERFACE("41651BF1-A5C8-11D2-95DF-00C04F8E7A70")
  281. IPassportTicket : public IDispatch
  282. {
  283. public:
  284. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_unencryptedTicket(
  285. /* [retval][out] */ BSTR *pVal) = 0;
  286. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_unencryptedTicket(
  287. /* [in] */ BSTR newVal) = 0;
  288. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsAuthenticated(
  289. /* [in] */ ULONG TimeWindow,
  290. /* [in] */ VARIANT_BOOL ForceLogin,
  291. /* [optional][in] */ VARIANT SecureCheck,
  292. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  293. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TicketAge(
  294. /* [retval][out] */ int *pVal) = 0;
  295. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TimeSinceSignIn(
  296. /* [retval][out] */ int *pVal) = 0;
  297. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MemberId(
  298. /* [retval][out] */ BSTR *pVal) = 0;
  299. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MemberIdLow(
  300. /* [retval][out] */ int *pVal) = 0;
  301. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MemberIdHigh(
  302. /* [retval][out] */ int *pVal) = 0;
  303. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HasSavedPassword(
  304. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  305. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SignInServer(
  306. /* [retval][out] */ BSTR *pVal) = 0;
  307. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TicketTime(
  308. /* [retval][out] */ long *pVal) = 0;
  309. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SignInTime(
  310. /* [retval][out] */ long *pVal) = 0;
  311. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error(
  312. /* [retval][out] */ long *pVal) = 0;
  313. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DoSecureCheck(
  314. /* [in] */ BSTR bstrSec) = 0;
  315. };
  316. #else /* C style interface */
  317. typedef struct IPassportTicketVtbl
  318. {
  319. BEGIN_INTERFACE
  320. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  321. IPassportTicket * This,
  322. /* [in] */ REFIID riid,
  323. /* [iid_is][out] */ void **ppvObject);
  324. ULONG ( STDMETHODCALLTYPE *AddRef )(
  325. IPassportTicket * This);
  326. ULONG ( STDMETHODCALLTYPE *Release )(
  327. IPassportTicket * This);
  328. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  329. IPassportTicket * This,
  330. /* [out] */ UINT *pctinfo);
  331. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  332. IPassportTicket * This,
  333. /* [in] */ UINT iTInfo,
  334. /* [in] */ LCID lcid,
  335. /* [out] */ ITypeInfo **ppTInfo);
  336. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  337. IPassportTicket * This,
  338. /* [in] */ REFIID riid,
  339. /* [size_is][in] */ LPOLESTR *rgszNames,
  340. /* [in] */ UINT cNames,
  341. /* [in] */ LCID lcid,
  342. /* [size_is][out] */ DISPID *rgDispId);
  343. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  344. IPassportTicket * This,
  345. /* [in] */ DISPID dispIdMember,
  346. /* [in] */ REFIID riid,
  347. /* [in] */ LCID lcid,
  348. /* [in] */ WORD wFlags,
  349. /* [out][in] */ DISPPARAMS *pDispParams,
  350. /* [out] */ VARIANT *pVarResult,
  351. /* [out] */ EXCEPINFO *pExcepInfo,
  352. /* [out] */ UINT *puArgErr);
  353. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_unencryptedTicket )(
  354. IPassportTicket * This,
  355. /* [retval][out] */ BSTR *pVal);
  356. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_unencryptedTicket )(
  357. IPassportTicket * This,
  358. /* [in] */ BSTR newVal);
  359. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsAuthenticated )(
  360. IPassportTicket * This,
  361. /* [in] */ ULONG TimeWindow,
  362. /* [in] */ VARIANT_BOOL ForceLogin,
  363. /* [optional][in] */ VARIANT SecureCheck,
  364. /* [retval][out] */ VARIANT_BOOL *pVal);
  365. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TicketAge )(
  366. IPassportTicket * This,
  367. /* [retval][out] */ int *pVal);
  368. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TimeSinceSignIn )(
  369. IPassportTicket * This,
  370. /* [retval][out] */ int *pVal);
  371. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MemberId )(
  372. IPassportTicket * This,
  373. /* [retval][out] */ BSTR *pVal);
  374. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MemberIdLow )(
  375. IPassportTicket * This,
  376. /* [retval][out] */ int *pVal);
  377. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MemberIdHigh )(
  378. IPassportTicket * This,
  379. /* [retval][out] */ int *pVal);
  380. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasSavedPassword )(
  381. IPassportTicket * This,
  382. /* [retval][out] */ VARIANT_BOOL *pVal);
  383. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SignInServer )(
  384. IPassportTicket * This,
  385. /* [retval][out] */ BSTR *pVal);
  386. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TicketTime )(
  387. IPassportTicket * This,
  388. /* [retval][out] */ long *pVal);
  389. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SignInTime )(
  390. IPassportTicket * This,
  391. /* [retval][out] */ long *pVal);
  392. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  393. IPassportTicket * This,
  394. /* [retval][out] */ long *pVal);
  395. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DoSecureCheck )(
  396. IPassportTicket * This,
  397. /* [in] */ BSTR bstrSec);
  398. END_INTERFACE
  399. } IPassportTicketVtbl;
  400. interface IPassportTicket
  401. {
  402. CONST_VTBL struct IPassportTicketVtbl *lpVtbl;
  403. };
  404. #ifdef COBJMACROS
  405. #define IPassportTicket_QueryInterface(This,riid,ppvObject) \
  406. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  407. #define IPassportTicket_AddRef(This) \
  408. (This)->lpVtbl -> AddRef(This)
  409. #define IPassportTicket_Release(This) \
  410. (This)->lpVtbl -> Release(This)
  411. #define IPassportTicket_GetTypeInfoCount(This,pctinfo) \
  412. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  413. #define IPassportTicket_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  414. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  415. #define IPassportTicket_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  416. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  417. #define IPassportTicket_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  418. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  419. #define IPassportTicket_get_unencryptedTicket(This,pVal) \
  420. (This)->lpVtbl -> get_unencryptedTicket(This,pVal)
  421. #define IPassportTicket_put_unencryptedTicket(This,newVal) \
  422. (This)->lpVtbl -> put_unencryptedTicket(This,newVal)
  423. #define IPassportTicket_get_IsAuthenticated(This,TimeWindow,ForceLogin,SecureCheck,pVal) \
  424. (This)->lpVtbl -> get_IsAuthenticated(This,TimeWindow,ForceLogin,SecureCheck,pVal)
  425. #define IPassportTicket_get_TicketAge(This,pVal) \
  426. (This)->lpVtbl -> get_TicketAge(This,pVal)
  427. #define IPassportTicket_get_TimeSinceSignIn(This,pVal) \
  428. (This)->lpVtbl -> get_TimeSinceSignIn(This,pVal)
  429. #define IPassportTicket_get_MemberId(This,pVal) \
  430. (This)->lpVtbl -> get_MemberId(This,pVal)
  431. #define IPassportTicket_get_MemberIdLow(This,pVal) \
  432. (This)->lpVtbl -> get_MemberIdLow(This,pVal)
  433. #define IPassportTicket_get_MemberIdHigh(This,pVal) \
  434. (This)->lpVtbl -> get_MemberIdHigh(This,pVal)
  435. #define IPassportTicket_get_HasSavedPassword(This,pVal) \
  436. (This)->lpVtbl -> get_HasSavedPassword(This,pVal)
  437. #define IPassportTicket_get_SignInServer(This,pVal) \
  438. (This)->lpVtbl -> get_SignInServer(This,pVal)
  439. #define IPassportTicket_get_TicketTime(This,pVal) \
  440. (This)->lpVtbl -> get_TicketTime(This,pVal)
  441. #define IPassportTicket_get_SignInTime(This,pVal) \
  442. (This)->lpVtbl -> get_SignInTime(This,pVal)
  443. #define IPassportTicket_get_Error(This,pVal) \
  444. (This)->lpVtbl -> get_Error(This,pVal)
  445. #define IPassportTicket_DoSecureCheck(This,bstrSec) \
  446. (This)->lpVtbl -> DoSecureCheck(This,bstrSec)
  447. #endif /* COBJMACROS */
  448. #endif /* C style interface */
  449. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_unencryptedTicket_Proxy(
  450. IPassportTicket * This,
  451. /* [retval][out] */ BSTR *pVal);
  452. void __RPC_STUB IPassportTicket_get_unencryptedTicket_Stub(
  453. IRpcStubBuffer *This,
  454. IRpcChannelBuffer *_pRpcChannelBuffer,
  455. PRPC_MESSAGE _pRpcMessage,
  456. DWORD *_pdwStubPhase);
  457. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPassportTicket_put_unencryptedTicket_Proxy(
  458. IPassportTicket * This,
  459. /* [in] */ BSTR newVal);
  460. void __RPC_STUB IPassportTicket_put_unencryptedTicket_Stub(
  461. IRpcStubBuffer *This,
  462. IRpcChannelBuffer *_pRpcChannelBuffer,
  463. PRPC_MESSAGE _pRpcMessage,
  464. DWORD *_pdwStubPhase);
  465. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_IsAuthenticated_Proxy(
  466. IPassportTicket * This,
  467. /* [in] */ ULONG TimeWindow,
  468. /* [in] */ VARIANT_BOOL ForceLogin,
  469. /* [optional][in] */ VARIANT SecureCheck,
  470. /* [retval][out] */ VARIANT_BOOL *pVal);
  471. void __RPC_STUB IPassportTicket_get_IsAuthenticated_Stub(
  472. IRpcStubBuffer *This,
  473. IRpcChannelBuffer *_pRpcChannelBuffer,
  474. PRPC_MESSAGE _pRpcMessage,
  475. DWORD *_pdwStubPhase);
  476. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_TicketAge_Proxy(
  477. IPassportTicket * This,
  478. /* [retval][out] */ int *pVal);
  479. void __RPC_STUB IPassportTicket_get_TicketAge_Stub(
  480. IRpcStubBuffer *This,
  481. IRpcChannelBuffer *_pRpcChannelBuffer,
  482. PRPC_MESSAGE _pRpcMessage,
  483. DWORD *_pdwStubPhase);
  484. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_TimeSinceSignIn_Proxy(
  485. IPassportTicket * This,
  486. /* [retval][out] */ int *pVal);
  487. void __RPC_STUB IPassportTicket_get_TimeSinceSignIn_Stub(
  488. IRpcStubBuffer *This,
  489. IRpcChannelBuffer *_pRpcChannelBuffer,
  490. PRPC_MESSAGE _pRpcMessage,
  491. DWORD *_pdwStubPhase);
  492. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_MemberId_Proxy(
  493. IPassportTicket * This,
  494. /* [retval][out] */ BSTR *pVal);
  495. void __RPC_STUB IPassportTicket_get_MemberId_Stub(
  496. IRpcStubBuffer *This,
  497. IRpcChannelBuffer *_pRpcChannelBuffer,
  498. PRPC_MESSAGE _pRpcMessage,
  499. DWORD *_pdwStubPhase);
  500. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_MemberIdLow_Proxy(
  501. IPassportTicket * This,
  502. /* [retval][out] */ int *pVal);
  503. void __RPC_STUB IPassportTicket_get_MemberIdLow_Stub(
  504. IRpcStubBuffer *This,
  505. IRpcChannelBuffer *_pRpcChannelBuffer,
  506. PRPC_MESSAGE _pRpcMessage,
  507. DWORD *_pdwStubPhase);
  508. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_MemberIdHigh_Proxy(
  509. IPassportTicket * This,
  510. /* [retval][out] */ int *pVal);
  511. void __RPC_STUB IPassportTicket_get_MemberIdHigh_Stub(
  512. IRpcStubBuffer *This,
  513. IRpcChannelBuffer *_pRpcChannelBuffer,
  514. PRPC_MESSAGE _pRpcMessage,
  515. DWORD *_pdwStubPhase);
  516. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_HasSavedPassword_Proxy(
  517. IPassportTicket * This,
  518. /* [retval][out] */ VARIANT_BOOL *pVal);
  519. void __RPC_STUB IPassportTicket_get_HasSavedPassword_Stub(
  520. IRpcStubBuffer *This,
  521. IRpcChannelBuffer *_pRpcChannelBuffer,
  522. PRPC_MESSAGE _pRpcMessage,
  523. DWORD *_pdwStubPhase);
  524. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_SignInServer_Proxy(
  525. IPassportTicket * This,
  526. /* [retval][out] */ BSTR *pVal);
  527. void __RPC_STUB IPassportTicket_get_SignInServer_Stub(
  528. IRpcStubBuffer *This,
  529. IRpcChannelBuffer *_pRpcChannelBuffer,
  530. PRPC_MESSAGE _pRpcMessage,
  531. DWORD *_pdwStubPhase);
  532. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_TicketTime_Proxy(
  533. IPassportTicket * This,
  534. /* [retval][out] */ long *pVal);
  535. void __RPC_STUB IPassportTicket_get_TicketTime_Stub(
  536. IRpcStubBuffer *This,
  537. IRpcChannelBuffer *_pRpcChannelBuffer,
  538. PRPC_MESSAGE _pRpcMessage,
  539. DWORD *_pdwStubPhase);
  540. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_SignInTime_Proxy(
  541. IPassportTicket * This,
  542. /* [retval][out] */ long *pVal);
  543. void __RPC_STUB IPassportTicket_get_SignInTime_Stub(
  544. IRpcStubBuffer *This,
  545. IRpcChannelBuffer *_pRpcChannelBuffer,
  546. PRPC_MESSAGE _pRpcMessage,
  547. DWORD *_pdwStubPhase);
  548. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportTicket_get_Error_Proxy(
  549. IPassportTicket * This,
  550. /* [retval][out] */ long *pVal);
  551. void __RPC_STUB IPassportTicket_get_Error_Stub(
  552. IRpcStubBuffer *This,
  553. IRpcChannelBuffer *_pRpcChannelBuffer,
  554. PRPC_MESSAGE _pRpcMessage,
  555. DWORD *_pdwStubPhase);
  556. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportTicket_DoSecureCheck_Proxy(
  557. IPassportTicket * This,
  558. /* [in] */ BSTR bstrSec);
  559. void __RPC_STUB IPassportTicket_DoSecureCheck_Stub(
  560. IRpcStubBuffer *This,
  561. IRpcChannelBuffer *_pRpcChannelBuffer,
  562. PRPC_MESSAGE _pRpcMessage,
  563. DWORD *_pdwStubPhase);
  564. #endif /* __IPassportTicket_INTERFACE_DEFINED__ */
  565. #ifndef __IPassportTicket2_INTERFACE_DEFINED__
  566. #define __IPassportTicket2_INTERFACE_DEFINED__
  567. /* interface IPassportTicket2 */
  568. /* [unique][helpstring][dual][uuid][object] */
  569. typedef /* [public][public] */
  570. enum __MIDL_IPassportTicket2_0001
  571. { NeedConsent_No = 0,
  572. NeedConsent_Yes = 1,
  573. NeedConsent_Undefined = 2
  574. } NeedConsentEnum;
  575. EXTERN_C const IID IID_IPassportTicket2;
  576. #if defined(__cplusplus) && !defined(CINTERFACE)
  577. MIDL_INTERFACE("5992F4F4-05CB-4944-A426-1E1870266F85")
  578. IPassportTicket2 : public IPassportTicket
  579. {
  580. public:
  581. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetProperty(
  582. /* [in] */ BSTR propName,
  583. /* [retval][out] */ VARIANT *pVal) = 0;
  584. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetTertiaryConsent(
  585. /* [in] */ BSTR consentCookie) = 0;
  586. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE needConsent(
  587. /* [out] */ ULONG *consentFlags,
  588. /* [retval][out] */ NeedConsentEnum *pNeedConsent) = 0;
  589. };
  590. #else /* C style interface */
  591. typedef struct IPassportTicket2Vtbl
  592. {
  593. BEGIN_INTERFACE
  594. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  595. IPassportTicket2 * This,
  596. /* [in] */ REFIID riid,
  597. /* [iid_is][out] */ void **ppvObject);
  598. ULONG ( STDMETHODCALLTYPE *AddRef )(
  599. IPassportTicket2 * This);
  600. ULONG ( STDMETHODCALLTYPE *Release )(
  601. IPassportTicket2 * This);
  602. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  603. IPassportTicket2 * This,
  604. /* [out] */ UINT *pctinfo);
  605. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  606. IPassportTicket2 * This,
  607. /* [in] */ UINT iTInfo,
  608. /* [in] */ LCID lcid,
  609. /* [out] */ ITypeInfo **ppTInfo);
  610. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  611. IPassportTicket2 * This,
  612. /* [in] */ REFIID riid,
  613. /* [size_is][in] */ LPOLESTR *rgszNames,
  614. /* [in] */ UINT cNames,
  615. /* [in] */ LCID lcid,
  616. /* [size_is][out] */ DISPID *rgDispId);
  617. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  618. IPassportTicket2 * This,
  619. /* [in] */ DISPID dispIdMember,
  620. /* [in] */ REFIID riid,
  621. /* [in] */ LCID lcid,
  622. /* [in] */ WORD wFlags,
  623. /* [out][in] */ DISPPARAMS *pDispParams,
  624. /* [out] */ VARIANT *pVarResult,
  625. /* [out] */ EXCEPINFO *pExcepInfo,
  626. /* [out] */ UINT *puArgErr);
  627. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_unencryptedTicket )(
  628. IPassportTicket2 * This,
  629. /* [retval][out] */ BSTR *pVal);
  630. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_unencryptedTicket )(
  631. IPassportTicket2 * This,
  632. /* [in] */ BSTR newVal);
  633. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsAuthenticated )(
  634. IPassportTicket2 * This,
  635. /* [in] */ ULONG TimeWindow,
  636. /* [in] */ VARIANT_BOOL ForceLogin,
  637. /* [optional][in] */ VARIANT SecureCheck,
  638. /* [retval][out] */ VARIANT_BOOL *pVal);
  639. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TicketAge )(
  640. IPassportTicket2 * This,
  641. /* [retval][out] */ int *pVal);
  642. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TimeSinceSignIn )(
  643. IPassportTicket2 * This,
  644. /* [retval][out] */ int *pVal);
  645. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MemberId )(
  646. IPassportTicket2 * This,
  647. /* [retval][out] */ BSTR *pVal);
  648. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MemberIdLow )(
  649. IPassportTicket2 * This,
  650. /* [retval][out] */ int *pVal);
  651. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MemberIdHigh )(
  652. IPassportTicket2 * This,
  653. /* [retval][out] */ int *pVal);
  654. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasSavedPassword )(
  655. IPassportTicket2 * This,
  656. /* [retval][out] */ VARIANT_BOOL *pVal);
  657. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SignInServer )(
  658. IPassportTicket2 * This,
  659. /* [retval][out] */ BSTR *pVal);
  660. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TicketTime )(
  661. IPassportTicket2 * This,
  662. /* [retval][out] */ long *pVal);
  663. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SignInTime )(
  664. IPassportTicket2 * This,
  665. /* [retval][out] */ long *pVal);
  666. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  667. IPassportTicket2 * This,
  668. /* [retval][out] */ long *pVal);
  669. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DoSecureCheck )(
  670. IPassportTicket2 * This,
  671. /* [in] */ BSTR bstrSec);
  672. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  673. IPassportTicket2 * This,
  674. /* [in] */ BSTR propName,
  675. /* [retval][out] */ VARIANT *pVal);
  676. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetTertiaryConsent )(
  677. IPassportTicket2 * This,
  678. /* [in] */ BSTR consentCookie);
  679. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *needConsent )(
  680. IPassportTicket2 * This,
  681. /* [out] */ ULONG *consentFlags,
  682. /* [retval][out] */ NeedConsentEnum *pNeedConsent);
  683. END_INTERFACE
  684. } IPassportTicket2Vtbl;
  685. interface IPassportTicket2
  686. {
  687. CONST_VTBL struct IPassportTicket2Vtbl *lpVtbl;
  688. };
  689. #ifdef COBJMACROS
  690. #define IPassportTicket2_QueryInterface(This,riid,ppvObject) \
  691. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  692. #define IPassportTicket2_AddRef(This) \
  693. (This)->lpVtbl -> AddRef(This)
  694. #define IPassportTicket2_Release(This) \
  695. (This)->lpVtbl -> Release(This)
  696. #define IPassportTicket2_GetTypeInfoCount(This,pctinfo) \
  697. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  698. #define IPassportTicket2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  699. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  700. #define IPassportTicket2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  701. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  702. #define IPassportTicket2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  703. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  704. #define IPassportTicket2_get_unencryptedTicket(This,pVal) \
  705. (This)->lpVtbl -> get_unencryptedTicket(This,pVal)
  706. #define IPassportTicket2_put_unencryptedTicket(This,newVal) \
  707. (This)->lpVtbl -> put_unencryptedTicket(This,newVal)
  708. #define IPassportTicket2_get_IsAuthenticated(This,TimeWindow,ForceLogin,SecureCheck,pVal) \
  709. (This)->lpVtbl -> get_IsAuthenticated(This,TimeWindow,ForceLogin,SecureCheck,pVal)
  710. #define IPassportTicket2_get_TicketAge(This,pVal) \
  711. (This)->lpVtbl -> get_TicketAge(This,pVal)
  712. #define IPassportTicket2_get_TimeSinceSignIn(This,pVal) \
  713. (This)->lpVtbl -> get_TimeSinceSignIn(This,pVal)
  714. #define IPassportTicket2_get_MemberId(This,pVal) \
  715. (This)->lpVtbl -> get_MemberId(This,pVal)
  716. #define IPassportTicket2_get_MemberIdLow(This,pVal) \
  717. (This)->lpVtbl -> get_MemberIdLow(This,pVal)
  718. #define IPassportTicket2_get_MemberIdHigh(This,pVal) \
  719. (This)->lpVtbl -> get_MemberIdHigh(This,pVal)
  720. #define IPassportTicket2_get_HasSavedPassword(This,pVal) \
  721. (This)->lpVtbl -> get_HasSavedPassword(This,pVal)
  722. #define IPassportTicket2_get_SignInServer(This,pVal) \
  723. (This)->lpVtbl -> get_SignInServer(This,pVal)
  724. #define IPassportTicket2_get_TicketTime(This,pVal) \
  725. (This)->lpVtbl -> get_TicketTime(This,pVal)
  726. #define IPassportTicket2_get_SignInTime(This,pVal) \
  727. (This)->lpVtbl -> get_SignInTime(This,pVal)
  728. #define IPassportTicket2_get_Error(This,pVal) \
  729. (This)->lpVtbl -> get_Error(This,pVal)
  730. #define IPassportTicket2_DoSecureCheck(This,bstrSec) \
  731. (This)->lpVtbl -> DoSecureCheck(This,bstrSec)
  732. #define IPassportTicket2_GetProperty(This,propName,pVal) \
  733. (This)->lpVtbl -> GetProperty(This,propName,pVal)
  734. #define IPassportTicket2_SetTertiaryConsent(This,consentCookie) \
  735. (This)->lpVtbl -> SetTertiaryConsent(This,consentCookie)
  736. #define IPassportTicket2_needConsent(This,consentFlags,pNeedConsent) \
  737. (This)->lpVtbl -> needConsent(This,consentFlags,pNeedConsent)
  738. #endif /* COBJMACROS */
  739. #endif /* C style interface */
  740. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportTicket2_GetProperty_Proxy(
  741. IPassportTicket2 * This,
  742. /* [in] */ BSTR propName,
  743. /* [retval][out] */ VARIANT *pVal);
  744. void __RPC_STUB IPassportTicket2_GetProperty_Stub(
  745. IRpcStubBuffer *This,
  746. IRpcChannelBuffer *_pRpcChannelBuffer,
  747. PRPC_MESSAGE _pRpcMessage,
  748. DWORD *_pdwStubPhase);
  749. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportTicket2_SetTertiaryConsent_Proxy(
  750. IPassportTicket2 * This,
  751. /* [in] */ BSTR consentCookie);
  752. void __RPC_STUB IPassportTicket2_SetTertiaryConsent_Stub(
  753. IRpcStubBuffer *This,
  754. IRpcChannelBuffer *_pRpcChannelBuffer,
  755. PRPC_MESSAGE _pRpcMessage,
  756. DWORD *_pdwStubPhase);
  757. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportTicket2_needConsent_Proxy(
  758. IPassportTicket2 * This,
  759. /* [out] */ ULONG *consentFlags,
  760. /* [retval][out] */ NeedConsentEnum *pNeedConsent);
  761. void __RPC_STUB IPassportTicket2_needConsent_Stub(
  762. IRpcStubBuffer *This,
  763. IRpcChannelBuffer *_pRpcChannelBuffer,
  764. PRPC_MESSAGE _pRpcMessage,
  765. DWORD *_pdwStubPhase);
  766. #endif /* __IPassportTicket2_INTERFACE_DEFINED__ */
  767. #ifndef __IPassportProfile_INTERFACE_DEFINED__
  768. #define __IPassportProfile_INTERFACE_DEFINED__
  769. /* interface IPassportProfile */
  770. /* [unique][helpstring][dual][uuid][object] */
  771. EXTERN_C const IID IID_IPassportProfile;
  772. #if defined(__cplusplus) && !defined(CINTERFACE)
  773. MIDL_INTERFACE("41651BF3-A5C8-11D2-95DF-00C04F8E7A70")
  774. IPassportProfile : public IDispatch
  775. {
  776. public:
  777. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Attribute(
  778. /* [in] */ BSTR name,
  779. /* [retval][out] */ VARIANT *pVal) = 0;
  780. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Attribute(
  781. /* [in] */ BSTR name,
  782. /* [in] */ VARIANT newVal) = 0;
  783. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ByIndex(
  784. /* [in] */ int index,
  785. /* [retval][out] */ VARIANT *pVal) = 0;
  786. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ByIndex(
  787. /* [in] */ int index,
  788. /* [in] */ VARIANT newVal) = 0;
  789. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsValid(
  790. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  791. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SchemaName(
  792. /* [retval][out] */ BSTR *pVal) = 0;
  793. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SchemaName(
  794. /* [in] */ BSTR newVal) = 0;
  795. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_unencryptedProfile(
  796. /* [retval][out] */ BSTR *pVal) = 0;
  797. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_unencryptedProfile(
  798. /* [in] */ BSTR newVal) = 0;
  799. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_updateString(
  800. /* [retval][out] */ BSTR *pVal) = 0;
  801. };
  802. #else /* C style interface */
  803. typedef struct IPassportProfileVtbl
  804. {
  805. BEGIN_INTERFACE
  806. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  807. IPassportProfile * This,
  808. /* [in] */ REFIID riid,
  809. /* [iid_is][out] */ void **ppvObject);
  810. ULONG ( STDMETHODCALLTYPE *AddRef )(
  811. IPassportProfile * This);
  812. ULONG ( STDMETHODCALLTYPE *Release )(
  813. IPassportProfile * This);
  814. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  815. IPassportProfile * This,
  816. /* [out] */ UINT *pctinfo);
  817. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  818. IPassportProfile * This,
  819. /* [in] */ UINT iTInfo,
  820. /* [in] */ LCID lcid,
  821. /* [out] */ ITypeInfo **ppTInfo);
  822. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  823. IPassportProfile * This,
  824. /* [in] */ REFIID riid,
  825. /* [size_is][in] */ LPOLESTR *rgszNames,
  826. /* [in] */ UINT cNames,
  827. /* [in] */ LCID lcid,
  828. /* [size_is][out] */ DISPID *rgDispId);
  829. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  830. IPassportProfile * This,
  831. /* [in] */ DISPID dispIdMember,
  832. /* [in] */ REFIID riid,
  833. /* [in] */ LCID lcid,
  834. /* [in] */ WORD wFlags,
  835. /* [out][in] */ DISPPARAMS *pDispParams,
  836. /* [out] */ VARIANT *pVarResult,
  837. /* [out] */ EXCEPINFO *pExcepInfo,
  838. /* [out] */ UINT *puArgErr);
  839. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Attribute )(
  840. IPassportProfile * This,
  841. /* [in] */ BSTR name,
  842. /* [retval][out] */ VARIANT *pVal);
  843. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Attribute )(
  844. IPassportProfile * This,
  845. /* [in] */ BSTR name,
  846. /* [in] */ VARIANT newVal);
  847. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ByIndex )(
  848. IPassportProfile * This,
  849. /* [in] */ int index,
  850. /* [retval][out] */ VARIANT *pVal);
  851. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ByIndex )(
  852. IPassportProfile * This,
  853. /* [in] */ int index,
  854. /* [in] */ VARIANT newVal);
  855. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsValid )(
  856. IPassportProfile * This,
  857. /* [retval][out] */ VARIANT_BOOL *pVal);
  858. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SchemaName )(
  859. IPassportProfile * This,
  860. /* [retval][out] */ BSTR *pVal);
  861. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SchemaName )(
  862. IPassportProfile * This,
  863. /* [in] */ BSTR newVal);
  864. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_unencryptedProfile )(
  865. IPassportProfile * This,
  866. /* [retval][out] */ BSTR *pVal);
  867. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_unencryptedProfile )(
  868. IPassportProfile * This,
  869. /* [in] */ BSTR newVal);
  870. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_updateString )(
  871. IPassportProfile * This,
  872. /* [retval][out] */ BSTR *pVal);
  873. END_INTERFACE
  874. } IPassportProfileVtbl;
  875. interface IPassportProfile
  876. {
  877. CONST_VTBL struct IPassportProfileVtbl *lpVtbl;
  878. };
  879. #ifdef COBJMACROS
  880. #define IPassportProfile_QueryInterface(This,riid,ppvObject) \
  881. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  882. #define IPassportProfile_AddRef(This) \
  883. (This)->lpVtbl -> AddRef(This)
  884. #define IPassportProfile_Release(This) \
  885. (This)->lpVtbl -> Release(This)
  886. #define IPassportProfile_GetTypeInfoCount(This,pctinfo) \
  887. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  888. #define IPassportProfile_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  889. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  890. #define IPassportProfile_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  891. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  892. #define IPassportProfile_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  893. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  894. #define IPassportProfile_get_Attribute(This,name,pVal) \
  895. (This)->lpVtbl -> get_Attribute(This,name,pVal)
  896. #define IPassportProfile_put_Attribute(This,name,newVal) \
  897. (This)->lpVtbl -> put_Attribute(This,name,newVal)
  898. #define IPassportProfile_get_ByIndex(This,index,pVal) \
  899. (This)->lpVtbl -> get_ByIndex(This,index,pVal)
  900. #define IPassportProfile_put_ByIndex(This,index,newVal) \
  901. (This)->lpVtbl -> put_ByIndex(This,index,newVal)
  902. #define IPassportProfile_get_IsValid(This,pVal) \
  903. (This)->lpVtbl -> get_IsValid(This,pVal)
  904. #define IPassportProfile_get_SchemaName(This,pVal) \
  905. (This)->lpVtbl -> get_SchemaName(This,pVal)
  906. #define IPassportProfile_put_SchemaName(This,newVal) \
  907. (This)->lpVtbl -> put_SchemaName(This,newVal)
  908. #define IPassportProfile_get_unencryptedProfile(This,pVal) \
  909. (This)->lpVtbl -> get_unencryptedProfile(This,pVal)
  910. #define IPassportProfile_put_unencryptedProfile(This,newVal) \
  911. (This)->lpVtbl -> put_unencryptedProfile(This,newVal)
  912. #define IPassportProfile_get_updateString(This,pVal) \
  913. (This)->lpVtbl -> get_updateString(This,pVal)
  914. #endif /* COBJMACROS */
  915. #endif /* C style interface */
  916. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportProfile_get_Attribute_Proxy(
  917. IPassportProfile * This,
  918. /* [in] */ BSTR name,
  919. /* [retval][out] */ VARIANT *pVal);
  920. void __RPC_STUB IPassportProfile_get_Attribute_Stub(
  921. IRpcStubBuffer *This,
  922. IRpcChannelBuffer *_pRpcChannelBuffer,
  923. PRPC_MESSAGE _pRpcMessage,
  924. DWORD *_pdwStubPhase);
  925. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPassportProfile_put_Attribute_Proxy(
  926. IPassportProfile * This,
  927. /* [in] */ BSTR name,
  928. /* [in] */ VARIANT newVal);
  929. void __RPC_STUB IPassportProfile_put_Attribute_Stub(
  930. IRpcStubBuffer *This,
  931. IRpcChannelBuffer *_pRpcChannelBuffer,
  932. PRPC_MESSAGE _pRpcMessage,
  933. DWORD *_pdwStubPhase);
  934. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportProfile_get_ByIndex_Proxy(
  935. IPassportProfile * This,
  936. /* [in] */ int index,
  937. /* [retval][out] */ VARIANT *pVal);
  938. void __RPC_STUB IPassportProfile_get_ByIndex_Stub(
  939. IRpcStubBuffer *This,
  940. IRpcChannelBuffer *_pRpcChannelBuffer,
  941. PRPC_MESSAGE _pRpcMessage,
  942. DWORD *_pdwStubPhase);
  943. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPassportProfile_put_ByIndex_Proxy(
  944. IPassportProfile * This,
  945. /* [in] */ int index,
  946. /* [in] */ VARIANT newVal);
  947. void __RPC_STUB IPassportProfile_put_ByIndex_Stub(
  948. IRpcStubBuffer *This,
  949. IRpcChannelBuffer *_pRpcChannelBuffer,
  950. PRPC_MESSAGE _pRpcMessage,
  951. DWORD *_pdwStubPhase);
  952. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportProfile_get_IsValid_Proxy(
  953. IPassportProfile * This,
  954. /* [retval][out] */ VARIANT_BOOL *pVal);
  955. void __RPC_STUB IPassportProfile_get_IsValid_Stub(
  956. IRpcStubBuffer *This,
  957. IRpcChannelBuffer *_pRpcChannelBuffer,
  958. PRPC_MESSAGE _pRpcMessage,
  959. DWORD *_pdwStubPhase);
  960. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportProfile_get_SchemaName_Proxy(
  961. IPassportProfile * This,
  962. /* [retval][out] */ BSTR *pVal);
  963. void __RPC_STUB IPassportProfile_get_SchemaName_Stub(
  964. IRpcStubBuffer *This,
  965. IRpcChannelBuffer *_pRpcChannelBuffer,
  966. PRPC_MESSAGE _pRpcMessage,
  967. DWORD *_pdwStubPhase);
  968. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPassportProfile_put_SchemaName_Proxy(
  969. IPassportProfile * This,
  970. /* [in] */ BSTR newVal);
  971. void __RPC_STUB IPassportProfile_put_SchemaName_Stub(
  972. IRpcStubBuffer *This,
  973. IRpcChannelBuffer *_pRpcChannelBuffer,
  974. PRPC_MESSAGE _pRpcMessage,
  975. DWORD *_pdwStubPhase);
  976. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportProfile_get_unencryptedProfile_Proxy(
  977. IPassportProfile * This,
  978. /* [retval][out] */ BSTR *pVal);
  979. void __RPC_STUB IPassportProfile_get_unencryptedProfile_Stub(
  980. IRpcStubBuffer *This,
  981. IRpcChannelBuffer *_pRpcChannelBuffer,
  982. PRPC_MESSAGE _pRpcMessage,
  983. DWORD *_pdwStubPhase);
  984. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPassportProfile_put_unencryptedProfile_Proxy(
  985. IPassportProfile * This,
  986. /* [in] */ BSTR newVal);
  987. void __RPC_STUB IPassportProfile_put_unencryptedProfile_Stub(
  988. IRpcStubBuffer *This,
  989. IRpcChannelBuffer *_pRpcChannelBuffer,
  990. PRPC_MESSAGE _pRpcMessage,
  991. DWORD *_pdwStubPhase);
  992. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportProfile_get_updateString_Proxy(
  993. IPassportProfile * This,
  994. /* [retval][out] */ BSTR *pVal);
  995. void __RPC_STUB IPassportProfile_get_updateString_Stub(
  996. IRpcStubBuffer *This,
  997. IRpcChannelBuffer *_pRpcChannelBuffer,
  998. PRPC_MESSAGE _pRpcMessage,
  999. DWORD *_pdwStubPhase);
  1000. #endif /* __IPassportProfile_INTERFACE_DEFINED__ */
  1001. #ifndef __IPassportManager_INTERFACE_DEFINED__
  1002. #define __IPassportManager_INTERFACE_DEFINED__
  1003. /* interface IPassportManager */
  1004. /* [unique][helpstring][dual][uuid][object] */
  1005. EXTERN_C const IID IID_IPassportManager;
  1006. #if defined(__cplusplus) && !defined(CINTERFACE)
  1007. MIDL_INTERFACE("41651BEF-A5C8-11D2-95DF-00C04F8E7A70")
  1008. IPassportManager : public IDispatch
  1009. {
  1010. public:
  1011. virtual HRESULT STDMETHODCALLTYPE OnStartPage(
  1012. /* [in] */ IUnknown *piUnk) = 0;
  1013. virtual HRESULT STDMETHODCALLTYPE OnEndPage( void) = 0;
  1014. virtual HRESULT STDMETHODCALLTYPE OnStartPageECB(
  1015. /* [in] */ BYTE *pECB,
  1016. /* [out][in] */ DWORD *pBufSize,
  1017. /* [size_is][out] */ LPSTR pCookieHeader) = 0;
  1018. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE _Ticket(
  1019. /* [out] */ IPassportTicket **piTicket) = 0;
  1020. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE _Profile(
  1021. /* [out] */ IPassportProfile **piProfile) = 0;
  1022. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AuthURL(
  1023. /* [optional][in] */ VARIANT returnUrl,
  1024. /* [optional][in] */ VARIANT TimeWindow,
  1025. /* [optional][in] */ VARIANT ForceLogin,
  1026. /* [optional][in] */ VARIANT coBrandArgs,
  1027. /* [optional][in] */ VARIANT lang_id,
  1028. /* [optional][in] */ VARIANT NameSpace,
  1029. /* [optional][in] */ VARIANT KPP,
  1030. /* [optional][in] */ VARIANT SecureLevel,
  1031. /* [retval][out] */ BSTR *pAuthVal) = 0;
  1032. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsAuthenticated(
  1033. /* [optional][in] */ VARIANT TimeWindow,
  1034. /* [optional][in] */ VARIANT ForceLogin,
  1035. /* [optional][in] */ VARIANT CheckSecure,
  1036. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1037. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LogoTag(
  1038. /* [optional][in] */ VARIANT returnUrl,
  1039. /* [optional][in] */ VARIANT TimeWindow,
  1040. /* [optional][in] */ VARIANT ForceLogin,
  1041. /* [optional][in] */ VARIANT coBrandArgs,
  1042. /* [optional][in] */ VARIANT lang_id,
  1043. /* [optional][in] */ VARIANT bSecure,
  1044. /* [optional][in] */ VARIANT NameSpace,
  1045. /* [optional][in] */ VARIANT KPP,
  1046. /* [optional][in] */ VARIANT SecureLevel,
  1047. /* [retval][out] */ BSTR *pVal) = 0;
  1048. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HasProfile(
  1049. /* [optional][in] */ VARIANT ProfileName,
  1050. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1051. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HasTicket(
  1052. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1053. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FromNetworkServer(
  1054. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1055. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HasFlag(
  1056. /* [optional][in] */ VARIANT flagMask,
  1057. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1058. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TicketAge(
  1059. /* [retval][out] */ int *pVal) = 0;
  1060. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TimeSinceSignIn(
  1061. /* [retval][out] */ int *pVal) = 0;
  1062. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDomainAttribute(
  1063. /* [in] */ BSTR attributeName,
  1064. /* [optional][in] */ VARIANT lcid,
  1065. /* [optional][in] */ VARIANT domain,
  1066. /* [retval][out] */ BSTR *pAttrVal) = 0;
  1067. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DomainFromMemberName(
  1068. /* [optional][in] */ VARIANT memberName,
  1069. /* [retval][out] */ BSTR *pDomainName) = 0;
  1070. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ProfileByIndex(
  1071. /* [in] */ int index,
  1072. /* [retval][out] */ VARIANT *pVal) = 0;
  1073. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ProfileByIndex(
  1074. /* [in] */ int index,
  1075. /* [in] */ VARIANT newVal) = 0;
  1076. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnStartPageManual(
  1077. /* [in] */ BSTR queryStringT,
  1078. /* [in] */ BSTR queryStringP,
  1079. /* [in] */ BSTR MSPAuthCookie,
  1080. /* [in] */ BSTR MSPProfCookie,
  1081. /* [in] */ BSTR MSPConsentCookie,
  1082. /* [optional][in] */ VARIANT vMSPSecCookie,
  1083. /* [retval][out] */ VARIANT *pSetCookieArray) = 0;
  1084. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HasSavedPassword(
  1085. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1086. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Commit(
  1087. /* [retval][out] */ BSTR *pNewProfileCookieHeader) = 0;
  1088. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Profile(
  1089. /* [in] */ BSTR attributeName,
  1090. /* [retval][out] */ VARIANT *pVal) = 0;
  1091. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Profile(
  1092. /* [in] */ BSTR attributeName,
  1093. /* [in] */ VARIANT newVal) = 0;
  1094. virtual /* [helpstring][id][propget][hidden] */ HRESULT STDMETHODCALLTYPE get_TicketTime(
  1095. /* [retval][out] */ long *pVal) = 0;
  1096. virtual /* [helpstring][id][propget][hidden] */ HRESULT STDMETHODCALLTYPE get_SignInTime(
  1097. /* [retval][out] */ long *pVal) = 0;
  1098. virtual /* [helpstring][id][propget][hidden] */ HRESULT STDMETHODCALLTYPE get_Domains(
  1099. /* [retval][out] */ VARIANT *pArrayVal) = 0;
  1100. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error(
  1101. /* [retval][out] */ long *pErrorVal) = 0;
  1102. virtual /* [helpstring][hidden] */ HRESULT STDMETHODCALLTYPE OnStartPageFilter(
  1103. /* [in] */ BYTE *pPFC,
  1104. /* [out][in] */ DWORD *pBufSize,
  1105. /* [size_is][out] */ LPSTR pCookieHeader) = 0;
  1106. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnStartPageASP(
  1107. /* [in] */ IDispatch *pdispRequest,
  1108. /* [in] */ IDispatch *pdispResponse) = 0;
  1109. virtual /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE GetServerInfo(
  1110. /* [retval][out] */ BSTR *pbstrOut) = 0;
  1111. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HaveConsent(
  1112. /* [in] */ VARIANT_BOOL bNeedFullConsent,
  1113. /* [in] */ VARIANT_BOOL bNeedBirthdate,
  1114. /* [retval][out] */ VARIANT_BOOL *pbHaveConsent) = 0;
  1115. };
  1116. #else /* C style interface */
  1117. typedef struct IPassportManagerVtbl
  1118. {
  1119. BEGIN_INTERFACE
  1120. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1121. IPassportManager * This,
  1122. /* [in] */ REFIID riid,
  1123. /* [iid_is][out] */ void **ppvObject);
  1124. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1125. IPassportManager * This);
  1126. ULONG ( STDMETHODCALLTYPE *Release )(
  1127. IPassportManager * This);
  1128. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1129. IPassportManager * This,
  1130. /* [out] */ UINT *pctinfo);
  1131. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1132. IPassportManager * This,
  1133. /* [in] */ UINT iTInfo,
  1134. /* [in] */ LCID lcid,
  1135. /* [out] */ ITypeInfo **ppTInfo);
  1136. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1137. IPassportManager * This,
  1138. /* [in] */ REFIID riid,
  1139. /* [size_is][in] */ LPOLESTR *rgszNames,
  1140. /* [in] */ UINT cNames,
  1141. /* [in] */ LCID lcid,
  1142. /* [size_is][out] */ DISPID *rgDispId);
  1143. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1144. IPassportManager * This,
  1145. /* [in] */ DISPID dispIdMember,
  1146. /* [in] */ REFIID riid,
  1147. /* [in] */ LCID lcid,
  1148. /* [in] */ WORD wFlags,
  1149. /* [out][in] */ DISPPARAMS *pDispParams,
  1150. /* [out] */ VARIANT *pVarResult,
  1151. /* [out] */ EXCEPINFO *pExcepInfo,
  1152. /* [out] */ UINT *puArgErr);
  1153. HRESULT ( STDMETHODCALLTYPE *OnStartPage )(
  1154. IPassportManager * This,
  1155. /* [in] */ IUnknown *piUnk);
  1156. HRESULT ( STDMETHODCALLTYPE *OnEndPage )(
  1157. IPassportManager * This);
  1158. HRESULT ( STDMETHODCALLTYPE *OnStartPageECB )(
  1159. IPassportManager * This,
  1160. /* [in] */ BYTE *pECB,
  1161. /* [out][in] */ DWORD *pBufSize,
  1162. /* [size_is][out] */ LPSTR pCookieHeader);
  1163. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_Ticket )(
  1164. IPassportManager * This,
  1165. /* [out] */ IPassportTicket **piTicket);
  1166. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_Profile )(
  1167. IPassportManager * This,
  1168. /* [out] */ IPassportProfile **piProfile);
  1169. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AuthURL )(
  1170. IPassportManager * This,
  1171. /* [optional][in] */ VARIANT returnUrl,
  1172. /* [optional][in] */ VARIANT TimeWindow,
  1173. /* [optional][in] */ VARIANT ForceLogin,
  1174. /* [optional][in] */ VARIANT coBrandArgs,
  1175. /* [optional][in] */ VARIANT lang_id,
  1176. /* [optional][in] */ VARIANT NameSpace,
  1177. /* [optional][in] */ VARIANT KPP,
  1178. /* [optional][in] */ VARIANT SecureLevel,
  1179. /* [retval][out] */ BSTR *pAuthVal);
  1180. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsAuthenticated )(
  1181. IPassportManager * This,
  1182. /* [optional][in] */ VARIANT TimeWindow,
  1183. /* [optional][in] */ VARIANT ForceLogin,
  1184. /* [optional][in] */ VARIANT CheckSecure,
  1185. /* [retval][out] */ VARIANT_BOOL *pVal);
  1186. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogoTag )(
  1187. IPassportManager * This,
  1188. /* [optional][in] */ VARIANT returnUrl,
  1189. /* [optional][in] */ VARIANT TimeWindow,
  1190. /* [optional][in] */ VARIANT ForceLogin,
  1191. /* [optional][in] */ VARIANT coBrandArgs,
  1192. /* [optional][in] */ VARIANT lang_id,
  1193. /* [optional][in] */ VARIANT bSecure,
  1194. /* [optional][in] */ VARIANT NameSpace,
  1195. /* [optional][in] */ VARIANT KPP,
  1196. /* [optional][in] */ VARIANT SecureLevel,
  1197. /* [retval][out] */ BSTR *pVal);
  1198. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HasProfile )(
  1199. IPassportManager * This,
  1200. /* [optional][in] */ VARIANT ProfileName,
  1201. /* [retval][out] */ VARIANT_BOOL *pVal);
  1202. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasTicket )(
  1203. IPassportManager * This,
  1204. /* [retval][out] */ VARIANT_BOOL *pVal);
  1205. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FromNetworkServer )(
  1206. IPassportManager * This,
  1207. /* [retval][out] */ VARIANT_BOOL *pVal);
  1208. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HasFlag )(
  1209. IPassportManager * This,
  1210. /* [optional][in] */ VARIANT flagMask,
  1211. /* [retval][out] */ VARIANT_BOOL *pVal);
  1212. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TicketAge )(
  1213. IPassportManager * This,
  1214. /* [retval][out] */ int *pVal);
  1215. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TimeSinceSignIn )(
  1216. IPassportManager * This,
  1217. /* [retval][out] */ int *pVal);
  1218. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDomainAttribute )(
  1219. IPassportManager * This,
  1220. /* [in] */ BSTR attributeName,
  1221. /* [optional][in] */ VARIANT lcid,
  1222. /* [optional][in] */ VARIANT domain,
  1223. /* [retval][out] */ BSTR *pAttrVal);
  1224. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DomainFromMemberName )(
  1225. IPassportManager * This,
  1226. /* [optional][in] */ VARIANT memberName,
  1227. /* [retval][out] */ BSTR *pDomainName);
  1228. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProfileByIndex )(
  1229. IPassportManager * This,
  1230. /* [in] */ int index,
  1231. /* [retval][out] */ VARIANT *pVal);
  1232. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ProfileByIndex )(
  1233. IPassportManager * This,
  1234. /* [in] */ int index,
  1235. /* [in] */ VARIANT newVal);
  1236. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnStartPageManual )(
  1237. IPassportManager * This,
  1238. /* [in] */ BSTR queryStringT,
  1239. /* [in] */ BSTR queryStringP,
  1240. /* [in] */ BSTR MSPAuthCookie,
  1241. /* [in] */ BSTR MSPProfCookie,
  1242. /* [in] */ BSTR MSPConsentCookie,
  1243. /* [optional][in] */ VARIANT vMSPSecCookie,
  1244. /* [retval][out] */ VARIANT *pSetCookieArray);
  1245. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasSavedPassword )(
  1246. IPassportManager * This,
  1247. /* [retval][out] */ VARIANT_BOOL *pVal);
  1248. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )(
  1249. IPassportManager * This,
  1250. /* [retval][out] */ BSTR *pNewProfileCookieHeader);
  1251. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Profile )(
  1252. IPassportManager * This,
  1253. /* [in] */ BSTR attributeName,
  1254. /* [retval][out] */ VARIANT *pVal);
  1255. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Profile )(
  1256. IPassportManager * This,
  1257. /* [in] */ BSTR attributeName,
  1258. /* [in] */ VARIANT newVal);
  1259. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_TicketTime )(
  1260. IPassportManager * This,
  1261. /* [retval][out] */ long *pVal);
  1262. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_SignInTime )(
  1263. IPassportManager * This,
  1264. /* [retval][out] */ long *pVal);
  1265. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_Domains )(
  1266. IPassportManager * This,
  1267. /* [retval][out] */ VARIANT *pArrayVal);
  1268. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  1269. IPassportManager * This,
  1270. /* [retval][out] */ long *pErrorVal);
  1271. /* [helpstring][hidden] */ HRESULT ( STDMETHODCALLTYPE *OnStartPageFilter )(
  1272. IPassportManager * This,
  1273. /* [in] */ BYTE *pPFC,
  1274. /* [out][in] */ DWORD *pBufSize,
  1275. /* [size_is][out] */ LPSTR pCookieHeader);
  1276. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnStartPageASP )(
  1277. IPassportManager * This,
  1278. /* [in] */ IDispatch *pdispRequest,
  1279. /* [in] */ IDispatch *pdispResponse);
  1280. /* [helpstring][id][hidden] */ HRESULT ( STDMETHODCALLTYPE *GetServerInfo )(
  1281. IPassportManager * This,
  1282. /* [retval][out] */ BSTR *pbstrOut);
  1283. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HaveConsent )(
  1284. IPassportManager * This,
  1285. /* [in] */ VARIANT_BOOL bNeedFullConsent,
  1286. /* [in] */ VARIANT_BOOL bNeedBirthdate,
  1287. /* [retval][out] */ VARIANT_BOOL *pbHaveConsent);
  1288. END_INTERFACE
  1289. } IPassportManagerVtbl;
  1290. interface IPassportManager
  1291. {
  1292. CONST_VTBL struct IPassportManagerVtbl *lpVtbl;
  1293. };
  1294. #ifdef COBJMACROS
  1295. #define IPassportManager_QueryInterface(This,riid,ppvObject) \
  1296. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1297. #define IPassportManager_AddRef(This) \
  1298. (This)->lpVtbl -> AddRef(This)
  1299. #define IPassportManager_Release(This) \
  1300. (This)->lpVtbl -> Release(This)
  1301. #define IPassportManager_GetTypeInfoCount(This,pctinfo) \
  1302. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1303. #define IPassportManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1304. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1305. #define IPassportManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1306. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1307. #define IPassportManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1308. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1309. #define IPassportManager_OnStartPage(This,piUnk) \
  1310. (This)->lpVtbl -> OnStartPage(This,piUnk)
  1311. #define IPassportManager_OnEndPage(This) \
  1312. (This)->lpVtbl -> OnEndPage(This)
  1313. #define IPassportManager_OnStartPageECB(This,pECB,pBufSize,pCookieHeader) \
  1314. (This)->lpVtbl -> OnStartPageECB(This,pECB,pBufSize,pCookieHeader)
  1315. #define IPassportManager__Ticket(This,piTicket) \
  1316. (This)->lpVtbl -> _Ticket(This,piTicket)
  1317. #define IPassportManager__Profile(This,piProfile) \
  1318. (This)->lpVtbl -> _Profile(This,piProfile)
  1319. #define IPassportManager_AuthURL(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal) \
  1320. (This)->lpVtbl -> AuthURL(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal)
  1321. #define IPassportManager_IsAuthenticated(This,TimeWindow,ForceLogin,CheckSecure,pVal) \
  1322. (This)->lpVtbl -> IsAuthenticated(This,TimeWindow,ForceLogin,CheckSecure,pVal)
  1323. #define IPassportManager_LogoTag(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal) \
  1324. (This)->lpVtbl -> LogoTag(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal)
  1325. #define IPassportManager_HasProfile(This,ProfileName,pVal) \
  1326. (This)->lpVtbl -> HasProfile(This,ProfileName,pVal)
  1327. #define IPassportManager_get_HasTicket(This,pVal) \
  1328. (This)->lpVtbl -> get_HasTicket(This,pVal)
  1329. #define IPassportManager_get_FromNetworkServer(This,pVal) \
  1330. (This)->lpVtbl -> get_FromNetworkServer(This,pVal)
  1331. #define IPassportManager_HasFlag(This,flagMask,pVal) \
  1332. (This)->lpVtbl -> HasFlag(This,flagMask,pVal)
  1333. #define IPassportManager_get_TicketAge(This,pVal) \
  1334. (This)->lpVtbl -> get_TicketAge(This,pVal)
  1335. #define IPassportManager_get_TimeSinceSignIn(This,pVal) \
  1336. (This)->lpVtbl -> get_TimeSinceSignIn(This,pVal)
  1337. #define IPassportManager_GetDomainAttribute(This,attributeName,lcid,domain,pAttrVal) \
  1338. (This)->lpVtbl -> GetDomainAttribute(This,attributeName,lcid,domain,pAttrVal)
  1339. #define IPassportManager_DomainFromMemberName(This,memberName,pDomainName) \
  1340. (This)->lpVtbl -> DomainFromMemberName(This,memberName,pDomainName)
  1341. #define IPassportManager_get_ProfileByIndex(This,index,pVal) \
  1342. (This)->lpVtbl -> get_ProfileByIndex(This,index,pVal)
  1343. #define IPassportManager_put_ProfileByIndex(This,index,newVal) \
  1344. (This)->lpVtbl -> put_ProfileByIndex(This,index,newVal)
  1345. #define IPassportManager_OnStartPageManual(This,queryStringT,queryStringP,MSPAuthCookie,MSPProfCookie,MSPConsentCookie,vMSPSecCookie,pSetCookieArray) \
  1346. (This)->lpVtbl -> OnStartPageManual(This,queryStringT,queryStringP,MSPAuthCookie,MSPProfCookie,MSPConsentCookie,vMSPSecCookie,pSetCookieArray)
  1347. #define IPassportManager_get_HasSavedPassword(This,pVal) \
  1348. (This)->lpVtbl -> get_HasSavedPassword(This,pVal)
  1349. #define IPassportManager_Commit(This,pNewProfileCookieHeader) \
  1350. (This)->lpVtbl -> Commit(This,pNewProfileCookieHeader)
  1351. #define IPassportManager_get_Profile(This,attributeName,pVal) \
  1352. (This)->lpVtbl -> get_Profile(This,attributeName,pVal)
  1353. #define IPassportManager_put_Profile(This,attributeName,newVal) \
  1354. (This)->lpVtbl -> put_Profile(This,attributeName,newVal)
  1355. #define IPassportManager_get_TicketTime(This,pVal) \
  1356. (This)->lpVtbl -> get_TicketTime(This,pVal)
  1357. #define IPassportManager_get_SignInTime(This,pVal) \
  1358. (This)->lpVtbl -> get_SignInTime(This,pVal)
  1359. #define IPassportManager_get_Domains(This,pArrayVal) \
  1360. (This)->lpVtbl -> get_Domains(This,pArrayVal)
  1361. #define IPassportManager_get_Error(This,pErrorVal) \
  1362. (This)->lpVtbl -> get_Error(This,pErrorVal)
  1363. #define IPassportManager_OnStartPageFilter(This,pPFC,pBufSize,pCookieHeader) \
  1364. (This)->lpVtbl -> OnStartPageFilter(This,pPFC,pBufSize,pCookieHeader)
  1365. #define IPassportManager_OnStartPageASP(This,pdispRequest,pdispResponse) \
  1366. (This)->lpVtbl -> OnStartPageASP(This,pdispRequest,pdispResponse)
  1367. #define IPassportManager_GetServerInfo(This,pbstrOut) \
  1368. (This)->lpVtbl -> GetServerInfo(This,pbstrOut)
  1369. #define IPassportManager_HaveConsent(This,bNeedFullConsent,bNeedBirthdate,pbHaveConsent) \
  1370. (This)->lpVtbl -> HaveConsent(This,bNeedFullConsent,bNeedBirthdate,pbHaveConsent)
  1371. #endif /* COBJMACROS */
  1372. #endif /* C style interface */
  1373. HRESULT STDMETHODCALLTYPE IPassportManager_OnStartPage_Proxy(
  1374. IPassportManager * This,
  1375. /* [in] */ IUnknown *piUnk);
  1376. void __RPC_STUB IPassportManager_OnStartPage_Stub(
  1377. IRpcStubBuffer *This,
  1378. IRpcChannelBuffer *_pRpcChannelBuffer,
  1379. PRPC_MESSAGE _pRpcMessage,
  1380. DWORD *_pdwStubPhase);
  1381. HRESULT STDMETHODCALLTYPE IPassportManager_OnEndPage_Proxy(
  1382. IPassportManager * This);
  1383. void __RPC_STUB IPassportManager_OnEndPage_Stub(
  1384. IRpcStubBuffer *This,
  1385. IRpcChannelBuffer *_pRpcChannelBuffer,
  1386. PRPC_MESSAGE _pRpcMessage,
  1387. DWORD *_pdwStubPhase);
  1388. HRESULT STDMETHODCALLTYPE IPassportManager_OnStartPageECB_Proxy(
  1389. IPassportManager * This,
  1390. /* [in] */ BYTE *pECB,
  1391. /* [out][in] */ DWORD *pBufSize,
  1392. /* [size_is][out] */ LPSTR pCookieHeader);
  1393. void __RPC_STUB IPassportManager_OnStartPageECB_Stub(
  1394. IRpcStubBuffer *This,
  1395. IRpcChannelBuffer *_pRpcChannelBuffer,
  1396. PRPC_MESSAGE _pRpcMessage,
  1397. DWORD *_pdwStubPhase);
  1398. /* [hidden] */ HRESULT STDMETHODCALLTYPE IPassportManager__Ticket_Proxy(
  1399. IPassportManager * This,
  1400. /* [out] */ IPassportTicket **piTicket);
  1401. void __RPC_STUB IPassportManager__Ticket_Stub(
  1402. IRpcStubBuffer *This,
  1403. IRpcChannelBuffer *_pRpcChannelBuffer,
  1404. PRPC_MESSAGE _pRpcMessage,
  1405. DWORD *_pdwStubPhase);
  1406. /* [hidden] */ HRESULT STDMETHODCALLTYPE IPassportManager__Profile_Proxy(
  1407. IPassportManager * This,
  1408. /* [out] */ IPassportProfile **piProfile);
  1409. void __RPC_STUB IPassportManager__Profile_Stub(
  1410. IRpcStubBuffer *This,
  1411. IRpcChannelBuffer *_pRpcChannelBuffer,
  1412. PRPC_MESSAGE _pRpcMessage,
  1413. DWORD *_pdwStubPhase);
  1414. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_AuthURL_Proxy(
  1415. IPassportManager * This,
  1416. /* [optional][in] */ VARIANT returnUrl,
  1417. /* [optional][in] */ VARIANT TimeWindow,
  1418. /* [optional][in] */ VARIANT ForceLogin,
  1419. /* [optional][in] */ VARIANT coBrandArgs,
  1420. /* [optional][in] */ VARIANT lang_id,
  1421. /* [optional][in] */ VARIANT NameSpace,
  1422. /* [optional][in] */ VARIANT KPP,
  1423. /* [optional][in] */ VARIANT SecureLevel,
  1424. /* [retval][out] */ BSTR *pAuthVal);
  1425. void __RPC_STUB IPassportManager_AuthURL_Stub(
  1426. IRpcStubBuffer *This,
  1427. IRpcChannelBuffer *_pRpcChannelBuffer,
  1428. PRPC_MESSAGE _pRpcMessage,
  1429. DWORD *_pdwStubPhase);
  1430. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_IsAuthenticated_Proxy(
  1431. IPassportManager * This,
  1432. /* [optional][in] */ VARIANT TimeWindow,
  1433. /* [optional][in] */ VARIANT ForceLogin,
  1434. /* [optional][in] */ VARIANT CheckSecure,
  1435. /* [retval][out] */ VARIANT_BOOL *pVal);
  1436. void __RPC_STUB IPassportManager_IsAuthenticated_Stub(
  1437. IRpcStubBuffer *This,
  1438. IRpcChannelBuffer *_pRpcChannelBuffer,
  1439. PRPC_MESSAGE _pRpcMessage,
  1440. DWORD *_pdwStubPhase);
  1441. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_LogoTag_Proxy(
  1442. IPassportManager * This,
  1443. /* [optional][in] */ VARIANT returnUrl,
  1444. /* [optional][in] */ VARIANT TimeWindow,
  1445. /* [optional][in] */ VARIANT ForceLogin,
  1446. /* [optional][in] */ VARIANT coBrandArgs,
  1447. /* [optional][in] */ VARIANT lang_id,
  1448. /* [optional][in] */ VARIANT bSecure,
  1449. /* [optional][in] */ VARIANT NameSpace,
  1450. /* [optional][in] */ VARIANT KPP,
  1451. /* [optional][in] */ VARIANT SecureLevel,
  1452. /* [retval][out] */ BSTR *pVal);
  1453. void __RPC_STUB IPassportManager_LogoTag_Stub(
  1454. IRpcStubBuffer *This,
  1455. IRpcChannelBuffer *_pRpcChannelBuffer,
  1456. PRPC_MESSAGE _pRpcMessage,
  1457. DWORD *_pdwStubPhase);
  1458. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_HasProfile_Proxy(
  1459. IPassportManager * This,
  1460. /* [optional][in] */ VARIANT ProfileName,
  1461. /* [retval][out] */ VARIANT_BOOL *pVal);
  1462. void __RPC_STUB IPassportManager_HasProfile_Stub(
  1463. IRpcStubBuffer *This,
  1464. IRpcChannelBuffer *_pRpcChannelBuffer,
  1465. PRPC_MESSAGE _pRpcMessage,
  1466. DWORD *_pdwStubPhase);
  1467. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_HasTicket_Proxy(
  1468. IPassportManager * This,
  1469. /* [retval][out] */ VARIANT_BOOL *pVal);
  1470. void __RPC_STUB IPassportManager_get_HasTicket_Stub(
  1471. IRpcStubBuffer *This,
  1472. IRpcChannelBuffer *_pRpcChannelBuffer,
  1473. PRPC_MESSAGE _pRpcMessage,
  1474. DWORD *_pdwStubPhase);
  1475. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_FromNetworkServer_Proxy(
  1476. IPassportManager * This,
  1477. /* [retval][out] */ VARIANT_BOOL *pVal);
  1478. void __RPC_STUB IPassportManager_get_FromNetworkServer_Stub(
  1479. IRpcStubBuffer *This,
  1480. IRpcChannelBuffer *_pRpcChannelBuffer,
  1481. PRPC_MESSAGE _pRpcMessage,
  1482. DWORD *_pdwStubPhase);
  1483. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_HasFlag_Proxy(
  1484. IPassportManager * This,
  1485. /* [optional][in] */ VARIANT flagMask,
  1486. /* [retval][out] */ VARIANT_BOOL *pVal);
  1487. void __RPC_STUB IPassportManager_HasFlag_Stub(
  1488. IRpcStubBuffer *This,
  1489. IRpcChannelBuffer *_pRpcChannelBuffer,
  1490. PRPC_MESSAGE _pRpcMessage,
  1491. DWORD *_pdwStubPhase);
  1492. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_TicketAge_Proxy(
  1493. IPassportManager * This,
  1494. /* [retval][out] */ int *pVal);
  1495. void __RPC_STUB IPassportManager_get_TicketAge_Stub(
  1496. IRpcStubBuffer *This,
  1497. IRpcChannelBuffer *_pRpcChannelBuffer,
  1498. PRPC_MESSAGE _pRpcMessage,
  1499. DWORD *_pdwStubPhase);
  1500. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_TimeSinceSignIn_Proxy(
  1501. IPassportManager * This,
  1502. /* [retval][out] */ int *pVal);
  1503. void __RPC_STUB IPassportManager_get_TimeSinceSignIn_Stub(
  1504. IRpcStubBuffer *This,
  1505. IRpcChannelBuffer *_pRpcChannelBuffer,
  1506. PRPC_MESSAGE _pRpcMessage,
  1507. DWORD *_pdwStubPhase);
  1508. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_GetDomainAttribute_Proxy(
  1509. IPassportManager * This,
  1510. /* [in] */ BSTR attributeName,
  1511. /* [optional][in] */ VARIANT lcid,
  1512. /* [optional][in] */ VARIANT domain,
  1513. /* [retval][out] */ BSTR *pAttrVal);
  1514. void __RPC_STUB IPassportManager_GetDomainAttribute_Stub(
  1515. IRpcStubBuffer *This,
  1516. IRpcChannelBuffer *_pRpcChannelBuffer,
  1517. PRPC_MESSAGE _pRpcMessage,
  1518. DWORD *_pdwStubPhase);
  1519. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_DomainFromMemberName_Proxy(
  1520. IPassportManager * This,
  1521. /* [optional][in] */ VARIANT memberName,
  1522. /* [retval][out] */ BSTR *pDomainName);
  1523. void __RPC_STUB IPassportManager_DomainFromMemberName_Stub(
  1524. IRpcStubBuffer *This,
  1525. IRpcChannelBuffer *_pRpcChannelBuffer,
  1526. PRPC_MESSAGE _pRpcMessage,
  1527. DWORD *_pdwStubPhase);
  1528. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_ProfileByIndex_Proxy(
  1529. IPassportManager * This,
  1530. /* [in] */ int index,
  1531. /* [retval][out] */ VARIANT *pVal);
  1532. void __RPC_STUB IPassportManager_get_ProfileByIndex_Stub(
  1533. IRpcStubBuffer *This,
  1534. IRpcChannelBuffer *_pRpcChannelBuffer,
  1535. PRPC_MESSAGE _pRpcMessage,
  1536. DWORD *_pdwStubPhase);
  1537. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPassportManager_put_ProfileByIndex_Proxy(
  1538. IPassportManager * This,
  1539. /* [in] */ int index,
  1540. /* [in] */ VARIANT newVal);
  1541. void __RPC_STUB IPassportManager_put_ProfileByIndex_Stub(
  1542. IRpcStubBuffer *This,
  1543. IRpcChannelBuffer *_pRpcChannelBuffer,
  1544. PRPC_MESSAGE _pRpcMessage,
  1545. DWORD *_pdwStubPhase);
  1546. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_OnStartPageManual_Proxy(
  1547. IPassportManager * This,
  1548. /* [in] */ BSTR queryStringT,
  1549. /* [in] */ BSTR queryStringP,
  1550. /* [in] */ BSTR MSPAuthCookie,
  1551. /* [in] */ BSTR MSPProfCookie,
  1552. /* [in] */ BSTR MSPConsentCookie,
  1553. /* [optional][in] */ VARIANT vMSPSecCookie,
  1554. /* [retval][out] */ VARIANT *pSetCookieArray);
  1555. void __RPC_STUB IPassportManager_OnStartPageManual_Stub(
  1556. IRpcStubBuffer *This,
  1557. IRpcChannelBuffer *_pRpcChannelBuffer,
  1558. PRPC_MESSAGE _pRpcMessage,
  1559. DWORD *_pdwStubPhase);
  1560. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_HasSavedPassword_Proxy(
  1561. IPassportManager * This,
  1562. /* [retval][out] */ VARIANT_BOOL *pVal);
  1563. void __RPC_STUB IPassportManager_get_HasSavedPassword_Stub(
  1564. IRpcStubBuffer *This,
  1565. IRpcChannelBuffer *_pRpcChannelBuffer,
  1566. PRPC_MESSAGE _pRpcMessage,
  1567. DWORD *_pdwStubPhase);
  1568. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_Commit_Proxy(
  1569. IPassportManager * This,
  1570. /* [retval][out] */ BSTR *pNewProfileCookieHeader);
  1571. void __RPC_STUB IPassportManager_Commit_Stub(
  1572. IRpcStubBuffer *This,
  1573. IRpcChannelBuffer *_pRpcChannelBuffer,
  1574. PRPC_MESSAGE _pRpcMessage,
  1575. DWORD *_pdwStubPhase);
  1576. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_Profile_Proxy(
  1577. IPassportManager * This,
  1578. /* [in] */ BSTR attributeName,
  1579. /* [retval][out] */ VARIANT *pVal);
  1580. void __RPC_STUB IPassportManager_get_Profile_Stub(
  1581. IRpcStubBuffer *This,
  1582. IRpcChannelBuffer *_pRpcChannelBuffer,
  1583. PRPC_MESSAGE _pRpcMessage,
  1584. DWORD *_pdwStubPhase);
  1585. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPassportManager_put_Profile_Proxy(
  1586. IPassportManager * This,
  1587. /* [in] */ BSTR attributeName,
  1588. /* [in] */ VARIANT newVal);
  1589. void __RPC_STUB IPassportManager_put_Profile_Stub(
  1590. IRpcStubBuffer *This,
  1591. IRpcChannelBuffer *_pRpcChannelBuffer,
  1592. PRPC_MESSAGE _pRpcMessage,
  1593. DWORD *_pdwStubPhase);
  1594. /* [helpstring][id][propget][hidden] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_TicketTime_Proxy(
  1595. IPassportManager * This,
  1596. /* [retval][out] */ long *pVal);
  1597. void __RPC_STUB IPassportManager_get_TicketTime_Stub(
  1598. IRpcStubBuffer *This,
  1599. IRpcChannelBuffer *_pRpcChannelBuffer,
  1600. PRPC_MESSAGE _pRpcMessage,
  1601. DWORD *_pdwStubPhase);
  1602. /* [helpstring][id][propget][hidden] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_SignInTime_Proxy(
  1603. IPassportManager * This,
  1604. /* [retval][out] */ long *pVal);
  1605. void __RPC_STUB IPassportManager_get_SignInTime_Stub(
  1606. IRpcStubBuffer *This,
  1607. IRpcChannelBuffer *_pRpcChannelBuffer,
  1608. PRPC_MESSAGE _pRpcMessage,
  1609. DWORD *_pdwStubPhase);
  1610. /* [helpstring][id][propget][hidden] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_Domains_Proxy(
  1611. IPassportManager * This,
  1612. /* [retval][out] */ VARIANT *pArrayVal);
  1613. void __RPC_STUB IPassportManager_get_Domains_Stub(
  1614. IRpcStubBuffer *This,
  1615. IRpcChannelBuffer *_pRpcChannelBuffer,
  1616. PRPC_MESSAGE _pRpcMessage,
  1617. DWORD *_pdwStubPhase);
  1618. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager_get_Error_Proxy(
  1619. IPassportManager * This,
  1620. /* [retval][out] */ long *pErrorVal);
  1621. void __RPC_STUB IPassportManager_get_Error_Stub(
  1622. IRpcStubBuffer *This,
  1623. IRpcChannelBuffer *_pRpcChannelBuffer,
  1624. PRPC_MESSAGE _pRpcMessage,
  1625. DWORD *_pdwStubPhase);
  1626. /* [helpstring][hidden] */ HRESULT STDMETHODCALLTYPE IPassportManager_OnStartPageFilter_Proxy(
  1627. IPassportManager * This,
  1628. /* [in] */ BYTE *pPFC,
  1629. /* [out][in] */ DWORD *pBufSize,
  1630. /* [size_is][out] */ LPSTR pCookieHeader);
  1631. void __RPC_STUB IPassportManager_OnStartPageFilter_Stub(
  1632. IRpcStubBuffer *This,
  1633. IRpcChannelBuffer *_pRpcChannelBuffer,
  1634. PRPC_MESSAGE _pRpcMessage,
  1635. DWORD *_pdwStubPhase);
  1636. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_OnStartPageASP_Proxy(
  1637. IPassportManager * This,
  1638. /* [in] */ IDispatch *pdispRequest,
  1639. /* [in] */ IDispatch *pdispResponse);
  1640. void __RPC_STUB IPassportManager_OnStartPageASP_Stub(
  1641. IRpcStubBuffer *This,
  1642. IRpcChannelBuffer *_pRpcChannelBuffer,
  1643. PRPC_MESSAGE _pRpcMessage,
  1644. DWORD *_pdwStubPhase);
  1645. /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE IPassportManager_GetServerInfo_Proxy(
  1646. IPassportManager * This,
  1647. /* [retval][out] */ BSTR *pbstrOut);
  1648. void __RPC_STUB IPassportManager_GetServerInfo_Stub(
  1649. IRpcStubBuffer *This,
  1650. IRpcChannelBuffer *_pRpcChannelBuffer,
  1651. PRPC_MESSAGE _pRpcMessage,
  1652. DWORD *_pdwStubPhase);
  1653. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager_HaveConsent_Proxy(
  1654. IPassportManager * This,
  1655. /* [in] */ VARIANT_BOOL bNeedFullConsent,
  1656. /* [in] */ VARIANT_BOOL bNeedBirthdate,
  1657. /* [retval][out] */ VARIANT_BOOL *pbHaveConsent);
  1658. void __RPC_STUB IPassportManager_HaveConsent_Stub(
  1659. IRpcStubBuffer *This,
  1660. IRpcChannelBuffer *_pRpcChannelBuffer,
  1661. PRPC_MESSAGE _pRpcMessage,
  1662. DWORD *_pdwStubPhase);
  1663. #endif /* __IPassportManager_INTERFACE_DEFINED__ */
  1664. #ifndef __IPassportManager2_INTERFACE_DEFINED__
  1665. #define __IPassportManager2_INTERFACE_DEFINED__
  1666. /* interface IPassportManager2 */
  1667. /* [unique][helpstring][dual][uuid][object] */
  1668. EXTERN_C const IID IID_IPassportManager2;
  1669. #if defined(__cplusplus) && !defined(CINTERFACE)
  1670. MIDL_INTERFACE("8ca48d6a-0b51-4f7a-9475-b0a8b59c3999")
  1671. IPassportManager2 : public IPassportManager
  1672. {
  1673. public:
  1674. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoginUser(
  1675. /* [optional][in] */ VARIANT returnUrl,
  1676. /* [optional][in] */ VARIANT TimeWindow,
  1677. /* [optional][in] */ VARIANT ForceLogin,
  1678. /* [optional][in] */ VARIANT coBrandTemplate,
  1679. /* [optional][in] */ VARIANT lang_id,
  1680. /* [optional][in] */ VARIANT NameSpace,
  1681. /* [optional][in] */ VARIANT KPP,
  1682. /* [optional][in] */ VARIANT UseSecureAuth,
  1683. /* [optional][in] */ VARIANT ExtraParams) = 0;
  1684. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AuthURL2(
  1685. /* [optional][in] */ VARIANT returnUrl,
  1686. /* [optional][in] */ VARIANT TimeWindow,
  1687. /* [optional][in] */ VARIANT ForceLogin,
  1688. /* [optional][in] */ VARIANT coBrandArgs,
  1689. /* [optional][in] */ VARIANT lang_id,
  1690. /* [optional][in] */ VARIANT NameSpace,
  1691. /* [optional][in] */ VARIANT KPP,
  1692. /* [optional][in] */ VARIANT SecureLevel,
  1693. /* [retval][out] */ BSTR *pAuthVal) = 0;
  1694. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LogoTag2(
  1695. /* [optional][in] */ VARIANT returnUrl,
  1696. /* [optional][in] */ VARIANT TimeWindow,
  1697. /* [optional][in] */ VARIANT ForceLogin,
  1698. /* [optional][in] */ VARIANT coBrandArgs,
  1699. /* [optional][in] */ VARIANT lang_id,
  1700. /* [optional][in] */ VARIANT bSecure,
  1701. /* [optional][in] */ VARIANT NameSpace,
  1702. /* [optional][in] */ VARIANT KPP,
  1703. /* [optional][in] */ VARIANT SecureLevel,
  1704. /* [retval][out] */ BSTR *pVal) = 0;
  1705. };
  1706. #else /* C style interface */
  1707. typedef struct IPassportManager2Vtbl
  1708. {
  1709. BEGIN_INTERFACE
  1710. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1711. IPassportManager2 * This,
  1712. /* [in] */ REFIID riid,
  1713. /* [iid_is][out] */ void **ppvObject);
  1714. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1715. IPassportManager2 * This);
  1716. ULONG ( STDMETHODCALLTYPE *Release )(
  1717. IPassportManager2 * This);
  1718. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1719. IPassportManager2 * This,
  1720. /* [out] */ UINT *pctinfo);
  1721. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1722. IPassportManager2 * This,
  1723. /* [in] */ UINT iTInfo,
  1724. /* [in] */ LCID lcid,
  1725. /* [out] */ ITypeInfo **ppTInfo);
  1726. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1727. IPassportManager2 * This,
  1728. /* [in] */ REFIID riid,
  1729. /* [size_is][in] */ LPOLESTR *rgszNames,
  1730. /* [in] */ UINT cNames,
  1731. /* [in] */ LCID lcid,
  1732. /* [size_is][out] */ DISPID *rgDispId);
  1733. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1734. IPassportManager2 * This,
  1735. /* [in] */ DISPID dispIdMember,
  1736. /* [in] */ REFIID riid,
  1737. /* [in] */ LCID lcid,
  1738. /* [in] */ WORD wFlags,
  1739. /* [out][in] */ DISPPARAMS *pDispParams,
  1740. /* [out] */ VARIANT *pVarResult,
  1741. /* [out] */ EXCEPINFO *pExcepInfo,
  1742. /* [out] */ UINT *puArgErr);
  1743. HRESULT ( STDMETHODCALLTYPE *OnStartPage )(
  1744. IPassportManager2 * This,
  1745. /* [in] */ IUnknown *piUnk);
  1746. HRESULT ( STDMETHODCALLTYPE *OnEndPage )(
  1747. IPassportManager2 * This);
  1748. HRESULT ( STDMETHODCALLTYPE *OnStartPageECB )(
  1749. IPassportManager2 * This,
  1750. /* [in] */ BYTE *pECB,
  1751. /* [out][in] */ DWORD *pBufSize,
  1752. /* [size_is][out] */ LPSTR pCookieHeader);
  1753. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_Ticket )(
  1754. IPassportManager2 * This,
  1755. /* [out] */ IPassportTicket **piTicket);
  1756. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_Profile )(
  1757. IPassportManager2 * This,
  1758. /* [out] */ IPassportProfile **piProfile);
  1759. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AuthURL )(
  1760. IPassportManager2 * This,
  1761. /* [optional][in] */ VARIANT returnUrl,
  1762. /* [optional][in] */ VARIANT TimeWindow,
  1763. /* [optional][in] */ VARIANT ForceLogin,
  1764. /* [optional][in] */ VARIANT coBrandArgs,
  1765. /* [optional][in] */ VARIANT lang_id,
  1766. /* [optional][in] */ VARIANT NameSpace,
  1767. /* [optional][in] */ VARIANT KPP,
  1768. /* [optional][in] */ VARIANT SecureLevel,
  1769. /* [retval][out] */ BSTR *pAuthVal);
  1770. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsAuthenticated )(
  1771. IPassportManager2 * This,
  1772. /* [optional][in] */ VARIANT TimeWindow,
  1773. /* [optional][in] */ VARIANT ForceLogin,
  1774. /* [optional][in] */ VARIANT CheckSecure,
  1775. /* [retval][out] */ VARIANT_BOOL *pVal);
  1776. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogoTag )(
  1777. IPassportManager2 * This,
  1778. /* [optional][in] */ VARIANT returnUrl,
  1779. /* [optional][in] */ VARIANT TimeWindow,
  1780. /* [optional][in] */ VARIANT ForceLogin,
  1781. /* [optional][in] */ VARIANT coBrandArgs,
  1782. /* [optional][in] */ VARIANT lang_id,
  1783. /* [optional][in] */ VARIANT bSecure,
  1784. /* [optional][in] */ VARIANT NameSpace,
  1785. /* [optional][in] */ VARIANT KPP,
  1786. /* [optional][in] */ VARIANT SecureLevel,
  1787. /* [retval][out] */ BSTR *pVal);
  1788. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HasProfile )(
  1789. IPassportManager2 * This,
  1790. /* [optional][in] */ VARIANT ProfileName,
  1791. /* [retval][out] */ VARIANT_BOOL *pVal);
  1792. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasTicket )(
  1793. IPassportManager2 * This,
  1794. /* [retval][out] */ VARIANT_BOOL *pVal);
  1795. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FromNetworkServer )(
  1796. IPassportManager2 * This,
  1797. /* [retval][out] */ VARIANT_BOOL *pVal);
  1798. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HasFlag )(
  1799. IPassportManager2 * This,
  1800. /* [optional][in] */ VARIANT flagMask,
  1801. /* [retval][out] */ VARIANT_BOOL *pVal);
  1802. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TicketAge )(
  1803. IPassportManager2 * This,
  1804. /* [retval][out] */ int *pVal);
  1805. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TimeSinceSignIn )(
  1806. IPassportManager2 * This,
  1807. /* [retval][out] */ int *pVal);
  1808. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDomainAttribute )(
  1809. IPassportManager2 * This,
  1810. /* [in] */ BSTR attributeName,
  1811. /* [optional][in] */ VARIANT lcid,
  1812. /* [optional][in] */ VARIANT domain,
  1813. /* [retval][out] */ BSTR *pAttrVal);
  1814. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DomainFromMemberName )(
  1815. IPassportManager2 * This,
  1816. /* [optional][in] */ VARIANT memberName,
  1817. /* [retval][out] */ BSTR *pDomainName);
  1818. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProfileByIndex )(
  1819. IPassportManager2 * This,
  1820. /* [in] */ int index,
  1821. /* [retval][out] */ VARIANT *pVal);
  1822. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ProfileByIndex )(
  1823. IPassportManager2 * This,
  1824. /* [in] */ int index,
  1825. /* [in] */ VARIANT newVal);
  1826. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnStartPageManual )(
  1827. IPassportManager2 * This,
  1828. /* [in] */ BSTR queryStringT,
  1829. /* [in] */ BSTR queryStringP,
  1830. /* [in] */ BSTR MSPAuthCookie,
  1831. /* [in] */ BSTR MSPProfCookie,
  1832. /* [in] */ BSTR MSPConsentCookie,
  1833. /* [optional][in] */ VARIANT vMSPSecCookie,
  1834. /* [retval][out] */ VARIANT *pSetCookieArray);
  1835. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasSavedPassword )(
  1836. IPassportManager2 * This,
  1837. /* [retval][out] */ VARIANT_BOOL *pVal);
  1838. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )(
  1839. IPassportManager2 * This,
  1840. /* [retval][out] */ BSTR *pNewProfileCookieHeader);
  1841. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Profile )(
  1842. IPassportManager2 * This,
  1843. /* [in] */ BSTR attributeName,
  1844. /* [retval][out] */ VARIANT *pVal);
  1845. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Profile )(
  1846. IPassportManager2 * This,
  1847. /* [in] */ BSTR attributeName,
  1848. /* [in] */ VARIANT newVal);
  1849. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_TicketTime )(
  1850. IPassportManager2 * This,
  1851. /* [retval][out] */ long *pVal);
  1852. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_SignInTime )(
  1853. IPassportManager2 * This,
  1854. /* [retval][out] */ long *pVal);
  1855. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_Domains )(
  1856. IPassportManager2 * This,
  1857. /* [retval][out] */ VARIANT *pArrayVal);
  1858. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  1859. IPassportManager2 * This,
  1860. /* [retval][out] */ long *pErrorVal);
  1861. /* [helpstring][hidden] */ HRESULT ( STDMETHODCALLTYPE *OnStartPageFilter )(
  1862. IPassportManager2 * This,
  1863. /* [in] */ BYTE *pPFC,
  1864. /* [out][in] */ DWORD *pBufSize,
  1865. /* [size_is][out] */ LPSTR pCookieHeader);
  1866. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnStartPageASP )(
  1867. IPassportManager2 * This,
  1868. /* [in] */ IDispatch *pdispRequest,
  1869. /* [in] */ IDispatch *pdispResponse);
  1870. /* [helpstring][id][hidden] */ HRESULT ( STDMETHODCALLTYPE *GetServerInfo )(
  1871. IPassportManager2 * This,
  1872. /* [retval][out] */ BSTR *pbstrOut);
  1873. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HaveConsent )(
  1874. IPassportManager2 * This,
  1875. /* [in] */ VARIANT_BOOL bNeedFullConsent,
  1876. /* [in] */ VARIANT_BOOL bNeedBirthdate,
  1877. /* [retval][out] */ VARIANT_BOOL *pbHaveConsent);
  1878. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoginUser )(
  1879. IPassportManager2 * This,
  1880. /* [optional][in] */ VARIANT returnUrl,
  1881. /* [optional][in] */ VARIANT TimeWindow,
  1882. /* [optional][in] */ VARIANT ForceLogin,
  1883. /* [optional][in] */ VARIANT coBrandTemplate,
  1884. /* [optional][in] */ VARIANT lang_id,
  1885. /* [optional][in] */ VARIANT NameSpace,
  1886. /* [optional][in] */ VARIANT KPP,
  1887. /* [optional][in] */ VARIANT UseSecureAuth,
  1888. /* [optional][in] */ VARIANT ExtraParams);
  1889. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AuthURL2 )(
  1890. IPassportManager2 * This,
  1891. /* [optional][in] */ VARIANT returnUrl,
  1892. /* [optional][in] */ VARIANT TimeWindow,
  1893. /* [optional][in] */ VARIANT ForceLogin,
  1894. /* [optional][in] */ VARIANT coBrandArgs,
  1895. /* [optional][in] */ VARIANT lang_id,
  1896. /* [optional][in] */ VARIANT NameSpace,
  1897. /* [optional][in] */ VARIANT KPP,
  1898. /* [optional][in] */ VARIANT SecureLevel,
  1899. /* [retval][out] */ BSTR *pAuthVal);
  1900. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogoTag2 )(
  1901. IPassportManager2 * This,
  1902. /* [optional][in] */ VARIANT returnUrl,
  1903. /* [optional][in] */ VARIANT TimeWindow,
  1904. /* [optional][in] */ VARIANT ForceLogin,
  1905. /* [optional][in] */ VARIANT coBrandArgs,
  1906. /* [optional][in] */ VARIANT lang_id,
  1907. /* [optional][in] */ VARIANT bSecure,
  1908. /* [optional][in] */ VARIANT NameSpace,
  1909. /* [optional][in] */ VARIANT KPP,
  1910. /* [optional][in] */ VARIANT SecureLevel,
  1911. /* [retval][out] */ BSTR *pVal);
  1912. END_INTERFACE
  1913. } IPassportManager2Vtbl;
  1914. interface IPassportManager2
  1915. {
  1916. CONST_VTBL struct IPassportManager2Vtbl *lpVtbl;
  1917. };
  1918. #ifdef COBJMACROS
  1919. #define IPassportManager2_QueryInterface(This,riid,ppvObject) \
  1920. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1921. #define IPassportManager2_AddRef(This) \
  1922. (This)->lpVtbl -> AddRef(This)
  1923. #define IPassportManager2_Release(This) \
  1924. (This)->lpVtbl -> Release(This)
  1925. #define IPassportManager2_GetTypeInfoCount(This,pctinfo) \
  1926. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1927. #define IPassportManager2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1928. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1929. #define IPassportManager2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1930. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1931. #define IPassportManager2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1932. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1933. #define IPassportManager2_OnStartPage(This,piUnk) \
  1934. (This)->lpVtbl -> OnStartPage(This,piUnk)
  1935. #define IPassportManager2_OnEndPage(This) \
  1936. (This)->lpVtbl -> OnEndPage(This)
  1937. #define IPassportManager2_OnStartPageECB(This,pECB,pBufSize,pCookieHeader) \
  1938. (This)->lpVtbl -> OnStartPageECB(This,pECB,pBufSize,pCookieHeader)
  1939. #define IPassportManager2__Ticket(This,piTicket) \
  1940. (This)->lpVtbl -> _Ticket(This,piTicket)
  1941. #define IPassportManager2__Profile(This,piProfile) \
  1942. (This)->lpVtbl -> _Profile(This,piProfile)
  1943. #define IPassportManager2_AuthURL(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal) \
  1944. (This)->lpVtbl -> AuthURL(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal)
  1945. #define IPassportManager2_IsAuthenticated(This,TimeWindow,ForceLogin,CheckSecure,pVal) \
  1946. (This)->lpVtbl -> IsAuthenticated(This,TimeWindow,ForceLogin,CheckSecure,pVal)
  1947. #define IPassportManager2_LogoTag(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal) \
  1948. (This)->lpVtbl -> LogoTag(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal)
  1949. #define IPassportManager2_HasProfile(This,ProfileName,pVal) \
  1950. (This)->lpVtbl -> HasProfile(This,ProfileName,pVal)
  1951. #define IPassportManager2_get_HasTicket(This,pVal) \
  1952. (This)->lpVtbl -> get_HasTicket(This,pVal)
  1953. #define IPassportManager2_get_FromNetworkServer(This,pVal) \
  1954. (This)->lpVtbl -> get_FromNetworkServer(This,pVal)
  1955. #define IPassportManager2_HasFlag(This,flagMask,pVal) \
  1956. (This)->lpVtbl -> HasFlag(This,flagMask,pVal)
  1957. #define IPassportManager2_get_TicketAge(This,pVal) \
  1958. (This)->lpVtbl -> get_TicketAge(This,pVal)
  1959. #define IPassportManager2_get_TimeSinceSignIn(This,pVal) \
  1960. (This)->lpVtbl -> get_TimeSinceSignIn(This,pVal)
  1961. #define IPassportManager2_GetDomainAttribute(This,attributeName,lcid,domain,pAttrVal) \
  1962. (This)->lpVtbl -> GetDomainAttribute(This,attributeName,lcid,domain,pAttrVal)
  1963. #define IPassportManager2_DomainFromMemberName(This,memberName,pDomainName) \
  1964. (This)->lpVtbl -> DomainFromMemberName(This,memberName,pDomainName)
  1965. #define IPassportManager2_get_ProfileByIndex(This,index,pVal) \
  1966. (This)->lpVtbl -> get_ProfileByIndex(This,index,pVal)
  1967. #define IPassportManager2_put_ProfileByIndex(This,index,newVal) \
  1968. (This)->lpVtbl -> put_ProfileByIndex(This,index,newVal)
  1969. #define IPassportManager2_OnStartPageManual(This,queryStringT,queryStringP,MSPAuthCookie,MSPProfCookie,MSPConsentCookie,vMSPSecCookie,pSetCookieArray) \
  1970. (This)->lpVtbl -> OnStartPageManual(This,queryStringT,queryStringP,MSPAuthCookie,MSPProfCookie,MSPConsentCookie,vMSPSecCookie,pSetCookieArray)
  1971. #define IPassportManager2_get_HasSavedPassword(This,pVal) \
  1972. (This)->lpVtbl -> get_HasSavedPassword(This,pVal)
  1973. #define IPassportManager2_Commit(This,pNewProfileCookieHeader) \
  1974. (This)->lpVtbl -> Commit(This,pNewProfileCookieHeader)
  1975. #define IPassportManager2_get_Profile(This,attributeName,pVal) \
  1976. (This)->lpVtbl -> get_Profile(This,attributeName,pVal)
  1977. #define IPassportManager2_put_Profile(This,attributeName,newVal) \
  1978. (This)->lpVtbl -> put_Profile(This,attributeName,newVal)
  1979. #define IPassportManager2_get_TicketTime(This,pVal) \
  1980. (This)->lpVtbl -> get_TicketTime(This,pVal)
  1981. #define IPassportManager2_get_SignInTime(This,pVal) \
  1982. (This)->lpVtbl -> get_SignInTime(This,pVal)
  1983. #define IPassportManager2_get_Domains(This,pArrayVal) \
  1984. (This)->lpVtbl -> get_Domains(This,pArrayVal)
  1985. #define IPassportManager2_get_Error(This,pErrorVal) \
  1986. (This)->lpVtbl -> get_Error(This,pErrorVal)
  1987. #define IPassportManager2_OnStartPageFilter(This,pPFC,pBufSize,pCookieHeader) \
  1988. (This)->lpVtbl -> OnStartPageFilter(This,pPFC,pBufSize,pCookieHeader)
  1989. #define IPassportManager2_OnStartPageASP(This,pdispRequest,pdispResponse) \
  1990. (This)->lpVtbl -> OnStartPageASP(This,pdispRequest,pdispResponse)
  1991. #define IPassportManager2_GetServerInfo(This,pbstrOut) \
  1992. (This)->lpVtbl -> GetServerInfo(This,pbstrOut)
  1993. #define IPassportManager2_HaveConsent(This,bNeedFullConsent,bNeedBirthdate,pbHaveConsent) \
  1994. (This)->lpVtbl -> HaveConsent(This,bNeedFullConsent,bNeedBirthdate,pbHaveConsent)
  1995. #define IPassportManager2_LoginUser(This,returnUrl,TimeWindow,ForceLogin,coBrandTemplate,lang_id,NameSpace,KPP,UseSecureAuth,ExtraParams) \
  1996. (This)->lpVtbl -> LoginUser(This,returnUrl,TimeWindow,ForceLogin,coBrandTemplate,lang_id,NameSpace,KPP,UseSecureAuth,ExtraParams)
  1997. #define IPassportManager2_AuthURL2(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal) \
  1998. (This)->lpVtbl -> AuthURL2(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal)
  1999. #define IPassportManager2_LogoTag2(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal) \
  2000. (This)->lpVtbl -> LogoTag2(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal)
  2001. #endif /* COBJMACROS */
  2002. #endif /* C style interface */
  2003. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager2_LoginUser_Proxy(
  2004. IPassportManager2 * This,
  2005. /* [optional][in] */ VARIANT returnUrl,
  2006. /* [optional][in] */ VARIANT TimeWindow,
  2007. /* [optional][in] */ VARIANT ForceLogin,
  2008. /* [optional][in] */ VARIANT coBrandTemplate,
  2009. /* [optional][in] */ VARIANT lang_id,
  2010. /* [optional][in] */ VARIANT NameSpace,
  2011. /* [optional][in] */ VARIANT KPP,
  2012. /* [optional][in] */ VARIANT UseSecureAuth,
  2013. /* [optional][in] */ VARIANT ExtraParams);
  2014. void __RPC_STUB IPassportManager2_LoginUser_Stub(
  2015. IRpcStubBuffer *This,
  2016. IRpcChannelBuffer *_pRpcChannelBuffer,
  2017. PRPC_MESSAGE _pRpcMessage,
  2018. DWORD *_pdwStubPhase);
  2019. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager2_AuthURL2_Proxy(
  2020. IPassportManager2 * This,
  2021. /* [optional][in] */ VARIANT returnUrl,
  2022. /* [optional][in] */ VARIANT TimeWindow,
  2023. /* [optional][in] */ VARIANT ForceLogin,
  2024. /* [optional][in] */ VARIANT coBrandArgs,
  2025. /* [optional][in] */ VARIANT lang_id,
  2026. /* [optional][in] */ VARIANT NameSpace,
  2027. /* [optional][in] */ VARIANT KPP,
  2028. /* [optional][in] */ VARIANT SecureLevel,
  2029. /* [retval][out] */ BSTR *pAuthVal);
  2030. void __RPC_STUB IPassportManager2_AuthURL2_Stub(
  2031. IRpcStubBuffer *This,
  2032. IRpcChannelBuffer *_pRpcChannelBuffer,
  2033. PRPC_MESSAGE _pRpcMessage,
  2034. DWORD *_pdwStubPhase);
  2035. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager2_LogoTag2_Proxy(
  2036. IPassportManager2 * This,
  2037. /* [optional][in] */ VARIANT returnUrl,
  2038. /* [optional][in] */ VARIANT TimeWindow,
  2039. /* [optional][in] */ VARIANT ForceLogin,
  2040. /* [optional][in] */ VARIANT coBrandArgs,
  2041. /* [optional][in] */ VARIANT lang_id,
  2042. /* [optional][in] */ VARIANT bSecure,
  2043. /* [optional][in] */ VARIANT NameSpace,
  2044. /* [optional][in] */ VARIANT KPP,
  2045. /* [optional][in] */ VARIANT SecureLevel,
  2046. /* [retval][out] */ BSTR *pVal);
  2047. void __RPC_STUB IPassportManager2_LogoTag2_Stub(
  2048. IRpcStubBuffer *This,
  2049. IRpcChannelBuffer *_pRpcChannelBuffer,
  2050. PRPC_MESSAGE _pRpcMessage,
  2051. DWORD *_pdwStubPhase);
  2052. #endif /* __IPassportManager2_INTERFACE_DEFINED__ */
  2053. #ifndef __IPassportManager3_INTERFACE_DEFINED__
  2054. #define __IPassportManager3_INTERFACE_DEFINED__
  2055. /* interface IPassportManager3 */
  2056. /* [unique][helpstring][dual][uuid][object] */
  2057. EXTERN_C const IID IID_IPassportManager3;
  2058. #if defined(__cplusplus) && !defined(CINTERFACE)
  2059. MIDL_INTERFACE("1451151f-90a0-491b-b8e1-81a13767ed98")
  2060. IPassportManager3 : public IPassportManager2
  2061. {
  2062. public:
  2063. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Ticket(
  2064. /* [in] */ BSTR attributeName,
  2065. /* [retval][out] */ VARIANT *pVal) = 0;
  2066. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCurrentConfig(
  2067. /* [in] */ BSTR name,
  2068. /* [retval][out] */ VARIANT *pVal) = 0;
  2069. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LogoutURL(
  2070. /* [optional][in] */ VARIANT returnUrl,
  2071. /* [optional][in] */ VARIANT coBrandArgs,
  2072. /* [optional][in] */ VARIANT lang_id,
  2073. /* [optional][in] */ VARIANT NameSpace,
  2074. /* [optional][in] */ VARIANT bSecure,
  2075. /* [retval][out] */ BSTR *pVal) = 0;
  2076. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetLoginChallenge(
  2077. /* [optional][in] */ VARIANT returnUrl,
  2078. /* [optional][in] */ VARIANT TimeWindow,
  2079. /* [optional][in] */ VARIANT ForceLogin,
  2080. /* [optional][in] */ VARIANT coBrandTemplate,
  2081. /* [optional][in] */ VARIANT lang_id,
  2082. /* [optional][in] */ VARIANT NameSpace,
  2083. /* [optional][in] */ VARIANT KPP,
  2084. /* [optional][in] */ VARIANT UseSecureAuth,
  2085. /* [optional][in] */ VARIANT ExtraParams,
  2086. /* [optional][out] */ VARIANT *pAuthHeader,
  2087. /* [retval][out] */ BSTR *pAuthVal) = 0;
  2088. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HexPUID(
  2089. /* [retval][out] */ BSTR *pVal) = 0;
  2090. };
  2091. #else /* C style interface */
  2092. typedef struct IPassportManager3Vtbl
  2093. {
  2094. BEGIN_INTERFACE
  2095. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2096. IPassportManager3 * This,
  2097. /* [in] */ REFIID riid,
  2098. /* [iid_is][out] */ void **ppvObject);
  2099. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2100. IPassportManager3 * This);
  2101. ULONG ( STDMETHODCALLTYPE *Release )(
  2102. IPassportManager3 * This);
  2103. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2104. IPassportManager3 * This,
  2105. /* [out] */ UINT *pctinfo);
  2106. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2107. IPassportManager3 * This,
  2108. /* [in] */ UINT iTInfo,
  2109. /* [in] */ LCID lcid,
  2110. /* [out] */ ITypeInfo **ppTInfo);
  2111. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2112. IPassportManager3 * This,
  2113. /* [in] */ REFIID riid,
  2114. /* [size_is][in] */ LPOLESTR *rgszNames,
  2115. /* [in] */ UINT cNames,
  2116. /* [in] */ LCID lcid,
  2117. /* [size_is][out] */ DISPID *rgDispId);
  2118. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2119. IPassportManager3 * This,
  2120. /* [in] */ DISPID dispIdMember,
  2121. /* [in] */ REFIID riid,
  2122. /* [in] */ LCID lcid,
  2123. /* [in] */ WORD wFlags,
  2124. /* [out][in] */ DISPPARAMS *pDispParams,
  2125. /* [out] */ VARIANT *pVarResult,
  2126. /* [out] */ EXCEPINFO *pExcepInfo,
  2127. /* [out] */ UINT *puArgErr);
  2128. HRESULT ( STDMETHODCALLTYPE *OnStartPage )(
  2129. IPassportManager3 * This,
  2130. /* [in] */ IUnknown *piUnk);
  2131. HRESULT ( STDMETHODCALLTYPE *OnEndPage )(
  2132. IPassportManager3 * This);
  2133. HRESULT ( STDMETHODCALLTYPE *OnStartPageECB )(
  2134. IPassportManager3 * This,
  2135. /* [in] */ BYTE *pECB,
  2136. /* [out][in] */ DWORD *pBufSize,
  2137. /* [size_is][out] */ LPSTR pCookieHeader);
  2138. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_Ticket )(
  2139. IPassportManager3 * This,
  2140. /* [out] */ IPassportTicket **piTicket);
  2141. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *_Profile )(
  2142. IPassportManager3 * This,
  2143. /* [out] */ IPassportProfile **piProfile);
  2144. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AuthURL )(
  2145. IPassportManager3 * This,
  2146. /* [optional][in] */ VARIANT returnUrl,
  2147. /* [optional][in] */ VARIANT TimeWindow,
  2148. /* [optional][in] */ VARIANT ForceLogin,
  2149. /* [optional][in] */ VARIANT coBrandArgs,
  2150. /* [optional][in] */ VARIANT lang_id,
  2151. /* [optional][in] */ VARIANT NameSpace,
  2152. /* [optional][in] */ VARIANT KPP,
  2153. /* [optional][in] */ VARIANT SecureLevel,
  2154. /* [retval][out] */ BSTR *pAuthVal);
  2155. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsAuthenticated )(
  2156. IPassportManager3 * This,
  2157. /* [optional][in] */ VARIANT TimeWindow,
  2158. /* [optional][in] */ VARIANT ForceLogin,
  2159. /* [optional][in] */ VARIANT CheckSecure,
  2160. /* [retval][out] */ VARIANT_BOOL *pVal);
  2161. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogoTag )(
  2162. IPassportManager3 * This,
  2163. /* [optional][in] */ VARIANT returnUrl,
  2164. /* [optional][in] */ VARIANT TimeWindow,
  2165. /* [optional][in] */ VARIANT ForceLogin,
  2166. /* [optional][in] */ VARIANT coBrandArgs,
  2167. /* [optional][in] */ VARIANT lang_id,
  2168. /* [optional][in] */ VARIANT bSecure,
  2169. /* [optional][in] */ VARIANT NameSpace,
  2170. /* [optional][in] */ VARIANT KPP,
  2171. /* [optional][in] */ VARIANT SecureLevel,
  2172. /* [retval][out] */ BSTR *pVal);
  2173. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HasProfile )(
  2174. IPassportManager3 * This,
  2175. /* [optional][in] */ VARIANT ProfileName,
  2176. /* [retval][out] */ VARIANT_BOOL *pVal);
  2177. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasTicket )(
  2178. IPassportManager3 * This,
  2179. /* [retval][out] */ VARIANT_BOOL *pVal);
  2180. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FromNetworkServer )(
  2181. IPassportManager3 * This,
  2182. /* [retval][out] */ VARIANT_BOOL *pVal);
  2183. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HasFlag )(
  2184. IPassportManager3 * This,
  2185. /* [optional][in] */ VARIANT flagMask,
  2186. /* [retval][out] */ VARIANT_BOOL *pVal);
  2187. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TicketAge )(
  2188. IPassportManager3 * This,
  2189. /* [retval][out] */ int *pVal);
  2190. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TimeSinceSignIn )(
  2191. IPassportManager3 * This,
  2192. /* [retval][out] */ int *pVal);
  2193. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDomainAttribute )(
  2194. IPassportManager3 * This,
  2195. /* [in] */ BSTR attributeName,
  2196. /* [optional][in] */ VARIANT lcid,
  2197. /* [optional][in] */ VARIANT domain,
  2198. /* [retval][out] */ BSTR *pAttrVal);
  2199. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DomainFromMemberName )(
  2200. IPassportManager3 * This,
  2201. /* [optional][in] */ VARIANT memberName,
  2202. /* [retval][out] */ BSTR *pDomainName);
  2203. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProfileByIndex )(
  2204. IPassportManager3 * This,
  2205. /* [in] */ int index,
  2206. /* [retval][out] */ VARIANT *pVal);
  2207. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ProfileByIndex )(
  2208. IPassportManager3 * This,
  2209. /* [in] */ int index,
  2210. /* [in] */ VARIANT newVal);
  2211. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnStartPageManual )(
  2212. IPassportManager3 * This,
  2213. /* [in] */ BSTR queryStringT,
  2214. /* [in] */ BSTR queryStringP,
  2215. /* [in] */ BSTR MSPAuthCookie,
  2216. /* [in] */ BSTR MSPProfCookie,
  2217. /* [in] */ BSTR MSPConsentCookie,
  2218. /* [optional][in] */ VARIANT vMSPSecCookie,
  2219. /* [retval][out] */ VARIANT *pSetCookieArray);
  2220. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasSavedPassword )(
  2221. IPassportManager3 * This,
  2222. /* [retval][out] */ VARIANT_BOOL *pVal);
  2223. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )(
  2224. IPassportManager3 * This,
  2225. /* [retval][out] */ BSTR *pNewProfileCookieHeader);
  2226. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Profile )(
  2227. IPassportManager3 * This,
  2228. /* [in] */ BSTR attributeName,
  2229. /* [retval][out] */ VARIANT *pVal);
  2230. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Profile )(
  2231. IPassportManager3 * This,
  2232. /* [in] */ BSTR attributeName,
  2233. /* [in] */ VARIANT newVal);
  2234. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_TicketTime )(
  2235. IPassportManager3 * This,
  2236. /* [retval][out] */ long *pVal);
  2237. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_SignInTime )(
  2238. IPassportManager3 * This,
  2239. /* [retval][out] */ long *pVal);
  2240. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_Domains )(
  2241. IPassportManager3 * This,
  2242. /* [retval][out] */ VARIANT *pArrayVal);
  2243. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  2244. IPassportManager3 * This,
  2245. /* [retval][out] */ long *pErrorVal);
  2246. /* [helpstring][hidden] */ HRESULT ( STDMETHODCALLTYPE *OnStartPageFilter )(
  2247. IPassportManager3 * This,
  2248. /* [in] */ BYTE *pPFC,
  2249. /* [out][in] */ DWORD *pBufSize,
  2250. /* [size_is][out] */ LPSTR pCookieHeader);
  2251. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnStartPageASP )(
  2252. IPassportManager3 * This,
  2253. /* [in] */ IDispatch *pdispRequest,
  2254. /* [in] */ IDispatch *pdispResponse);
  2255. /* [helpstring][id][hidden] */ HRESULT ( STDMETHODCALLTYPE *GetServerInfo )(
  2256. IPassportManager3 * This,
  2257. /* [retval][out] */ BSTR *pbstrOut);
  2258. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HaveConsent )(
  2259. IPassportManager3 * This,
  2260. /* [in] */ VARIANT_BOOL bNeedFullConsent,
  2261. /* [in] */ VARIANT_BOOL bNeedBirthdate,
  2262. /* [retval][out] */ VARIANT_BOOL *pbHaveConsent);
  2263. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoginUser )(
  2264. IPassportManager3 * This,
  2265. /* [optional][in] */ VARIANT returnUrl,
  2266. /* [optional][in] */ VARIANT TimeWindow,
  2267. /* [optional][in] */ VARIANT ForceLogin,
  2268. /* [optional][in] */ VARIANT coBrandTemplate,
  2269. /* [optional][in] */ VARIANT lang_id,
  2270. /* [optional][in] */ VARIANT NameSpace,
  2271. /* [optional][in] */ VARIANT KPP,
  2272. /* [optional][in] */ VARIANT UseSecureAuth,
  2273. /* [optional][in] */ VARIANT ExtraParams);
  2274. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AuthURL2 )(
  2275. IPassportManager3 * This,
  2276. /* [optional][in] */ VARIANT returnUrl,
  2277. /* [optional][in] */ VARIANT TimeWindow,
  2278. /* [optional][in] */ VARIANT ForceLogin,
  2279. /* [optional][in] */ VARIANT coBrandArgs,
  2280. /* [optional][in] */ VARIANT lang_id,
  2281. /* [optional][in] */ VARIANT NameSpace,
  2282. /* [optional][in] */ VARIANT KPP,
  2283. /* [optional][in] */ VARIANT SecureLevel,
  2284. /* [retval][out] */ BSTR *pAuthVal);
  2285. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogoTag2 )(
  2286. IPassportManager3 * This,
  2287. /* [optional][in] */ VARIANT returnUrl,
  2288. /* [optional][in] */ VARIANT TimeWindow,
  2289. /* [optional][in] */ VARIANT ForceLogin,
  2290. /* [optional][in] */ VARIANT coBrandArgs,
  2291. /* [optional][in] */ VARIANT lang_id,
  2292. /* [optional][in] */ VARIANT bSecure,
  2293. /* [optional][in] */ VARIANT NameSpace,
  2294. /* [optional][in] */ VARIANT KPP,
  2295. /* [optional][in] */ VARIANT SecureLevel,
  2296. /* [retval][out] */ BSTR *pVal);
  2297. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Ticket )(
  2298. IPassportManager3 * This,
  2299. /* [in] */ BSTR attributeName,
  2300. /* [retval][out] */ VARIANT *pVal);
  2301. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCurrentConfig )(
  2302. IPassportManager3 * This,
  2303. /* [in] */ BSTR name,
  2304. /* [retval][out] */ VARIANT *pVal);
  2305. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogoutURL )(
  2306. IPassportManager3 * This,
  2307. /* [optional][in] */ VARIANT returnUrl,
  2308. /* [optional][in] */ VARIANT coBrandArgs,
  2309. /* [optional][in] */ VARIANT lang_id,
  2310. /* [optional][in] */ VARIANT NameSpace,
  2311. /* [optional][in] */ VARIANT bSecure,
  2312. /* [retval][out] */ BSTR *pVal);
  2313. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetLoginChallenge )(
  2314. IPassportManager3 * This,
  2315. /* [optional][in] */ VARIANT returnUrl,
  2316. /* [optional][in] */ VARIANT TimeWindow,
  2317. /* [optional][in] */ VARIANT ForceLogin,
  2318. /* [optional][in] */ VARIANT coBrandTemplate,
  2319. /* [optional][in] */ VARIANT lang_id,
  2320. /* [optional][in] */ VARIANT NameSpace,
  2321. /* [optional][in] */ VARIANT KPP,
  2322. /* [optional][in] */ VARIANT UseSecureAuth,
  2323. /* [optional][in] */ VARIANT ExtraParams,
  2324. /* [optional][out] */ VARIANT *pAuthHeader,
  2325. /* [retval][out] */ BSTR *pAuthVal);
  2326. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HexPUID )(
  2327. IPassportManager3 * This,
  2328. /* [retval][out] */ BSTR *pVal);
  2329. END_INTERFACE
  2330. } IPassportManager3Vtbl;
  2331. interface IPassportManager3
  2332. {
  2333. CONST_VTBL struct IPassportManager3Vtbl *lpVtbl;
  2334. };
  2335. #ifdef COBJMACROS
  2336. #define IPassportManager3_QueryInterface(This,riid,ppvObject) \
  2337. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2338. #define IPassportManager3_AddRef(This) \
  2339. (This)->lpVtbl -> AddRef(This)
  2340. #define IPassportManager3_Release(This) \
  2341. (This)->lpVtbl -> Release(This)
  2342. #define IPassportManager3_GetTypeInfoCount(This,pctinfo) \
  2343. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2344. #define IPassportManager3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2345. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2346. #define IPassportManager3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2347. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2348. #define IPassportManager3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2349. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2350. #define IPassportManager3_OnStartPage(This,piUnk) \
  2351. (This)->lpVtbl -> OnStartPage(This,piUnk)
  2352. #define IPassportManager3_OnEndPage(This) \
  2353. (This)->lpVtbl -> OnEndPage(This)
  2354. #define IPassportManager3_OnStartPageECB(This,pECB,pBufSize,pCookieHeader) \
  2355. (This)->lpVtbl -> OnStartPageECB(This,pECB,pBufSize,pCookieHeader)
  2356. #define IPassportManager3__Ticket(This,piTicket) \
  2357. (This)->lpVtbl -> _Ticket(This,piTicket)
  2358. #define IPassportManager3__Profile(This,piProfile) \
  2359. (This)->lpVtbl -> _Profile(This,piProfile)
  2360. #define IPassportManager3_AuthURL(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal) \
  2361. (This)->lpVtbl -> AuthURL(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal)
  2362. #define IPassportManager3_IsAuthenticated(This,TimeWindow,ForceLogin,CheckSecure,pVal) \
  2363. (This)->lpVtbl -> IsAuthenticated(This,TimeWindow,ForceLogin,CheckSecure,pVal)
  2364. #define IPassportManager3_LogoTag(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal) \
  2365. (This)->lpVtbl -> LogoTag(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal)
  2366. #define IPassportManager3_HasProfile(This,ProfileName,pVal) \
  2367. (This)->lpVtbl -> HasProfile(This,ProfileName,pVal)
  2368. #define IPassportManager3_get_HasTicket(This,pVal) \
  2369. (This)->lpVtbl -> get_HasTicket(This,pVal)
  2370. #define IPassportManager3_get_FromNetworkServer(This,pVal) \
  2371. (This)->lpVtbl -> get_FromNetworkServer(This,pVal)
  2372. #define IPassportManager3_HasFlag(This,flagMask,pVal) \
  2373. (This)->lpVtbl -> HasFlag(This,flagMask,pVal)
  2374. #define IPassportManager3_get_TicketAge(This,pVal) \
  2375. (This)->lpVtbl -> get_TicketAge(This,pVal)
  2376. #define IPassportManager3_get_TimeSinceSignIn(This,pVal) \
  2377. (This)->lpVtbl -> get_TimeSinceSignIn(This,pVal)
  2378. #define IPassportManager3_GetDomainAttribute(This,attributeName,lcid,domain,pAttrVal) \
  2379. (This)->lpVtbl -> GetDomainAttribute(This,attributeName,lcid,domain,pAttrVal)
  2380. #define IPassportManager3_DomainFromMemberName(This,memberName,pDomainName) \
  2381. (This)->lpVtbl -> DomainFromMemberName(This,memberName,pDomainName)
  2382. #define IPassportManager3_get_ProfileByIndex(This,index,pVal) \
  2383. (This)->lpVtbl -> get_ProfileByIndex(This,index,pVal)
  2384. #define IPassportManager3_put_ProfileByIndex(This,index,newVal) \
  2385. (This)->lpVtbl -> put_ProfileByIndex(This,index,newVal)
  2386. #define IPassportManager3_OnStartPageManual(This,queryStringT,queryStringP,MSPAuthCookie,MSPProfCookie,MSPConsentCookie,vMSPSecCookie,pSetCookieArray) \
  2387. (This)->lpVtbl -> OnStartPageManual(This,queryStringT,queryStringP,MSPAuthCookie,MSPProfCookie,MSPConsentCookie,vMSPSecCookie,pSetCookieArray)
  2388. #define IPassportManager3_get_HasSavedPassword(This,pVal) \
  2389. (This)->lpVtbl -> get_HasSavedPassword(This,pVal)
  2390. #define IPassportManager3_Commit(This,pNewProfileCookieHeader) \
  2391. (This)->lpVtbl -> Commit(This,pNewProfileCookieHeader)
  2392. #define IPassportManager3_get_Profile(This,attributeName,pVal) \
  2393. (This)->lpVtbl -> get_Profile(This,attributeName,pVal)
  2394. #define IPassportManager3_put_Profile(This,attributeName,newVal) \
  2395. (This)->lpVtbl -> put_Profile(This,attributeName,newVal)
  2396. #define IPassportManager3_get_TicketTime(This,pVal) \
  2397. (This)->lpVtbl -> get_TicketTime(This,pVal)
  2398. #define IPassportManager3_get_SignInTime(This,pVal) \
  2399. (This)->lpVtbl -> get_SignInTime(This,pVal)
  2400. #define IPassportManager3_get_Domains(This,pArrayVal) \
  2401. (This)->lpVtbl -> get_Domains(This,pArrayVal)
  2402. #define IPassportManager3_get_Error(This,pErrorVal) \
  2403. (This)->lpVtbl -> get_Error(This,pErrorVal)
  2404. #define IPassportManager3_OnStartPageFilter(This,pPFC,pBufSize,pCookieHeader) \
  2405. (This)->lpVtbl -> OnStartPageFilter(This,pPFC,pBufSize,pCookieHeader)
  2406. #define IPassportManager3_OnStartPageASP(This,pdispRequest,pdispResponse) \
  2407. (This)->lpVtbl -> OnStartPageASP(This,pdispRequest,pdispResponse)
  2408. #define IPassportManager3_GetServerInfo(This,pbstrOut) \
  2409. (This)->lpVtbl -> GetServerInfo(This,pbstrOut)
  2410. #define IPassportManager3_HaveConsent(This,bNeedFullConsent,bNeedBirthdate,pbHaveConsent) \
  2411. (This)->lpVtbl -> HaveConsent(This,bNeedFullConsent,bNeedBirthdate,pbHaveConsent)
  2412. #define IPassportManager3_LoginUser(This,returnUrl,TimeWindow,ForceLogin,coBrandTemplate,lang_id,NameSpace,KPP,UseSecureAuth,ExtraParams) \
  2413. (This)->lpVtbl -> LoginUser(This,returnUrl,TimeWindow,ForceLogin,coBrandTemplate,lang_id,NameSpace,KPP,UseSecureAuth,ExtraParams)
  2414. #define IPassportManager3_AuthURL2(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal) \
  2415. (This)->lpVtbl -> AuthURL2(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,NameSpace,KPP,SecureLevel,pAuthVal)
  2416. #define IPassportManager3_LogoTag2(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal) \
  2417. (This)->lpVtbl -> LogoTag2(This,returnUrl,TimeWindow,ForceLogin,coBrandArgs,lang_id,bSecure,NameSpace,KPP,SecureLevel,pVal)
  2418. #define IPassportManager3_get_Ticket(This,attributeName,pVal) \
  2419. (This)->lpVtbl -> get_Ticket(This,attributeName,pVal)
  2420. #define IPassportManager3_GetCurrentConfig(This,name,pVal) \
  2421. (This)->lpVtbl -> GetCurrentConfig(This,name,pVal)
  2422. #define IPassportManager3_LogoutURL(This,returnUrl,coBrandArgs,lang_id,NameSpace,bSecure,pVal) \
  2423. (This)->lpVtbl -> LogoutURL(This,returnUrl,coBrandArgs,lang_id,NameSpace,bSecure,pVal)
  2424. #define IPassportManager3_GetLoginChallenge(This,returnUrl,TimeWindow,ForceLogin,coBrandTemplate,lang_id,NameSpace,KPP,UseSecureAuth,ExtraParams,pAuthHeader,pAuthVal) \
  2425. (This)->lpVtbl -> GetLoginChallenge(This,returnUrl,TimeWindow,ForceLogin,coBrandTemplate,lang_id,NameSpace,KPP,UseSecureAuth,ExtraParams,pAuthHeader,pAuthVal)
  2426. #define IPassportManager3_get_HexPUID(This,pVal) \
  2427. (This)->lpVtbl -> get_HexPUID(This,pVal)
  2428. #endif /* COBJMACROS */
  2429. #endif /* C style interface */
  2430. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager3_get_Ticket_Proxy(
  2431. IPassportManager3 * This,
  2432. /* [in] */ BSTR attributeName,
  2433. /* [retval][out] */ VARIANT *pVal);
  2434. void __RPC_STUB IPassportManager3_get_Ticket_Stub(
  2435. IRpcStubBuffer *This,
  2436. IRpcChannelBuffer *_pRpcChannelBuffer,
  2437. PRPC_MESSAGE _pRpcMessage,
  2438. DWORD *_pdwStubPhase);
  2439. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager3_GetCurrentConfig_Proxy(
  2440. IPassportManager3 * This,
  2441. /* [in] */ BSTR name,
  2442. /* [retval][out] */ VARIANT *pVal);
  2443. void __RPC_STUB IPassportManager3_GetCurrentConfig_Stub(
  2444. IRpcStubBuffer *This,
  2445. IRpcChannelBuffer *_pRpcChannelBuffer,
  2446. PRPC_MESSAGE _pRpcMessage,
  2447. DWORD *_pdwStubPhase);
  2448. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager3_LogoutURL_Proxy(
  2449. IPassportManager3 * This,
  2450. /* [optional][in] */ VARIANT returnUrl,
  2451. /* [optional][in] */ VARIANT coBrandArgs,
  2452. /* [optional][in] */ VARIANT lang_id,
  2453. /* [optional][in] */ VARIANT NameSpace,
  2454. /* [optional][in] */ VARIANT bSecure,
  2455. /* [retval][out] */ BSTR *pVal);
  2456. void __RPC_STUB IPassportManager3_LogoutURL_Stub(
  2457. IRpcStubBuffer *This,
  2458. IRpcChannelBuffer *_pRpcChannelBuffer,
  2459. PRPC_MESSAGE _pRpcMessage,
  2460. DWORD *_pdwStubPhase);
  2461. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportManager3_GetLoginChallenge_Proxy(
  2462. IPassportManager3 * This,
  2463. /* [optional][in] */ VARIANT returnUrl,
  2464. /* [optional][in] */ VARIANT TimeWindow,
  2465. /* [optional][in] */ VARIANT ForceLogin,
  2466. /* [optional][in] */ VARIANT coBrandTemplate,
  2467. /* [optional][in] */ VARIANT lang_id,
  2468. /* [optional][in] */ VARIANT NameSpace,
  2469. /* [optional][in] */ VARIANT KPP,
  2470. /* [optional][in] */ VARIANT UseSecureAuth,
  2471. /* [optional][in] */ VARIANT ExtraParams,
  2472. /* [optional][out] */ VARIANT *pAuthHeader,
  2473. /* [retval][out] */ BSTR *pAuthVal);
  2474. void __RPC_STUB IPassportManager3_GetLoginChallenge_Stub(
  2475. IRpcStubBuffer *This,
  2476. IRpcChannelBuffer *_pRpcChannelBuffer,
  2477. PRPC_MESSAGE _pRpcMessage,
  2478. DWORD *_pdwStubPhase);
  2479. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportManager3_get_HexPUID_Proxy(
  2480. IPassportManager3 * This,
  2481. /* [retval][out] */ BSTR *pVal);
  2482. void __RPC_STUB IPassportManager3_get_HexPUID_Stub(
  2483. IRpcStubBuffer *This,
  2484. IRpcChannelBuffer *_pRpcChannelBuffer,
  2485. PRPC_MESSAGE _pRpcMessage,
  2486. DWORD *_pdwStubPhase);
  2487. #endif /* __IPassportManager3_INTERFACE_DEFINED__ */
  2488. #ifndef __IPassportCrypt_INTERFACE_DEFINED__
  2489. #define __IPassportCrypt_INTERFACE_DEFINED__
  2490. /* interface IPassportCrypt */
  2491. /* [unique][helpstring][dual][uuid][object] */
  2492. EXTERN_C const IID IID_IPassportCrypt;
  2493. #if defined(__cplusplus) && !defined(CINTERFACE)
  2494. MIDL_INTERFACE("41651BF9-A5C8-11D2-95DF-00C04F8E7A70")
  2495. IPassportCrypt : public IDispatch
  2496. {
  2497. public:
  2498. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Encrypt(
  2499. /* [in] */ BSTR rawData,
  2500. /* [retval][out] */ BSTR *pEncrypted) = 0;
  2501. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Decrypt(
  2502. /* [in] */ BSTR rawData,
  2503. /* [retval][out] */ BSTR *pUnencrypted) = 0;
  2504. virtual /* [helpstring][id][propget][hidden] */ HRESULT STDMETHODCALLTYPE get_keyVersion(
  2505. /* [retval][out] */ int *pVal) = 0;
  2506. virtual /* [helpstring][id][propput][hidden] */ HRESULT STDMETHODCALLTYPE put_keyVersion(
  2507. /* [in] */ int newVal) = 0;
  2508. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsValid(
  2509. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  2510. virtual /* [helpstring][id][propput][hidden] */ HRESULT STDMETHODCALLTYPE put_keyMaterial(
  2511. /* [in] */ BSTR newVal) = 0;
  2512. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Compress(
  2513. /* [in] */ BSTR bstrIn,
  2514. /* [retval][out] */ BSTR *pbstrOut) = 0;
  2515. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Decompress(
  2516. /* [in] */ BSTR bstrIn,
  2517. /* [retval][out] */ BSTR *pbstrOut) = 0;
  2518. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_site(
  2519. /* [in] */ BSTR bstrSiteName) = 0;
  2520. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnStartPage(
  2521. /* [in] */ IUnknown *piUnk) = 0;
  2522. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_host(
  2523. /* [in] */ BSTR bstrHostName) = 0;
  2524. };
  2525. #else /* C style interface */
  2526. typedef struct IPassportCryptVtbl
  2527. {
  2528. BEGIN_INTERFACE
  2529. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2530. IPassportCrypt * This,
  2531. /* [in] */ REFIID riid,
  2532. /* [iid_is][out] */ void **ppvObject);
  2533. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2534. IPassportCrypt * This);
  2535. ULONG ( STDMETHODCALLTYPE *Release )(
  2536. IPassportCrypt * This);
  2537. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2538. IPassportCrypt * This,
  2539. /* [out] */ UINT *pctinfo);
  2540. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2541. IPassportCrypt * This,
  2542. /* [in] */ UINT iTInfo,
  2543. /* [in] */ LCID lcid,
  2544. /* [out] */ ITypeInfo **ppTInfo);
  2545. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2546. IPassportCrypt * This,
  2547. /* [in] */ REFIID riid,
  2548. /* [size_is][in] */ LPOLESTR *rgszNames,
  2549. /* [in] */ UINT cNames,
  2550. /* [in] */ LCID lcid,
  2551. /* [size_is][out] */ DISPID *rgDispId);
  2552. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2553. IPassportCrypt * This,
  2554. /* [in] */ DISPID dispIdMember,
  2555. /* [in] */ REFIID riid,
  2556. /* [in] */ LCID lcid,
  2557. /* [in] */ WORD wFlags,
  2558. /* [out][in] */ DISPPARAMS *pDispParams,
  2559. /* [out] */ VARIANT *pVarResult,
  2560. /* [out] */ EXCEPINFO *pExcepInfo,
  2561. /* [out] */ UINT *puArgErr);
  2562. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Encrypt )(
  2563. IPassportCrypt * This,
  2564. /* [in] */ BSTR rawData,
  2565. /* [retval][out] */ BSTR *pEncrypted);
  2566. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Decrypt )(
  2567. IPassportCrypt * This,
  2568. /* [in] */ BSTR rawData,
  2569. /* [retval][out] */ BSTR *pUnencrypted);
  2570. /* [helpstring][id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_keyVersion )(
  2571. IPassportCrypt * This,
  2572. /* [retval][out] */ int *pVal);
  2573. /* [helpstring][id][propput][hidden] */ HRESULT ( STDMETHODCALLTYPE *put_keyVersion )(
  2574. IPassportCrypt * This,
  2575. /* [in] */ int newVal);
  2576. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsValid )(
  2577. IPassportCrypt * This,
  2578. /* [retval][out] */ VARIANT_BOOL *pVal);
  2579. /* [helpstring][id][propput][hidden] */ HRESULT ( STDMETHODCALLTYPE *put_keyMaterial )(
  2580. IPassportCrypt * This,
  2581. /* [in] */ BSTR newVal);
  2582. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Compress )(
  2583. IPassportCrypt * This,
  2584. /* [in] */ BSTR bstrIn,
  2585. /* [retval][out] */ BSTR *pbstrOut);
  2586. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Decompress )(
  2587. IPassportCrypt * This,
  2588. /* [in] */ BSTR bstrIn,
  2589. /* [retval][out] */ BSTR *pbstrOut);
  2590. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_site )(
  2591. IPassportCrypt * This,
  2592. /* [in] */ BSTR bstrSiteName);
  2593. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnStartPage )(
  2594. IPassportCrypt * This,
  2595. /* [in] */ IUnknown *piUnk);
  2596. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_host )(
  2597. IPassportCrypt * This,
  2598. /* [in] */ BSTR bstrHostName);
  2599. END_INTERFACE
  2600. } IPassportCryptVtbl;
  2601. interface IPassportCrypt
  2602. {
  2603. CONST_VTBL struct IPassportCryptVtbl *lpVtbl;
  2604. };
  2605. #ifdef COBJMACROS
  2606. #define IPassportCrypt_QueryInterface(This,riid,ppvObject) \
  2607. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2608. #define IPassportCrypt_AddRef(This) \
  2609. (This)->lpVtbl -> AddRef(This)
  2610. #define IPassportCrypt_Release(This) \
  2611. (This)->lpVtbl -> Release(This)
  2612. #define IPassportCrypt_GetTypeInfoCount(This,pctinfo) \
  2613. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2614. #define IPassportCrypt_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2615. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2616. #define IPassportCrypt_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2617. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2618. #define IPassportCrypt_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2619. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2620. #define IPassportCrypt_Encrypt(This,rawData,pEncrypted) \
  2621. (This)->lpVtbl -> Encrypt(This,rawData,pEncrypted)
  2622. #define IPassportCrypt_Decrypt(This,rawData,pUnencrypted) \
  2623. (This)->lpVtbl -> Decrypt(This,rawData,pUnencrypted)
  2624. #define IPassportCrypt_get_keyVersion(This,pVal) \
  2625. (This)->lpVtbl -> get_keyVersion(This,pVal)
  2626. #define IPassportCrypt_put_keyVersion(This,newVal) \
  2627. (This)->lpVtbl -> put_keyVersion(This,newVal)
  2628. #define IPassportCrypt_get_IsValid(This,pVal) \
  2629. (This)->lpVtbl -> get_IsValid(This,pVal)
  2630. #define IPassportCrypt_put_keyMaterial(This,newVal) \
  2631. (This)->lpVtbl -> put_keyMaterial(This,newVal)
  2632. #define IPassportCrypt_Compress(This,bstrIn,pbstrOut) \
  2633. (This)->lpVtbl -> Compress(This,bstrIn,pbstrOut)
  2634. #define IPassportCrypt_Decompress(This,bstrIn,pbstrOut) \
  2635. (This)->lpVtbl -> Decompress(This,bstrIn,pbstrOut)
  2636. #define IPassportCrypt_put_site(This,bstrSiteName) \
  2637. (This)->lpVtbl -> put_site(This,bstrSiteName)
  2638. #define IPassportCrypt_OnStartPage(This,piUnk) \
  2639. (This)->lpVtbl -> OnStartPage(This,piUnk)
  2640. #define IPassportCrypt_put_host(This,bstrHostName) \
  2641. (This)->lpVtbl -> put_host(This,bstrHostName)
  2642. #endif /* COBJMACROS */
  2643. #endif /* C style interface */
  2644. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_Encrypt_Proxy(
  2645. IPassportCrypt * This,
  2646. /* [in] */ BSTR rawData,
  2647. /* [retval][out] */ BSTR *pEncrypted);
  2648. void __RPC_STUB IPassportCrypt_Encrypt_Stub(
  2649. IRpcStubBuffer *This,
  2650. IRpcChannelBuffer *_pRpcChannelBuffer,
  2651. PRPC_MESSAGE _pRpcMessage,
  2652. DWORD *_pdwStubPhase);
  2653. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_Decrypt_Proxy(
  2654. IPassportCrypt * This,
  2655. /* [in] */ BSTR rawData,
  2656. /* [retval][out] */ BSTR *pUnencrypted);
  2657. void __RPC_STUB IPassportCrypt_Decrypt_Stub(
  2658. IRpcStubBuffer *This,
  2659. IRpcChannelBuffer *_pRpcChannelBuffer,
  2660. PRPC_MESSAGE _pRpcMessage,
  2661. DWORD *_pdwStubPhase);
  2662. /* [helpstring][id][propget][hidden] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_get_keyVersion_Proxy(
  2663. IPassportCrypt * This,
  2664. /* [retval][out] */ int *pVal);
  2665. void __RPC_STUB IPassportCrypt_get_keyVersion_Stub(
  2666. IRpcStubBuffer *This,
  2667. IRpcChannelBuffer *_pRpcChannelBuffer,
  2668. PRPC_MESSAGE _pRpcMessage,
  2669. DWORD *_pdwStubPhase);
  2670. /* [helpstring][id][propput][hidden] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_put_keyVersion_Proxy(
  2671. IPassportCrypt * This,
  2672. /* [in] */ int newVal);
  2673. void __RPC_STUB IPassportCrypt_put_keyVersion_Stub(
  2674. IRpcStubBuffer *This,
  2675. IRpcChannelBuffer *_pRpcChannelBuffer,
  2676. PRPC_MESSAGE _pRpcMessage,
  2677. DWORD *_pdwStubPhase);
  2678. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_get_IsValid_Proxy(
  2679. IPassportCrypt * This,
  2680. /* [retval][out] */ VARIANT_BOOL *pVal);
  2681. void __RPC_STUB IPassportCrypt_get_IsValid_Stub(
  2682. IRpcStubBuffer *This,
  2683. IRpcChannelBuffer *_pRpcChannelBuffer,
  2684. PRPC_MESSAGE _pRpcMessage,
  2685. DWORD *_pdwStubPhase);
  2686. /* [helpstring][id][propput][hidden] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_put_keyMaterial_Proxy(
  2687. IPassportCrypt * This,
  2688. /* [in] */ BSTR newVal);
  2689. void __RPC_STUB IPassportCrypt_put_keyMaterial_Stub(
  2690. IRpcStubBuffer *This,
  2691. IRpcChannelBuffer *_pRpcChannelBuffer,
  2692. PRPC_MESSAGE _pRpcMessage,
  2693. DWORD *_pdwStubPhase);
  2694. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_Compress_Proxy(
  2695. IPassportCrypt * This,
  2696. /* [in] */ BSTR bstrIn,
  2697. /* [retval][out] */ BSTR *pbstrOut);
  2698. void __RPC_STUB IPassportCrypt_Compress_Stub(
  2699. IRpcStubBuffer *This,
  2700. IRpcChannelBuffer *_pRpcChannelBuffer,
  2701. PRPC_MESSAGE _pRpcMessage,
  2702. DWORD *_pdwStubPhase);
  2703. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_Decompress_Proxy(
  2704. IPassportCrypt * This,
  2705. /* [in] */ BSTR bstrIn,
  2706. /* [retval][out] */ BSTR *pbstrOut);
  2707. void __RPC_STUB IPassportCrypt_Decompress_Stub(
  2708. IRpcStubBuffer *This,
  2709. IRpcChannelBuffer *_pRpcChannelBuffer,
  2710. PRPC_MESSAGE _pRpcMessage,
  2711. DWORD *_pdwStubPhase);
  2712. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_put_site_Proxy(
  2713. IPassportCrypt * This,
  2714. /* [in] */ BSTR bstrSiteName);
  2715. void __RPC_STUB IPassportCrypt_put_site_Stub(
  2716. IRpcStubBuffer *This,
  2717. IRpcChannelBuffer *_pRpcChannelBuffer,
  2718. PRPC_MESSAGE _pRpcMessage,
  2719. DWORD *_pdwStubPhase);
  2720. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_OnStartPage_Proxy(
  2721. IPassportCrypt * This,
  2722. /* [in] */ IUnknown *piUnk);
  2723. void __RPC_STUB IPassportCrypt_OnStartPage_Stub(
  2724. IRpcStubBuffer *This,
  2725. IRpcChannelBuffer *_pRpcChannelBuffer,
  2726. PRPC_MESSAGE _pRpcMessage,
  2727. DWORD *_pdwStubPhase);
  2728. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IPassportCrypt_put_host_Proxy(
  2729. IPassportCrypt * This,
  2730. /* [in] */ BSTR bstrHostName);
  2731. void __RPC_STUB IPassportCrypt_put_host_Stub(
  2732. IRpcStubBuffer *This,
  2733. IRpcChannelBuffer *_pRpcChannelBuffer,
  2734. PRPC_MESSAGE _pRpcMessage,
  2735. DWORD *_pdwStubPhase);
  2736. #endif /* __IPassportCrypt_INTERFACE_DEFINED__ */
  2737. #ifndef __IPassportAdmin_INTERFACE_DEFINED__
  2738. #define __IPassportAdmin_INTERFACE_DEFINED__
  2739. /* interface IPassportAdmin */
  2740. /* [unique][helpstring][dual][uuid][object] */
  2741. EXTERN_C const IID IID_IPassportAdmin;
  2742. #if defined(__cplusplus) && !defined(CINTERFACE)
  2743. MIDL_INTERFACE("A0082CF5-AFF5-11D2-95E3-00C04F8E7A70")
  2744. IPassportAdmin : public IDispatch
  2745. {
  2746. public:
  2747. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsValid(
  2748. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  2749. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ErrorDescription(
  2750. /* [retval][out] */ BSTR *pVal) = 0;
  2751. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE addKey(
  2752. /* [in] */ BSTR keyMaterial,
  2753. /* [in] */ int version,
  2754. /* [in] */ long expires,
  2755. /* [retval][out] */ VARIANT_BOOL *ok) = 0;
  2756. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE deleteKey(
  2757. /* [in] */ int version) = 0;
  2758. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setKeyTime(
  2759. /* [in] */ int version,
  2760. /* [in] */ int fromNow) = 0;
  2761. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_currentKeyVersion(
  2762. /* [retval][out] */ int *pCur) = 0;
  2763. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_currentKeyVersion(
  2764. /* [in] */ int cur) = 0;
  2765. virtual /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE Refresh(
  2766. /* [in] */ VARIANT_BOOL bWait,
  2767. /* [retval][out] */ VARIANT_BOOL *pbSuccess) = 0;
  2768. };
  2769. #else /* C style interface */
  2770. typedef struct IPassportAdminVtbl
  2771. {
  2772. BEGIN_INTERFACE
  2773. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2774. IPassportAdmin * This,
  2775. /* [in] */ REFIID riid,
  2776. /* [iid_is][out] */ void **ppvObject);
  2777. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2778. IPassportAdmin * This);
  2779. ULONG ( STDMETHODCALLTYPE *Release )(
  2780. IPassportAdmin * This);
  2781. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2782. IPassportAdmin * This,
  2783. /* [out] */ UINT *pctinfo);
  2784. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2785. IPassportAdmin * This,
  2786. /* [in] */ UINT iTInfo,
  2787. /* [in] */ LCID lcid,
  2788. /* [out] */ ITypeInfo **ppTInfo);
  2789. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2790. IPassportAdmin * This,
  2791. /* [in] */ REFIID riid,
  2792. /* [size_is][in] */ LPOLESTR *rgszNames,
  2793. /* [in] */ UINT cNames,
  2794. /* [in] */ LCID lcid,
  2795. /* [size_is][out] */ DISPID *rgDispId);
  2796. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2797. IPassportAdmin * This,
  2798. /* [in] */ DISPID dispIdMember,
  2799. /* [in] */ REFIID riid,
  2800. /* [in] */ LCID lcid,
  2801. /* [in] */ WORD wFlags,
  2802. /* [out][in] */ DISPPARAMS *pDispParams,
  2803. /* [out] */ VARIANT *pVarResult,
  2804. /* [out] */ EXCEPINFO *pExcepInfo,
  2805. /* [out] */ UINT *puArgErr);
  2806. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsValid )(
  2807. IPassportAdmin * This,
  2808. /* [retval][out] */ VARIANT_BOOL *pVal);
  2809. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ErrorDescription )(
  2810. IPassportAdmin * This,
  2811. /* [retval][out] */ BSTR *pVal);
  2812. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *addKey )(
  2813. IPassportAdmin * This,
  2814. /* [in] */ BSTR keyMaterial,
  2815. /* [in] */ int version,
  2816. /* [in] */ long expires,
  2817. /* [retval][out] */ VARIANT_BOOL *ok);
  2818. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *deleteKey )(
  2819. IPassportAdmin * This,
  2820. /* [in] */ int version);
  2821. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *setKeyTime )(
  2822. IPassportAdmin * This,
  2823. /* [in] */ int version,
  2824. /* [in] */ int fromNow);
  2825. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_currentKeyVersion )(
  2826. IPassportAdmin * This,
  2827. /* [retval][out] */ int *pCur);
  2828. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_currentKeyVersion )(
  2829. IPassportAdmin * This,
  2830. /* [in] */ int cur);
  2831. /* [helpstring][id][hidden] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  2832. IPassportAdmin * This,
  2833. /* [in] */ VARIANT_BOOL bWait,
  2834. /* [retval][out] */ VARIANT_BOOL *pbSuccess);
  2835. END_INTERFACE
  2836. } IPassportAdminVtbl;
  2837. interface IPassportAdmin
  2838. {
  2839. CONST_VTBL struct IPassportAdminVtbl *lpVtbl;
  2840. };
  2841. #ifdef COBJMACROS
  2842. #define IPassportAdmin_QueryInterface(This,riid,ppvObject) \
  2843. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2844. #define IPassportAdmin_AddRef(This) \
  2845. (This)->lpVtbl -> AddRef(This)
  2846. #define IPassportAdmin_Release(This) \
  2847. (This)->lpVtbl -> Release(This)
  2848. #define IPassportAdmin_GetTypeInfoCount(This,pctinfo) \
  2849. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2850. #define IPassportAdmin_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2851. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2852. #define IPassportAdmin_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2853. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2854. #define IPassportAdmin_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2855. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2856. #define IPassportAdmin_get_IsValid(This,pVal) \
  2857. (This)->lpVtbl -> get_IsValid(This,pVal)
  2858. #define IPassportAdmin_get_ErrorDescription(This,pVal) \
  2859. (This)->lpVtbl -> get_ErrorDescription(This,pVal)
  2860. #define IPassportAdmin_addKey(This,keyMaterial,version,expires,ok) \
  2861. (This)->lpVtbl -> addKey(This,keyMaterial,version,expires,ok)
  2862. #define IPassportAdmin_deleteKey(This,version) \
  2863. (This)->lpVtbl -> deleteKey(This,version)
  2864. #define IPassportAdmin_setKeyTime(This,version,fromNow) \
  2865. (This)->lpVtbl -> setKeyTime(This,version,fromNow)
  2866. #define IPassportAdmin_get_currentKeyVersion(This,pCur) \
  2867. (This)->lpVtbl -> get_currentKeyVersion(This,pCur)
  2868. #define IPassportAdmin_put_currentKeyVersion(This,cur) \
  2869. (This)->lpVtbl -> put_currentKeyVersion(This,cur)
  2870. #define IPassportAdmin_Refresh(This,bWait,pbSuccess) \
  2871. (This)->lpVtbl -> Refresh(This,bWait,pbSuccess)
  2872. #endif /* COBJMACROS */
  2873. #endif /* C style interface */
  2874. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportAdmin_get_IsValid_Proxy(
  2875. IPassportAdmin * This,
  2876. /* [retval][out] */ VARIANT_BOOL *pVal);
  2877. void __RPC_STUB IPassportAdmin_get_IsValid_Stub(
  2878. IRpcStubBuffer *This,
  2879. IRpcChannelBuffer *_pRpcChannelBuffer,
  2880. PRPC_MESSAGE _pRpcMessage,
  2881. DWORD *_pdwStubPhase);
  2882. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportAdmin_get_ErrorDescription_Proxy(
  2883. IPassportAdmin * This,
  2884. /* [retval][out] */ BSTR *pVal);
  2885. void __RPC_STUB IPassportAdmin_get_ErrorDescription_Stub(
  2886. IRpcStubBuffer *This,
  2887. IRpcChannelBuffer *_pRpcChannelBuffer,
  2888. PRPC_MESSAGE _pRpcMessage,
  2889. DWORD *_pdwStubPhase);
  2890. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdmin_addKey_Proxy(
  2891. IPassportAdmin * This,
  2892. /* [in] */ BSTR keyMaterial,
  2893. /* [in] */ int version,
  2894. /* [in] */ long expires,
  2895. /* [retval][out] */ VARIANT_BOOL *ok);
  2896. void __RPC_STUB IPassportAdmin_addKey_Stub(
  2897. IRpcStubBuffer *This,
  2898. IRpcChannelBuffer *_pRpcChannelBuffer,
  2899. PRPC_MESSAGE _pRpcMessage,
  2900. DWORD *_pdwStubPhase);
  2901. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdmin_deleteKey_Proxy(
  2902. IPassportAdmin * This,
  2903. /* [in] */ int version);
  2904. void __RPC_STUB IPassportAdmin_deleteKey_Stub(
  2905. IRpcStubBuffer *This,
  2906. IRpcChannelBuffer *_pRpcChannelBuffer,
  2907. PRPC_MESSAGE _pRpcMessage,
  2908. DWORD *_pdwStubPhase);
  2909. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdmin_setKeyTime_Proxy(
  2910. IPassportAdmin * This,
  2911. /* [in] */ int version,
  2912. /* [in] */ int fromNow);
  2913. void __RPC_STUB IPassportAdmin_setKeyTime_Stub(
  2914. IRpcStubBuffer *This,
  2915. IRpcChannelBuffer *_pRpcChannelBuffer,
  2916. PRPC_MESSAGE _pRpcMessage,
  2917. DWORD *_pdwStubPhase);
  2918. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportAdmin_get_currentKeyVersion_Proxy(
  2919. IPassportAdmin * This,
  2920. /* [retval][out] */ int *pCur);
  2921. void __RPC_STUB IPassportAdmin_get_currentKeyVersion_Stub(
  2922. IRpcStubBuffer *This,
  2923. IRpcChannelBuffer *_pRpcChannelBuffer,
  2924. PRPC_MESSAGE _pRpcMessage,
  2925. DWORD *_pdwStubPhase);
  2926. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPassportAdmin_put_currentKeyVersion_Proxy(
  2927. IPassportAdmin * This,
  2928. /* [in] */ int cur);
  2929. void __RPC_STUB IPassportAdmin_put_currentKeyVersion_Stub(
  2930. IRpcStubBuffer *This,
  2931. IRpcChannelBuffer *_pRpcChannelBuffer,
  2932. PRPC_MESSAGE _pRpcMessage,
  2933. DWORD *_pdwStubPhase);
  2934. /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE IPassportAdmin_Refresh_Proxy(
  2935. IPassportAdmin * This,
  2936. /* [in] */ VARIANT_BOOL bWait,
  2937. /* [retval][out] */ VARIANT_BOOL *pbSuccess);
  2938. void __RPC_STUB IPassportAdmin_Refresh_Stub(
  2939. IRpcStubBuffer *This,
  2940. IRpcChannelBuffer *_pRpcChannelBuffer,
  2941. PRPC_MESSAGE _pRpcMessage,
  2942. DWORD *_pdwStubPhase);
  2943. #endif /* __IPassportAdmin_INTERFACE_DEFINED__ */
  2944. #ifndef __IPassportAdminEx_INTERFACE_DEFINED__
  2945. #define __IPassportAdminEx_INTERFACE_DEFINED__
  2946. /* interface IPassportAdminEx */
  2947. /* [unique][helpstring][dual][uuid][object] */
  2948. EXTERN_C const IID IID_IPassportAdminEx;
  2949. #if defined(__cplusplus) && !defined(CINTERFACE)
  2950. MIDL_INTERFACE("876181A0-3B05-11d3-9ACD-0080C712D19C")
  2951. IPassportAdminEx : public IDispatch
  2952. {
  2953. public:
  2954. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsValid(
  2955. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  2956. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ErrorDescription(
  2957. /* [retval][out] */ BSTR *pVal) = 0;
  2958. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE addKey(
  2959. /* [in] */ BSTR keyMaterial,
  2960. /* [in] */ int version,
  2961. /* [in] */ long expires,
  2962. /* [retval][out] */ VARIANT_BOOL *ok) = 0;
  2963. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE deleteKey(
  2964. /* [in] */ int version) = 0;
  2965. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setKeyTime(
  2966. /* [in] */ int version,
  2967. /* [in] */ int fromNow) = 0;
  2968. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_currentKeyVersion(
  2969. /* [retval][out] */ int *pCur) = 0;
  2970. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_currentKeyVersion(
  2971. /* [in] */ int cur) = 0;
  2972. virtual /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE Refresh(
  2973. /* [in] */ VARIANT_BOOL bWait,
  2974. /* [retval][out] */ VARIANT_BOOL *pbSuccess) = 0;
  2975. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE addKeyEx(
  2976. /* [in] */ BSTR keyMaterial,
  2977. /* [in] */ int nVersion,
  2978. /* [in] */ long expires,
  2979. /* [optional][in] */ VARIANT vSiteName,
  2980. /* [retval][out] */ VARIANT_BOOL *ok) = 0;
  2981. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE deleteKeyEx(
  2982. /* [in] */ int nVersion,
  2983. /* [optional][in] */ VARIANT vSiteName) = 0;
  2984. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setKeyTimeEx(
  2985. /* [in] */ int nVersion,
  2986. /* [in] */ int fromNow,
  2987. /* [optional][in] */ VARIANT vSiteName) = 0;
  2988. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getCurrentKeyVersionEx(
  2989. /* [optional][in] */ VARIANT vSiteName,
  2990. /* [retval][out] */ int *pCur) = 0;
  2991. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE putCurrentKeyVersionEx(
  2992. /* [in] */ int cur,
  2993. /* [optional][in] */ VARIANT vSiteName) = 0;
  2994. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setNexusPassword(
  2995. /* [in] */ BSTR bstrPwd) = 0;
  2996. };
  2997. #else /* C style interface */
  2998. typedef struct IPassportAdminExVtbl
  2999. {
  3000. BEGIN_INTERFACE
  3001. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3002. IPassportAdminEx * This,
  3003. /* [in] */ REFIID riid,
  3004. /* [iid_is][out] */ void **ppvObject);
  3005. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3006. IPassportAdminEx * This);
  3007. ULONG ( STDMETHODCALLTYPE *Release )(
  3008. IPassportAdminEx * This);
  3009. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3010. IPassportAdminEx * This,
  3011. /* [out] */ UINT *pctinfo);
  3012. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3013. IPassportAdminEx * This,
  3014. /* [in] */ UINT iTInfo,
  3015. /* [in] */ LCID lcid,
  3016. /* [out] */ ITypeInfo **ppTInfo);
  3017. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3018. IPassportAdminEx * This,
  3019. /* [in] */ REFIID riid,
  3020. /* [size_is][in] */ LPOLESTR *rgszNames,
  3021. /* [in] */ UINT cNames,
  3022. /* [in] */ LCID lcid,
  3023. /* [size_is][out] */ DISPID *rgDispId);
  3024. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3025. IPassportAdminEx * This,
  3026. /* [in] */ DISPID dispIdMember,
  3027. /* [in] */ REFIID riid,
  3028. /* [in] */ LCID lcid,
  3029. /* [in] */ WORD wFlags,
  3030. /* [out][in] */ DISPPARAMS *pDispParams,
  3031. /* [out] */ VARIANT *pVarResult,
  3032. /* [out] */ EXCEPINFO *pExcepInfo,
  3033. /* [out] */ UINT *puArgErr);
  3034. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsValid )(
  3035. IPassportAdminEx * This,
  3036. /* [retval][out] */ VARIANT_BOOL *pVal);
  3037. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ErrorDescription )(
  3038. IPassportAdminEx * This,
  3039. /* [retval][out] */ BSTR *pVal);
  3040. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *addKey )(
  3041. IPassportAdminEx * This,
  3042. /* [in] */ BSTR keyMaterial,
  3043. /* [in] */ int version,
  3044. /* [in] */ long expires,
  3045. /* [retval][out] */ VARIANT_BOOL *ok);
  3046. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *deleteKey )(
  3047. IPassportAdminEx * This,
  3048. /* [in] */ int version);
  3049. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *setKeyTime )(
  3050. IPassportAdminEx * This,
  3051. /* [in] */ int version,
  3052. /* [in] */ int fromNow);
  3053. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_currentKeyVersion )(
  3054. IPassportAdminEx * This,
  3055. /* [retval][out] */ int *pCur);
  3056. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_currentKeyVersion )(
  3057. IPassportAdminEx * This,
  3058. /* [in] */ int cur);
  3059. /* [helpstring][id][hidden] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
  3060. IPassportAdminEx * This,
  3061. /* [in] */ VARIANT_BOOL bWait,
  3062. /* [retval][out] */ VARIANT_BOOL *pbSuccess);
  3063. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *addKeyEx )(
  3064. IPassportAdminEx * This,
  3065. /* [in] */ BSTR keyMaterial,
  3066. /* [in] */ int nVersion,
  3067. /* [in] */ long expires,
  3068. /* [optional][in] */ VARIANT vSiteName,
  3069. /* [retval][out] */ VARIANT_BOOL *ok);
  3070. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *deleteKeyEx )(
  3071. IPassportAdminEx * This,
  3072. /* [in] */ int nVersion,
  3073. /* [optional][in] */ VARIANT vSiteName);
  3074. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *setKeyTimeEx )(
  3075. IPassportAdminEx * This,
  3076. /* [in] */ int nVersion,
  3077. /* [in] */ int fromNow,
  3078. /* [optional][in] */ VARIANT vSiteName);
  3079. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *getCurrentKeyVersionEx )(
  3080. IPassportAdminEx * This,
  3081. /* [optional][in] */ VARIANT vSiteName,
  3082. /* [retval][out] */ int *pCur);
  3083. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *putCurrentKeyVersionEx )(
  3084. IPassportAdminEx * This,
  3085. /* [in] */ int cur,
  3086. /* [optional][in] */ VARIANT vSiteName);
  3087. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *setNexusPassword )(
  3088. IPassportAdminEx * This,
  3089. /* [in] */ BSTR bstrPwd);
  3090. END_INTERFACE
  3091. } IPassportAdminExVtbl;
  3092. interface IPassportAdminEx
  3093. {
  3094. CONST_VTBL struct IPassportAdminExVtbl *lpVtbl;
  3095. };
  3096. #ifdef COBJMACROS
  3097. #define IPassportAdminEx_QueryInterface(This,riid,ppvObject) \
  3098. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3099. #define IPassportAdminEx_AddRef(This) \
  3100. (This)->lpVtbl -> AddRef(This)
  3101. #define IPassportAdminEx_Release(This) \
  3102. (This)->lpVtbl -> Release(This)
  3103. #define IPassportAdminEx_GetTypeInfoCount(This,pctinfo) \
  3104. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3105. #define IPassportAdminEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3106. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3107. #define IPassportAdminEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3108. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3109. #define IPassportAdminEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3110. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3111. #define IPassportAdminEx_get_IsValid(This,pVal) \
  3112. (This)->lpVtbl -> get_IsValid(This,pVal)
  3113. #define IPassportAdminEx_get_ErrorDescription(This,pVal) \
  3114. (This)->lpVtbl -> get_ErrorDescription(This,pVal)
  3115. #define IPassportAdminEx_addKey(This,keyMaterial,version,expires,ok) \
  3116. (This)->lpVtbl -> addKey(This,keyMaterial,version,expires,ok)
  3117. #define IPassportAdminEx_deleteKey(This,version) \
  3118. (This)->lpVtbl -> deleteKey(This,version)
  3119. #define IPassportAdminEx_setKeyTime(This,version,fromNow) \
  3120. (This)->lpVtbl -> setKeyTime(This,version,fromNow)
  3121. #define IPassportAdminEx_get_currentKeyVersion(This,pCur) \
  3122. (This)->lpVtbl -> get_currentKeyVersion(This,pCur)
  3123. #define IPassportAdminEx_put_currentKeyVersion(This,cur) \
  3124. (This)->lpVtbl -> put_currentKeyVersion(This,cur)
  3125. #define IPassportAdminEx_Refresh(This,bWait,pbSuccess) \
  3126. (This)->lpVtbl -> Refresh(This,bWait,pbSuccess)
  3127. #define IPassportAdminEx_addKeyEx(This,keyMaterial,nVersion,expires,vSiteName,ok) \
  3128. (This)->lpVtbl -> addKeyEx(This,keyMaterial,nVersion,expires,vSiteName,ok)
  3129. #define IPassportAdminEx_deleteKeyEx(This,nVersion,vSiteName) \
  3130. (This)->lpVtbl -> deleteKeyEx(This,nVersion,vSiteName)
  3131. #define IPassportAdminEx_setKeyTimeEx(This,nVersion,fromNow,vSiteName) \
  3132. (This)->lpVtbl -> setKeyTimeEx(This,nVersion,fromNow,vSiteName)
  3133. #define IPassportAdminEx_getCurrentKeyVersionEx(This,vSiteName,pCur) \
  3134. (This)->lpVtbl -> getCurrentKeyVersionEx(This,vSiteName,pCur)
  3135. #define IPassportAdminEx_putCurrentKeyVersionEx(This,cur,vSiteName) \
  3136. (This)->lpVtbl -> putCurrentKeyVersionEx(This,cur,vSiteName)
  3137. #define IPassportAdminEx_setNexusPassword(This,bstrPwd) \
  3138. (This)->lpVtbl -> setNexusPassword(This,bstrPwd)
  3139. #endif /* COBJMACROS */
  3140. #endif /* C style interface */
  3141. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_get_IsValid_Proxy(
  3142. IPassportAdminEx * This,
  3143. /* [retval][out] */ VARIANT_BOOL *pVal);
  3144. void __RPC_STUB IPassportAdminEx_get_IsValid_Stub(
  3145. IRpcStubBuffer *This,
  3146. IRpcChannelBuffer *_pRpcChannelBuffer,
  3147. PRPC_MESSAGE _pRpcMessage,
  3148. DWORD *_pdwStubPhase);
  3149. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_get_ErrorDescription_Proxy(
  3150. IPassportAdminEx * This,
  3151. /* [retval][out] */ BSTR *pVal);
  3152. void __RPC_STUB IPassportAdminEx_get_ErrorDescription_Stub(
  3153. IRpcStubBuffer *This,
  3154. IRpcChannelBuffer *_pRpcChannelBuffer,
  3155. PRPC_MESSAGE _pRpcMessage,
  3156. DWORD *_pdwStubPhase);
  3157. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_addKey_Proxy(
  3158. IPassportAdminEx * This,
  3159. /* [in] */ BSTR keyMaterial,
  3160. /* [in] */ int version,
  3161. /* [in] */ long expires,
  3162. /* [retval][out] */ VARIANT_BOOL *ok);
  3163. void __RPC_STUB IPassportAdminEx_addKey_Stub(
  3164. IRpcStubBuffer *This,
  3165. IRpcChannelBuffer *_pRpcChannelBuffer,
  3166. PRPC_MESSAGE _pRpcMessage,
  3167. DWORD *_pdwStubPhase);
  3168. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_deleteKey_Proxy(
  3169. IPassportAdminEx * This,
  3170. /* [in] */ int version);
  3171. void __RPC_STUB IPassportAdminEx_deleteKey_Stub(
  3172. IRpcStubBuffer *This,
  3173. IRpcChannelBuffer *_pRpcChannelBuffer,
  3174. PRPC_MESSAGE _pRpcMessage,
  3175. DWORD *_pdwStubPhase);
  3176. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_setKeyTime_Proxy(
  3177. IPassportAdminEx * This,
  3178. /* [in] */ int version,
  3179. /* [in] */ int fromNow);
  3180. void __RPC_STUB IPassportAdminEx_setKeyTime_Stub(
  3181. IRpcStubBuffer *This,
  3182. IRpcChannelBuffer *_pRpcChannelBuffer,
  3183. PRPC_MESSAGE _pRpcMessage,
  3184. DWORD *_pdwStubPhase);
  3185. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_get_currentKeyVersion_Proxy(
  3186. IPassportAdminEx * This,
  3187. /* [retval][out] */ int *pCur);
  3188. void __RPC_STUB IPassportAdminEx_get_currentKeyVersion_Stub(
  3189. IRpcStubBuffer *This,
  3190. IRpcChannelBuffer *_pRpcChannelBuffer,
  3191. PRPC_MESSAGE _pRpcMessage,
  3192. DWORD *_pdwStubPhase);
  3193. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_put_currentKeyVersion_Proxy(
  3194. IPassportAdminEx * This,
  3195. /* [in] */ int cur);
  3196. void __RPC_STUB IPassportAdminEx_put_currentKeyVersion_Stub(
  3197. IRpcStubBuffer *This,
  3198. IRpcChannelBuffer *_pRpcChannelBuffer,
  3199. PRPC_MESSAGE _pRpcMessage,
  3200. DWORD *_pdwStubPhase);
  3201. /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_Refresh_Proxy(
  3202. IPassportAdminEx * This,
  3203. /* [in] */ VARIANT_BOOL bWait,
  3204. /* [retval][out] */ VARIANT_BOOL *pbSuccess);
  3205. void __RPC_STUB IPassportAdminEx_Refresh_Stub(
  3206. IRpcStubBuffer *This,
  3207. IRpcChannelBuffer *_pRpcChannelBuffer,
  3208. PRPC_MESSAGE _pRpcMessage,
  3209. DWORD *_pdwStubPhase);
  3210. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_addKeyEx_Proxy(
  3211. IPassportAdminEx * This,
  3212. /* [in] */ BSTR keyMaterial,
  3213. /* [in] */ int nVersion,
  3214. /* [in] */ long expires,
  3215. /* [optional][in] */ VARIANT vSiteName,
  3216. /* [retval][out] */ VARIANT_BOOL *ok);
  3217. void __RPC_STUB IPassportAdminEx_addKeyEx_Stub(
  3218. IRpcStubBuffer *This,
  3219. IRpcChannelBuffer *_pRpcChannelBuffer,
  3220. PRPC_MESSAGE _pRpcMessage,
  3221. DWORD *_pdwStubPhase);
  3222. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_deleteKeyEx_Proxy(
  3223. IPassportAdminEx * This,
  3224. /* [in] */ int nVersion,
  3225. /* [optional][in] */ VARIANT vSiteName);
  3226. void __RPC_STUB IPassportAdminEx_deleteKeyEx_Stub(
  3227. IRpcStubBuffer *This,
  3228. IRpcChannelBuffer *_pRpcChannelBuffer,
  3229. PRPC_MESSAGE _pRpcMessage,
  3230. DWORD *_pdwStubPhase);
  3231. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_setKeyTimeEx_Proxy(
  3232. IPassportAdminEx * This,
  3233. /* [in] */ int nVersion,
  3234. /* [in] */ int fromNow,
  3235. /* [optional][in] */ VARIANT vSiteName);
  3236. void __RPC_STUB IPassportAdminEx_setKeyTimeEx_Stub(
  3237. IRpcStubBuffer *This,
  3238. IRpcChannelBuffer *_pRpcChannelBuffer,
  3239. PRPC_MESSAGE _pRpcMessage,
  3240. DWORD *_pdwStubPhase);
  3241. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_getCurrentKeyVersionEx_Proxy(
  3242. IPassportAdminEx * This,
  3243. /* [optional][in] */ VARIANT vSiteName,
  3244. /* [retval][out] */ int *pCur);
  3245. void __RPC_STUB IPassportAdminEx_getCurrentKeyVersionEx_Stub(
  3246. IRpcStubBuffer *This,
  3247. IRpcChannelBuffer *_pRpcChannelBuffer,
  3248. PRPC_MESSAGE _pRpcMessage,
  3249. DWORD *_pdwStubPhase);
  3250. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_putCurrentKeyVersionEx_Proxy(
  3251. IPassportAdminEx * This,
  3252. /* [in] */ int cur,
  3253. /* [optional][in] */ VARIANT vSiteName);
  3254. void __RPC_STUB IPassportAdminEx_putCurrentKeyVersionEx_Stub(
  3255. IRpcStubBuffer *This,
  3256. IRpcChannelBuffer *_pRpcChannelBuffer,
  3257. PRPC_MESSAGE _pRpcMessage,
  3258. DWORD *_pdwStubPhase);
  3259. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportAdminEx_setNexusPassword_Proxy(
  3260. IPassportAdminEx * This,
  3261. /* [in] */ BSTR bstrPwd);
  3262. void __RPC_STUB IPassportAdminEx_setNexusPassword_Stub(
  3263. IRpcStubBuffer *This,
  3264. IRpcChannelBuffer *_pRpcChannelBuffer,
  3265. PRPC_MESSAGE _pRpcMessage,
  3266. DWORD *_pdwStubPhase);
  3267. #endif /* __IPassportAdminEx_INTERFACE_DEFINED__ */
  3268. #ifndef __IPassportFastAuth_INTERFACE_DEFINED__
  3269. #define __IPassportFastAuth_INTERFACE_DEFINED__
  3270. /* interface IPassportFastAuth */
  3271. /* [unique][helpstring][dual][uuid][object] */
  3272. EXTERN_C const IID IID_IPassportFastAuth;
  3273. #if defined(__cplusplus) && !defined(CINTERFACE)
  3274. MIDL_INTERFACE("74EB2513-E239-11D2-95E9-00C04F8E7A70")
  3275. IPassportFastAuth : public IDispatch
  3276. {
  3277. public:
  3278. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsAuthenticated(
  3279. /* [in] */ BSTR bstrTicket,
  3280. /* [in] */ BSTR bstrProfile,
  3281. /* [optional][in] */ VARIANT vSecure,
  3282. /* [optional][in] */ VARIANT vTimeWindow,
  3283. /* [optional][in] */ VARIANT vForceLogin,
  3284. /* [optional][in] */ VARIANT vSiteName,
  3285. /* [optional][in] */ VARIANT vDoSecureCheck,
  3286. /* [retval][out] */ VARIANT_BOOL *pbIsAuthenticated) = 0;
  3287. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LogoTag(
  3288. /* [in] */ BSTR bstrTicket,
  3289. /* [in] */ BSTR bstrProfile,
  3290. /* [optional][in] */ VARIANT vRU,
  3291. /* [optional][in] */ VARIANT vTimeWindow,
  3292. /* [optional][in] */ VARIANT vForceLogin,
  3293. /* [optional][in] */ VARIANT vCoBrand,
  3294. /* [optional][in] */ VARIANT vLangId,
  3295. /* [optional][in] */ VARIANT vSecure,
  3296. /* [optional][in] */ VARIANT vLogoutURL,
  3297. /* [optional][in] */ VARIANT vSiteName,
  3298. /* [optional][in] */ VARIANT NameSpace,
  3299. /* [optional][in] */ VARIANT vKPP,
  3300. /* [optional][in] */ VARIANT SecureLevel,
  3301. /* [retval][out] */ BSTR *pbstrLogoTag) = 0;
  3302. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AuthURL(
  3303. /* [optional][in] */ VARIANT vTicket,
  3304. /* [optional][in] */ VARIANT vProfile,
  3305. /* [optional][in] */ VARIANT vRU,
  3306. /* [optional][in] */ VARIANT vTimeWindow,
  3307. /* [optional][in] */ VARIANT vForceLogin,
  3308. /* [optional][in] */ VARIANT vCoBrand,
  3309. /* [optional][in] */ VARIANT vLangId,
  3310. /* [optional][in] */ VARIANT vSecure,
  3311. /* [optional][in] */ VARIANT vLogoutURL,
  3312. /* [optional][in] */ VARIANT vReserved1,
  3313. /* [optional][in] */ VARIANT vSiteName,
  3314. /* [optional][in] */ VARIANT NameSpace,
  3315. /* [optional][in] */ VARIANT vKPP,
  3316. /* [optional][in] */ VARIANT SecureLevel,
  3317. /* [retval][out] */ BSTR *pbstrAuthURL) = 0;
  3318. virtual /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTicketAndProfilePFC(
  3319. /* [in] */ BYTE *pbPFC,
  3320. /* [in] */ BYTE *pbPPH,
  3321. /* [out] */ BSTR *pbstrTicket,
  3322. /* [out] */ BSTR *pbstrProfile,
  3323. /* [out] */ BSTR *pbstrSecure,
  3324. /* [out] */ BSTR *pbstrSiteName) = 0;
  3325. virtual /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTicketAndProfileECB(
  3326. /* [in] */ BYTE *pbECB,
  3327. /* [out] */ BSTR *pbstrTicket,
  3328. /* [out] */ BSTR *pbstrProfile,
  3329. /* [out] */ BSTR *pbstrSecure,
  3330. /* [out] */ BSTR *pbstrSiteName) = 0;
  3331. };
  3332. #else /* C style interface */
  3333. typedef struct IPassportFastAuthVtbl
  3334. {
  3335. BEGIN_INTERFACE
  3336. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3337. IPassportFastAuth * This,
  3338. /* [in] */ REFIID riid,
  3339. /* [iid_is][out] */ void **ppvObject);
  3340. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3341. IPassportFastAuth * This);
  3342. ULONG ( STDMETHODCALLTYPE *Release )(
  3343. IPassportFastAuth * This);
  3344. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3345. IPassportFastAuth * This,
  3346. /* [out] */ UINT *pctinfo);
  3347. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3348. IPassportFastAuth * This,
  3349. /* [in] */ UINT iTInfo,
  3350. /* [in] */ LCID lcid,
  3351. /* [out] */ ITypeInfo **ppTInfo);
  3352. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3353. IPassportFastAuth * This,
  3354. /* [in] */ REFIID riid,
  3355. /* [size_is][in] */ LPOLESTR *rgszNames,
  3356. /* [in] */ UINT cNames,
  3357. /* [in] */ LCID lcid,
  3358. /* [size_is][out] */ DISPID *rgDispId);
  3359. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3360. IPassportFastAuth * This,
  3361. /* [in] */ DISPID dispIdMember,
  3362. /* [in] */ REFIID riid,
  3363. /* [in] */ LCID lcid,
  3364. /* [in] */ WORD wFlags,
  3365. /* [out][in] */ DISPPARAMS *pDispParams,
  3366. /* [out] */ VARIANT *pVarResult,
  3367. /* [out] */ EXCEPINFO *pExcepInfo,
  3368. /* [out] */ UINT *puArgErr);
  3369. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsAuthenticated )(
  3370. IPassportFastAuth * This,
  3371. /* [in] */ BSTR bstrTicket,
  3372. /* [in] */ BSTR bstrProfile,
  3373. /* [optional][in] */ VARIANT vSecure,
  3374. /* [optional][in] */ VARIANT vTimeWindow,
  3375. /* [optional][in] */ VARIANT vForceLogin,
  3376. /* [optional][in] */ VARIANT vSiteName,
  3377. /* [optional][in] */ VARIANT vDoSecureCheck,
  3378. /* [retval][out] */ VARIANT_BOOL *pbIsAuthenticated);
  3379. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogoTag )(
  3380. IPassportFastAuth * This,
  3381. /* [in] */ BSTR bstrTicket,
  3382. /* [in] */ BSTR bstrProfile,
  3383. /* [optional][in] */ VARIANT vRU,
  3384. /* [optional][in] */ VARIANT vTimeWindow,
  3385. /* [optional][in] */ VARIANT vForceLogin,
  3386. /* [optional][in] */ VARIANT vCoBrand,
  3387. /* [optional][in] */ VARIANT vLangId,
  3388. /* [optional][in] */ VARIANT vSecure,
  3389. /* [optional][in] */ VARIANT vLogoutURL,
  3390. /* [optional][in] */ VARIANT vSiteName,
  3391. /* [optional][in] */ VARIANT NameSpace,
  3392. /* [optional][in] */ VARIANT vKPP,
  3393. /* [optional][in] */ VARIANT SecureLevel,
  3394. /* [retval][out] */ BSTR *pbstrLogoTag);
  3395. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AuthURL )(
  3396. IPassportFastAuth * This,
  3397. /* [optional][in] */ VARIANT vTicket,
  3398. /* [optional][in] */ VARIANT vProfile,
  3399. /* [optional][in] */ VARIANT vRU,
  3400. /* [optional][in] */ VARIANT vTimeWindow,
  3401. /* [optional][in] */ VARIANT vForceLogin,
  3402. /* [optional][in] */ VARIANT vCoBrand,
  3403. /* [optional][in] */ VARIANT vLangId,
  3404. /* [optional][in] */ VARIANT vSecure,
  3405. /* [optional][in] */ VARIANT vLogoutURL,
  3406. /* [optional][in] */ VARIANT vReserved1,
  3407. /* [optional][in] */ VARIANT vSiteName,
  3408. /* [optional][in] */ VARIANT NameSpace,
  3409. /* [optional][in] */ VARIANT vKPP,
  3410. /* [optional][in] */ VARIANT SecureLevel,
  3411. /* [retval][out] */ BSTR *pbstrAuthURL);
  3412. /* [hidden][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTicketAndProfilePFC )(
  3413. IPassportFastAuth * This,
  3414. /* [in] */ BYTE *pbPFC,
  3415. /* [in] */ BYTE *pbPPH,
  3416. /* [out] */ BSTR *pbstrTicket,
  3417. /* [out] */ BSTR *pbstrProfile,
  3418. /* [out] */ BSTR *pbstrSecure,
  3419. /* [out] */ BSTR *pbstrSiteName);
  3420. /* [hidden][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTicketAndProfileECB )(
  3421. IPassportFastAuth * This,
  3422. /* [in] */ BYTE *pbECB,
  3423. /* [out] */ BSTR *pbstrTicket,
  3424. /* [out] */ BSTR *pbstrProfile,
  3425. /* [out] */ BSTR *pbstrSecure,
  3426. /* [out] */ BSTR *pbstrSiteName);
  3427. END_INTERFACE
  3428. } IPassportFastAuthVtbl;
  3429. interface IPassportFastAuth
  3430. {
  3431. CONST_VTBL struct IPassportFastAuthVtbl *lpVtbl;
  3432. };
  3433. #ifdef COBJMACROS
  3434. #define IPassportFastAuth_QueryInterface(This,riid,ppvObject) \
  3435. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3436. #define IPassportFastAuth_AddRef(This) \
  3437. (This)->lpVtbl -> AddRef(This)
  3438. #define IPassportFastAuth_Release(This) \
  3439. (This)->lpVtbl -> Release(This)
  3440. #define IPassportFastAuth_GetTypeInfoCount(This,pctinfo) \
  3441. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3442. #define IPassportFastAuth_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3443. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3444. #define IPassportFastAuth_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3445. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3446. #define IPassportFastAuth_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3447. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3448. #define IPassportFastAuth_IsAuthenticated(This,bstrTicket,bstrProfile,vSecure,vTimeWindow,vForceLogin,vSiteName,vDoSecureCheck,pbIsAuthenticated) \
  3449. (This)->lpVtbl -> IsAuthenticated(This,bstrTicket,bstrProfile,vSecure,vTimeWindow,vForceLogin,vSiteName,vDoSecureCheck,pbIsAuthenticated)
  3450. #define IPassportFastAuth_LogoTag(This,bstrTicket,bstrProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vSiteName,NameSpace,vKPP,SecureLevel,pbstrLogoTag) \
  3451. (This)->lpVtbl -> LogoTag(This,bstrTicket,bstrProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vSiteName,NameSpace,vKPP,SecureLevel,pbstrLogoTag)
  3452. #define IPassportFastAuth_AuthURL(This,vTicket,vProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vReserved1,vSiteName,NameSpace,vKPP,SecureLevel,pbstrAuthURL) \
  3453. (This)->lpVtbl -> AuthURL(This,vTicket,vProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vReserved1,vSiteName,NameSpace,vKPP,SecureLevel,pbstrAuthURL)
  3454. #define IPassportFastAuth_GetTicketAndProfilePFC(This,pbPFC,pbPPH,pbstrTicket,pbstrProfile,pbstrSecure,pbstrSiteName) \
  3455. (This)->lpVtbl -> GetTicketAndProfilePFC(This,pbPFC,pbPPH,pbstrTicket,pbstrProfile,pbstrSecure,pbstrSiteName)
  3456. #define IPassportFastAuth_GetTicketAndProfileECB(This,pbECB,pbstrTicket,pbstrProfile,pbstrSecure,pbstrSiteName) \
  3457. (This)->lpVtbl -> GetTicketAndProfileECB(This,pbECB,pbstrTicket,pbstrProfile,pbstrSecure,pbstrSiteName)
  3458. #endif /* COBJMACROS */
  3459. #endif /* C style interface */
  3460. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportFastAuth_IsAuthenticated_Proxy(
  3461. IPassportFastAuth * This,
  3462. /* [in] */ BSTR bstrTicket,
  3463. /* [in] */ BSTR bstrProfile,
  3464. /* [optional][in] */ VARIANT vSecure,
  3465. /* [optional][in] */ VARIANT vTimeWindow,
  3466. /* [optional][in] */ VARIANT vForceLogin,
  3467. /* [optional][in] */ VARIANT vSiteName,
  3468. /* [optional][in] */ VARIANT vDoSecureCheck,
  3469. /* [retval][out] */ VARIANT_BOOL *pbIsAuthenticated);
  3470. void __RPC_STUB IPassportFastAuth_IsAuthenticated_Stub(
  3471. IRpcStubBuffer *This,
  3472. IRpcChannelBuffer *_pRpcChannelBuffer,
  3473. PRPC_MESSAGE _pRpcMessage,
  3474. DWORD *_pdwStubPhase);
  3475. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportFastAuth_LogoTag_Proxy(
  3476. IPassportFastAuth * This,
  3477. /* [in] */ BSTR bstrTicket,
  3478. /* [in] */ BSTR bstrProfile,
  3479. /* [optional][in] */ VARIANT vRU,
  3480. /* [optional][in] */ VARIANT vTimeWindow,
  3481. /* [optional][in] */ VARIANT vForceLogin,
  3482. /* [optional][in] */ VARIANT vCoBrand,
  3483. /* [optional][in] */ VARIANT vLangId,
  3484. /* [optional][in] */ VARIANT vSecure,
  3485. /* [optional][in] */ VARIANT vLogoutURL,
  3486. /* [optional][in] */ VARIANT vSiteName,
  3487. /* [optional][in] */ VARIANT NameSpace,
  3488. /* [optional][in] */ VARIANT vKPP,
  3489. /* [optional][in] */ VARIANT SecureLevel,
  3490. /* [retval][out] */ BSTR *pbstrLogoTag);
  3491. void __RPC_STUB IPassportFastAuth_LogoTag_Stub(
  3492. IRpcStubBuffer *This,
  3493. IRpcChannelBuffer *_pRpcChannelBuffer,
  3494. PRPC_MESSAGE _pRpcMessage,
  3495. DWORD *_pdwStubPhase);
  3496. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportFastAuth_AuthURL_Proxy(
  3497. IPassportFastAuth * This,
  3498. /* [optional][in] */ VARIANT vTicket,
  3499. /* [optional][in] */ VARIANT vProfile,
  3500. /* [optional][in] */ VARIANT vRU,
  3501. /* [optional][in] */ VARIANT vTimeWindow,
  3502. /* [optional][in] */ VARIANT vForceLogin,
  3503. /* [optional][in] */ VARIANT vCoBrand,
  3504. /* [optional][in] */ VARIANT vLangId,
  3505. /* [optional][in] */ VARIANT vSecure,
  3506. /* [optional][in] */ VARIANT vLogoutURL,
  3507. /* [optional][in] */ VARIANT vReserved1,
  3508. /* [optional][in] */ VARIANT vSiteName,
  3509. /* [optional][in] */ VARIANT NameSpace,
  3510. /* [optional][in] */ VARIANT vKPP,
  3511. /* [optional][in] */ VARIANT SecureLevel,
  3512. /* [retval][out] */ BSTR *pbstrAuthURL);
  3513. void __RPC_STUB IPassportFastAuth_AuthURL_Stub(
  3514. IRpcStubBuffer *This,
  3515. IRpcChannelBuffer *_pRpcChannelBuffer,
  3516. PRPC_MESSAGE _pRpcMessage,
  3517. DWORD *_pdwStubPhase);
  3518. /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportFastAuth_GetTicketAndProfilePFC_Proxy(
  3519. IPassportFastAuth * This,
  3520. /* [in] */ BYTE *pbPFC,
  3521. /* [in] */ BYTE *pbPPH,
  3522. /* [out] */ BSTR *pbstrTicket,
  3523. /* [out] */ BSTR *pbstrProfile,
  3524. /* [out] */ BSTR *pbstrSecure,
  3525. /* [out] */ BSTR *pbstrSiteName);
  3526. void __RPC_STUB IPassportFastAuth_GetTicketAndProfilePFC_Stub(
  3527. IRpcStubBuffer *This,
  3528. IRpcChannelBuffer *_pRpcChannelBuffer,
  3529. PRPC_MESSAGE _pRpcMessage,
  3530. DWORD *_pdwStubPhase);
  3531. /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportFastAuth_GetTicketAndProfileECB_Proxy(
  3532. IPassportFastAuth * This,
  3533. /* [in] */ BYTE *pbECB,
  3534. /* [out] */ BSTR *pbstrTicket,
  3535. /* [out] */ BSTR *pbstrProfile,
  3536. /* [out] */ BSTR *pbstrSecure,
  3537. /* [out] */ BSTR *pbstrSiteName);
  3538. void __RPC_STUB IPassportFastAuth_GetTicketAndProfileECB_Stub(
  3539. IRpcStubBuffer *This,
  3540. IRpcChannelBuffer *_pRpcChannelBuffer,
  3541. PRPC_MESSAGE _pRpcMessage,
  3542. DWORD *_pdwStubPhase);
  3543. #endif /* __IPassportFastAuth_INTERFACE_DEFINED__ */
  3544. #ifndef __IPassportFastAuth2_INTERFACE_DEFINED__
  3545. #define __IPassportFastAuth2_INTERFACE_DEFINED__
  3546. /* interface IPassportFastAuth2 */
  3547. /* [unique][helpstring][dual][uuid][object] */
  3548. EXTERN_C const IID IID_IPassportFastAuth2;
  3549. #if defined(__cplusplus) && !defined(CINTERFACE)
  3550. MIDL_INTERFACE("fb41a7d8-3739-4468-bdf1-e5b4b2eaeb4b")
  3551. IPassportFastAuth2 : public IPassportFastAuth
  3552. {
  3553. public:
  3554. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LogoTag2(
  3555. /* [in] */ BSTR bstrTicket,
  3556. /* [in] */ BSTR bstrProfile,
  3557. /* [optional][in] */ VARIANT vRU,
  3558. /* [optional][in] */ VARIANT vTimeWindow,
  3559. /* [optional][in] */ VARIANT vForceLogin,
  3560. /* [optional][in] */ VARIANT vCoBrand,
  3561. /* [optional][in] */ VARIANT vLangId,
  3562. /* [optional][in] */ VARIANT vSecure,
  3563. /* [optional][in] */ VARIANT vLogoutURL,
  3564. /* [optional][in] */ VARIANT vSiteName,
  3565. /* [optional][in] */ VARIANT NameSpace,
  3566. /* [optional][in] */ VARIANT vKPP,
  3567. /* [optional][in] */ VARIANT SecureLevel,
  3568. /* [retval][out] */ BSTR *pbstrLogoTag) = 0;
  3569. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AuthURL2(
  3570. /* [optional][in] */ VARIANT vTicket,
  3571. /* [optional][in] */ VARIANT vProfile,
  3572. /* [optional][in] */ VARIANT vRU,
  3573. /* [optional][in] */ VARIANT vTimeWindow,
  3574. /* [optional][in] */ VARIANT vForceLogin,
  3575. /* [optional][in] */ VARIANT vCoBrand,
  3576. /* [optional][in] */ VARIANT vLangId,
  3577. /* [optional][in] */ VARIANT vSecure,
  3578. /* [optional][in] */ VARIANT vLogoutURL,
  3579. /* [optional][in] */ VARIANT vReserved1,
  3580. /* [optional][in] */ VARIANT vSiteName,
  3581. /* [optional][in] */ VARIANT NameSpace,
  3582. /* [optional][in] */ VARIANT vKPP,
  3583. /* [optional][in] */ VARIANT SecureLevel,
  3584. /* [retval][out] */ BSTR *pbstrAuthURL) = 0;
  3585. };
  3586. #else /* C style interface */
  3587. typedef struct IPassportFastAuth2Vtbl
  3588. {
  3589. BEGIN_INTERFACE
  3590. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3591. IPassportFastAuth2 * This,
  3592. /* [in] */ REFIID riid,
  3593. /* [iid_is][out] */ void **ppvObject);
  3594. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3595. IPassportFastAuth2 * This);
  3596. ULONG ( STDMETHODCALLTYPE *Release )(
  3597. IPassportFastAuth2 * This);
  3598. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3599. IPassportFastAuth2 * This,
  3600. /* [out] */ UINT *pctinfo);
  3601. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3602. IPassportFastAuth2 * This,
  3603. /* [in] */ UINT iTInfo,
  3604. /* [in] */ LCID lcid,
  3605. /* [out] */ ITypeInfo **ppTInfo);
  3606. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3607. IPassportFastAuth2 * This,
  3608. /* [in] */ REFIID riid,
  3609. /* [size_is][in] */ LPOLESTR *rgszNames,
  3610. /* [in] */ UINT cNames,
  3611. /* [in] */ LCID lcid,
  3612. /* [size_is][out] */ DISPID *rgDispId);
  3613. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3614. IPassportFastAuth2 * This,
  3615. /* [in] */ DISPID dispIdMember,
  3616. /* [in] */ REFIID riid,
  3617. /* [in] */ LCID lcid,
  3618. /* [in] */ WORD wFlags,
  3619. /* [out][in] */ DISPPARAMS *pDispParams,
  3620. /* [out] */ VARIANT *pVarResult,
  3621. /* [out] */ EXCEPINFO *pExcepInfo,
  3622. /* [out] */ UINT *puArgErr);
  3623. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsAuthenticated )(
  3624. IPassportFastAuth2 * This,
  3625. /* [in] */ BSTR bstrTicket,
  3626. /* [in] */ BSTR bstrProfile,
  3627. /* [optional][in] */ VARIANT vSecure,
  3628. /* [optional][in] */ VARIANT vTimeWindow,
  3629. /* [optional][in] */ VARIANT vForceLogin,
  3630. /* [optional][in] */ VARIANT vSiteName,
  3631. /* [optional][in] */ VARIANT vDoSecureCheck,
  3632. /* [retval][out] */ VARIANT_BOOL *pbIsAuthenticated);
  3633. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogoTag )(
  3634. IPassportFastAuth2 * This,
  3635. /* [in] */ BSTR bstrTicket,
  3636. /* [in] */ BSTR bstrProfile,
  3637. /* [optional][in] */ VARIANT vRU,
  3638. /* [optional][in] */ VARIANT vTimeWindow,
  3639. /* [optional][in] */ VARIANT vForceLogin,
  3640. /* [optional][in] */ VARIANT vCoBrand,
  3641. /* [optional][in] */ VARIANT vLangId,
  3642. /* [optional][in] */ VARIANT vSecure,
  3643. /* [optional][in] */ VARIANT vLogoutURL,
  3644. /* [optional][in] */ VARIANT vSiteName,
  3645. /* [optional][in] */ VARIANT NameSpace,
  3646. /* [optional][in] */ VARIANT vKPP,
  3647. /* [optional][in] */ VARIANT SecureLevel,
  3648. /* [retval][out] */ BSTR *pbstrLogoTag);
  3649. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AuthURL )(
  3650. IPassportFastAuth2 * This,
  3651. /* [optional][in] */ VARIANT vTicket,
  3652. /* [optional][in] */ VARIANT vProfile,
  3653. /* [optional][in] */ VARIANT vRU,
  3654. /* [optional][in] */ VARIANT vTimeWindow,
  3655. /* [optional][in] */ VARIANT vForceLogin,
  3656. /* [optional][in] */ VARIANT vCoBrand,
  3657. /* [optional][in] */ VARIANT vLangId,
  3658. /* [optional][in] */ VARIANT vSecure,
  3659. /* [optional][in] */ VARIANT vLogoutURL,
  3660. /* [optional][in] */ VARIANT vReserved1,
  3661. /* [optional][in] */ VARIANT vSiteName,
  3662. /* [optional][in] */ VARIANT NameSpace,
  3663. /* [optional][in] */ VARIANT vKPP,
  3664. /* [optional][in] */ VARIANT SecureLevel,
  3665. /* [retval][out] */ BSTR *pbstrAuthURL);
  3666. /* [hidden][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTicketAndProfilePFC )(
  3667. IPassportFastAuth2 * This,
  3668. /* [in] */ BYTE *pbPFC,
  3669. /* [in] */ BYTE *pbPPH,
  3670. /* [out] */ BSTR *pbstrTicket,
  3671. /* [out] */ BSTR *pbstrProfile,
  3672. /* [out] */ BSTR *pbstrSecure,
  3673. /* [out] */ BSTR *pbstrSiteName);
  3674. /* [hidden][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTicketAndProfileECB )(
  3675. IPassportFastAuth2 * This,
  3676. /* [in] */ BYTE *pbECB,
  3677. /* [out] */ BSTR *pbstrTicket,
  3678. /* [out] */ BSTR *pbstrProfile,
  3679. /* [out] */ BSTR *pbstrSecure,
  3680. /* [out] */ BSTR *pbstrSiteName);
  3681. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogoTag2 )(
  3682. IPassportFastAuth2 * This,
  3683. /* [in] */ BSTR bstrTicket,
  3684. /* [in] */ BSTR bstrProfile,
  3685. /* [optional][in] */ VARIANT vRU,
  3686. /* [optional][in] */ VARIANT vTimeWindow,
  3687. /* [optional][in] */ VARIANT vForceLogin,
  3688. /* [optional][in] */ VARIANT vCoBrand,
  3689. /* [optional][in] */ VARIANT vLangId,
  3690. /* [optional][in] */ VARIANT vSecure,
  3691. /* [optional][in] */ VARIANT vLogoutURL,
  3692. /* [optional][in] */ VARIANT vSiteName,
  3693. /* [optional][in] */ VARIANT NameSpace,
  3694. /* [optional][in] */ VARIANT vKPP,
  3695. /* [optional][in] */ VARIANT SecureLevel,
  3696. /* [retval][out] */ BSTR *pbstrLogoTag);
  3697. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AuthURL2 )(
  3698. IPassportFastAuth2 * This,
  3699. /* [optional][in] */ VARIANT vTicket,
  3700. /* [optional][in] */ VARIANT vProfile,
  3701. /* [optional][in] */ VARIANT vRU,
  3702. /* [optional][in] */ VARIANT vTimeWindow,
  3703. /* [optional][in] */ VARIANT vForceLogin,
  3704. /* [optional][in] */ VARIANT vCoBrand,
  3705. /* [optional][in] */ VARIANT vLangId,
  3706. /* [optional][in] */ VARIANT vSecure,
  3707. /* [optional][in] */ VARIANT vLogoutURL,
  3708. /* [optional][in] */ VARIANT vReserved1,
  3709. /* [optional][in] */ VARIANT vSiteName,
  3710. /* [optional][in] */ VARIANT NameSpace,
  3711. /* [optional][in] */ VARIANT vKPP,
  3712. /* [optional][in] */ VARIANT SecureLevel,
  3713. /* [retval][out] */ BSTR *pbstrAuthURL);
  3714. END_INTERFACE
  3715. } IPassportFastAuth2Vtbl;
  3716. interface IPassportFastAuth2
  3717. {
  3718. CONST_VTBL struct IPassportFastAuth2Vtbl *lpVtbl;
  3719. };
  3720. #ifdef COBJMACROS
  3721. #define IPassportFastAuth2_QueryInterface(This,riid,ppvObject) \
  3722. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3723. #define IPassportFastAuth2_AddRef(This) \
  3724. (This)->lpVtbl -> AddRef(This)
  3725. #define IPassportFastAuth2_Release(This) \
  3726. (This)->lpVtbl -> Release(This)
  3727. #define IPassportFastAuth2_GetTypeInfoCount(This,pctinfo) \
  3728. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3729. #define IPassportFastAuth2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3730. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3731. #define IPassportFastAuth2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3732. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3733. #define IPassportFastAuth2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3734. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3735. #define IPassportFastAuth2_IsAuthenticated(This,bstrTicket,bstrProfile,vSecure,vTimeWindow,vForceLogin,vSiteName,vDoSecureCheck,pbIsAuthenticated) \
  3736. (This)->lpVtbl -> IsAuthenticated(This,bstrTicket,bstrProfile,vSecure,vTimeWindow,vForceLogin,vSiteName,vDoSecureCheck,pbIsAuthenticated)
  3737. #define IPassportFastAuth2_LogoTag(This,bstrTicket,bstrProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vSiteName,NameSpace,vKPP,SecureLevel,pbstrLogoTag) \
  3738. (This)->lpVtbl -> LogoTag(This,bstrTicket,bstrProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vSiteName,NameSpace,vKPP,SecureLevel,pbstrLogoTag)
  3739. #define IPassportFastAuth2_AuthURL(This,vTicket,vProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vReserved1,vSiteName,NameSpace,vKPP,SecureLevel,pbstrAuthURL) \
  3740. (This)->lpVtbl -> AuthURL(This,vTicket,vProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vReserved1,vSiteName,NameSpace,vKPP,SecureLevel,pbstrAuthURL)
  3741. #define IPassportFastAuth2_GetTicketAndProfilePFC(This,pbPFC,pbPPH,pbstrTicket,pbstrProfile,pbstrSecure,pbstrSiteName) \
  3742. (This)->lpVtbl -> GetTicketAndProfilePFC(This,pbPFC,pbPPH,pbstrTicket,pbstrProfile,pbstrSecure,pbstrSiteName)
  3743. #define IPassportFastAuth2_GetTicketAndProfileECB(This,pbECB,pbstrTicket,pbstrProfile,pbstrSecure,pbstrSiteName) \
  3744. (This)->lpVtbl -> GetTicketAndProfileECB(This,pbECB,pbstrTicket,pbstrProfile,pbstrSecure,pbstrSiteName)
  3745. #define IPassportFastAuth2_LogoTag2(This,bstrTicket,bstrProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vSiteName,NameSpace,vKPP,SecureLevel,pbstrLogoTag) \
  3746. (This)->lpVtbl -> LogoTag2(This,bstrTicket,bstrProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vSiteName,NameSpace,vKPP,SecureLevel,pbstrLogoTag)
  3747. #define IPassportFastAuth2_AuthURL2(This,vTicket,vProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vReserved1,vSiteName,NameSpace,vKPP,SecureLevel,pbstrAuthURL) \
  3748. (This)->lpVtbl -> AuthURL2(This,vTicket,vProfile,vRU,vTimeWindow,vForceLogin,vCoBrand,vLangId,vSecure,vLogoutURL,vReserved1,vSiteName,NameSpace,vKPP,SecureLevel,pbstrAuthURL)
  3749. #endif /* COBJMACROS */
  3750. #endif /* C style interface */
  3751. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportFastAuth2_LogoTag2_Proxy(
  3752. IPassportFastAuth2 * This,
  3753. /* [in] */ BSTR bstrTicket,
  3754. /* [in] */ BSTR bstrProfile,
  3755. /* [optional][in] */ VARIANT vRU,
  3756. /* [optional][in] */ VARIANT vTimeWindow,
  3757. /* [optional][in] */ VARIANT vForceLogin,
  3758. /* [optional][in] */ VARIANT vCoBrand,
  3759. /* [optional][in] */ VARIANT vLangId,
  3760. /* [optional][in] */ VARIANT vSecure,
  3761. /* [optional][in] */ VARIANT vLogoutURL,
  3762. /* [optional][in] */ VARIANT vSiteName,
  3763. /* [optional][in] */ VARIANT NameSpace,
  3764. /* [optional][in] */ VARIANT vKPP,
  3765. /* [optional][in] */ VARIANT SecureLevel,
  3766. /* [retval][out] */ BSTR *pbstrLogoTag);
  3767. void __RPC_STUB IPassportFastAuth2_LogoTag2_Stub(
  3768. IRpcStubBuffer *This,
  3769. IRpcChannelBuffer *_pRpcChannelBuffer,
  3770. PRPC_MESSAGE _pRpcMessage,
  3771. DWORD *_pdwStubPhase);
  3772. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPassportFastAuth2_AuthURL2_Proxy(
  3773. IPassportFastAuth2 * This,
  3774. /* [optional][in] */ VARIANT vTicket,
  3775. /* [optional][in] */ VARIANT vProfile,
  3776. /* [optional][in] */ VARIANT vRU,
  3777. /* [optional][in] */ VARIANT vTimeWindow,
  3778. /* [optional][in] */ VARIANT vForceLogin,
  3779. /* [optional][in] */ VARIANT vCoBrand,
  3780. /* [optional][in] */ VARIANT vLangId,
  3781. /* [optional][in] */ VARIANT vSecure,
  3782. /* [optional][in] */ VARIANT vLogoutURL,
  3783. /* [optional][in] */ VARIANT vReserved1,
  3784. /* [optional][in] */ VARIANT vSiteName,
  3785. /* [optional][in] */ VARIANT NameSpace,
  3786. /* [optional][in] */ VARIANT vKPP,
  3787. /* [optional][in] */ VARIANT SecureLevel,
  3788. /* [retval][out] */ BSTR *pbstrAuthURL);
  3789. void __RPC_STUB IPassportFastAuth2_AuthURL2_Stub(
  3790. IRpcStubBuffer *This,
  3791. IRpcChannelBuffer *_pRpcChannelBuffer,
  3792. PRPC_MESSAGE _pRpcMessage,
  3793. DWORD *_pdwStubPhase);
  3794. #endif /* __IPassportFastAuth2_INTERFACE_DEFINED__ */
  3795. #ifndef __IPassportFactory_INTERFACE_DEFINED__
  3796. #define __IPassportFactory_INTERFACE_DEFINED__
  3797. /* interface IPassportFactory */
  3798. /* [unique][helpstring][dual][uuid][object] */
  3799. EXTERN_C const IID IID_IPassportFactory;
  3800. #if defined(__cplusplus) && !defined(CINTERFACE)
  3801. MIDL_INTERFACE("5602E147-27F6-11d3-94DD-00C04F72DC08")
  3802. IPassportFactory : public IDispatch
  3803. {
  3804. public:
  3805. virtual HRESULT STDMETHODCALLTYPE CreatePassportManager(
  3806. /* [retval][out] */ IDispatch **ppdispPassportManager) = 0;
  3807. };
  3808. #else /* C style interface */
  3809. typedef struct IPassportFactoryVtbl
  3810. {
  3811. BEGIN_INTERFACE
  3812. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3813. IPassportFactory * This,
  3814. /* [in] */ REFIID riid,
  3815. /* [iid_is][out] */ void **ppvObject);
  3816. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3817. IPassportFactory * This);
  3818. ULONG ( STDMETHODCALLTYPE *Release )(
  3819. IPassportFactory * This);
  3820. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3821. IPassportFactory * This,
  3822. /* [out] */ UINT *pctinfo);
  3823. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3824. IPassportFactory * This,
  3825. /* [in] */ UINT iTInfo,
  3826. /* [in] */ LCID lcid,
  3827. /* [out] */ ITypeInfo **ppTInfo);
  3828. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3829. IPassportFactory * This,
  3830. /* [in] */ REFIID riid,
  3831. /* [size_is][in] */ LPOLESTR *rgszNames,
  3832. /* [in] */ UINT cNames,
  3833. /* [in] */ LCID lcid,
  3834. /* [size_is][out] */ DISPID *rgDispId);
  3835. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3836. IPassportFactory * This,
  3837. /* [in] */ DISPID dispIdMember,
  3838. /* [in] */ REFIID riid,
  3839. /* [in] */ LCID lcid,
  3840. /* [in] */ WORD wFlags,
  3841. /* [out][in] */ DISPPARAMS *pDispParams,
  3842. /* [out] */ VARIANT *pVarResult,
  3843. /* [out] */ EXCEPINFO *pExcepInfo,
  3844. /* [out] */ UINT *puArgErr);
  3845. HRESULT ( STDMETHODCALLTYPE *CreatePassportManager )(
  3846. IPassportFactory * This,
  3847. /* [retval][out] */ IDispatch **ppdispPassportManager);
  3848. END_INTERFACE
  3849. } IPassportFactoryVtbl;
  3850. interface IPassportFactory
  3851. {
  3852. CONST_VTBL struct IPassportFactoryVtbl *lpVtbl;
  3853. };
  3854. #ifdef COBJMACROS
  3855. #define IPassportFactory_QueryInterface(This,riid,ppvObject) \
  3856. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3857. #define IPassportFactory_AddRef(This) \
  3858. (This)->lpVtbl -> AddRef(This)
  3859. #define IPassportFactory_Release(This) \
  3860. (This)->lpVtbl -> Release(This)
  3861. #define IPassportFactory_GetTypeInfoCount(This,pctinfo) \
  3862. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3863. #define IPassportFactory_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3864. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3865. #define IPassportFactory_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3866. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3867. #define IPassportFactory_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3868. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3869. #define IPassportFactory_CreatePassportManager(This,ppdispPassportManager) \
  3870. (This)->lpVtbl -> CreatePassportManager(This,ppdispPassportManager)
  3871. #endif /* COBJMACROS */
  3872. #endif /* C style interface */
  3873. HRESULT STDMETHODCALLTYPE IPassportFactory_CreatePassportManager_Proxy(
  3874. IPassportFactory * This,
  3875. /* [retval][out] */ IDispatch **ppdispPassportManager);
  3876. void __RPC_STUB IPassportFactory_CreatePassportManager_Stub(
  3877. IRpcStubBuffer *This,
  3878. IRpcChannelBuffer *_pRpcChannelBuffer,
  3879. PRPC_MESSAGE _pRpcMessage,
  3880. DWORD *_pdwStubPhase);
  3881. #endif /* __IPassportFactory_INTERFACE_DEFINED__ */
  3882. #ifndef __PASSPORTLib_LIBRARY_DEFINED__
  3883. #define __PASSPORTLib_LIBRARY_DEFINED__
  3884. /* library PASSPORTLib */
  3885. /* [helpstring][version][uuid] */
  3886. EXTERN_C const IID LIBID_PASSPORTLib;
  3887. EXTERN_C const CLSID CLSID_Manager;
  3888. #ifdef __cplusplus
  3889. class DECLSPEC_UUID("41651BF0-A5C8-11D2-95DF-00C04F8E7A70")
  3890. Manager;
  3891. #endif
  3892. EXTERN_C const CLSID CLSID_Ticket;
  3893. #ifdef __cplusplus
  3894. class DECLSPEC_UUID("41651BF2-A5C8-11D2-95DF-00C04F8E7A70")
  3895. Ticket;
  3896. #endif
  3897. EXTERN_C const CLSID CLSID_Profile;
  3898. #ifdef __cplusplus
  3899. class DECLSPEC_UUID("41651BF4-A5C8-11D2-95DF-00C04F8E7A70")
  3900. Profile;
  3901. #endif
  3902. EXTERN_C const CLSID CLSID_Crypt;
  3903. #ifdef __cplusplus
  3904. class DECLSPEC_UUID("41651BFA-A5C8-11D2-95DF-00C04F8E7A70")
  3905. Crypt;
  3906. #endif
  3907. EXTERN_C const CLSID CLSID_Admin;
  3908. #ifdef __cplusplus
  3909. class DECLSPEC_UUID("A0082CF6-AFF5-11D2-95E3-00C04F8E7A70")
  3910. Admin;
  3911. #endif
  3912. EXTERN_C const CLSID CLSID_FastAuth;
  3913. #ifdef __cplusplus
  3914. class DECLSPEC_UUID("5602E146-27F6-11d3-94DD-00C04F72DC08")
  3915. FastAuth;
  3916. #endif
  3917. EXTERN_C const CLSID CLSID_PassportFactory;
  3918. #ifdef __cplusplus
  3919. class DECLSPEC_UUID("74EB2514-E239-11D2-95E9-00C04F8E7A70")
  3920. PassportFactory;
  3921. #endif
  3922. #endif /* __PASSPORTLib_LIBRARY_DEFINED__ */
  3923. /* Additional Prototypes for ALL interfaces */
  3924. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  3925. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  3926. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  3927. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  3928. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  3929. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  3930. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  3931. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  3932. /* end of Additional Prototypes */
  3933. #ifdef __cplusplus
  3934. }
  3935. #endif
  3936. #endif