p≡p COM server adapter
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.

764 lines
24 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 8.00.0603 */
  3. /* at Thu Apr 23 19:17:16 2015
  4. */
  5. /* Compiler settings for pEpCOMServerAdapter.idl:
  6. Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0603
  7. protocol : dce , ms_ext, c_ext, robust
  8. error checks: allocation ref bounds_check enum stub_data
  9. VC __declspec() decoration level:
  10. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11. DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. /* @@MIDL_FILE_HEADING( ) */
  14. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  18. #endif
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21. #ifndef __RPCNDR_H_VERSION__
  22. #error this stub requires an updated version of <rpcndr.h>
  23. #endif // __RPCNDR_H_VERSION__
  24. #ifndef COM_NO_WINDOWS_H
  25. #include "windows.h"
  26. #include "ole2.h"
  27. #endif /*COM_NO_WINDOWS_H*/
  28. #ifndef __pEpCOMServerAdapter_i_h__
  29. #define __pEpCOMServerAdapter_i_h__
  30. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  31. #pragma once
  32. #endif
  33. /* Forward Declarations */
  34. #ifndef __IpEpEngine_FWD_DEFINED__
  35. #define __IpEpEngine_FWD_DEFINED__
  36. typedef interface IpEpEngine IpEpEngine;
  37. #endif /* __IpEpEngine_FWD_DEFINED__ */
  38. #ifndef __IMessageAPI_Outlook_FWD_DEFINED__
  39. #define __IMessageAPI_Outlook_FWD_DEFINED__
  40. typedef interface IMessageAPI_Outlook IMessageAPI_Outlook;
  41. #endif /* __IMessageAPI_Outlook_FWD_DEFINED__ */
  42. #ifndef ___IpEpEngineEvents_FWD_DEFINED__
  43. #define ___IpEpEngineEvents_FWD_DEFINED__
  44. typedef interface _IpEpEngineEvents _IpEpEngineEvents;
  45. #endif /* ___IpEpEngineEvents_FWD_DEFINED__ */
  46. #ifndef __pEpEngine_FWD_DEFINED__
  47. #define __pEpEngine_FWD_DEFINED__
  48. #ifdef __cplusplus
  49. typedef class pEpEngine pEpEngine;
  50. #else
  51. typedef struct pEpEngine pEpEngine;
  52. #endif /* __cplusplus */
  53. #endif /* __pEpEngine_FWD_DEFINED__ */
  54. /* header files for imported files */
  55. #include "oaidl.h"
  56. #include "ocidl.h"
  57. #ifdef __cplusplus
  58. extern "C"{
  59. #endif
  60. #ifndef __IpEpEngine_INTERFACE_DEFINED__
  61. #define __IpEpEngine_INTERFACE_DEFINED__
  62. /* interface IpEpEngine */
  63. /* [unique][nonextensible][oleautomation][uuid][object] */
  64. typedef
  65. enum _pEp_STATUS
  66. {
  67. pEp_STATUS_OK = 0,
  68. pEp_KEY_NOT_FOUND = 0x201,
  69. pEp_KEY_HAS_AMBIG_NAME = 0x202,
  70. pEp_GET_KEY_FAILED = 0x203,
  71. pEp_UNENCRYPTED = 0x400,
  72. pEp_VERIFIED = 0x401,
  73. pEp_DECRYPTED = 0x402,
  74. pEp_DECRYPTED_AND_VERIFIED = 0x403,
  75. pEp_DECRYPT_WRONG_FORMAT = 0x404,
  76. pEp_DECRYPT_NO_KEY = 0x405,
  77. pEp_DECRYPT_SIGNATURE_DOES_NOT_MATCH = 0x406,
  78. pEp_VERIFY_NO_KEY = 0x407,
  79. pEp_VERIFIED_AND_TRUSTED = 0x408,
  80. pEp_ILLEGAL_VALUE = -4,
  81. pEp_BUFFER_TOO_SMALL = -3,
  82. pEp_OUT_OF_MEMORY = -2,
  83. pEp_UNKNOWN_ERROR = -1
  84. } pEp_STATUS;
  85. typedef
  86. enum _pEp_comm_type
  87. {
  88. pEp_ct_unknown = 0,
  89. pEp_ct_no_encryption = 0x1,
  90. pEp_ct_no_encrypted_channel = 0x2,
  91. pEp_ct_key_not_found = 0x3,
  92. pEp_ct_key_expired = 0x4,
  93. pEp_ct_key_revoked = 0x5,
  94. pEp_ct_key_b0rken = 0x6,
  95. pEp_ct_my_key_not_included = 0x9,
  96. pEp_ct_security_by_obscurity = 0xa,
  97. pEp_ct_b0rken_crypto = 0xb,
  98. pEp_ct_key_too_short = 0xe,
  99. pEp_ct_compromized = 0xf,
  100. pEp_ct_unconfirmed_encryption = 0x10,
  101. pEp_ct_OpenPGP_1024_RSA_unconfirmed = 0x11,
  102. pEp_ct_OpenPGP_unconfirmed = 0x3f,
  103. pEp_ct_unconfirmed_enc_anon = 0x40,
  104. pEp_ct_pEp_unconfirmed = 0x7f,
  105. pEp_ct_confirmed = 0x80,
  106. pEp_ct_confirmed_encryption = 0x90,
  107. pEp_ct_OpenPGP_1024_RSA = 0x91,
  108. pEp_ct_OpenPGP = 0xbf,
  109. pEp_ct_confirmed_enc_anon = 0xc0,
  110. pEp_ct_pEp = 0xff
  111. } pEp_comm_type;
  112. struct pEp_identity_s
  113. {
  114. BSTR address;
  115. BSTR fpr;
  116. BSTR user_id;
  117. BSTR username;
  118. pEp_comm_type comm_type;
  119. BSTR lang;
  120. } ;
  121. EXTERN_C const IID IID_IpEpEngine;
  122. #if defined(__cplusplus) && !defined(CINTERFACE)
  123. MIDL_INTERFACE("9A9F4422-CF0A-45D7-90CD-1D1B7B2A4540")
  124. IpEpEngine : public IUnknown
  125. {
  126. public:
  127. virtual HRESULT STDMETHODCALLTYPE log(
  128. /* [in] */ BSTR title,
  129. /* [in] */ BSTR entity,
  130. /* [defaultvalue][in] */ BSTR description = L"",
  131. /* [defaultvalue][in] */ BSTR comment = L"") = 0;
  132. virtual HRESULT STDMETHODCALLTYPE decrypt(
  133. /* [in] */ BSTR ctext,
  134. /* [out] */ BSTR *ptext,
  135. /* [out] */ SAFEARRAY * *key_list,
  136. /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
  137. virtual HRESULT STDMETHODCALLTYPE decrypt_b(
  138. /* [in] */ BSTR ctext,
  139. /* [out] */ SAFEARRAY * *ptext,
  140. /* [out] */ SAFEARRAY * *key_list,
  141. /* [retval][out] */ pEp_STATUS *decrypt_status) = 0;
  142. virtual HRESULT STDMETHODCALLTYPE encrypt(
  143. /* [in] */ SAFEARRAY * key_list,
  144. /* [in] */ BSTR ptext,
  145. /* [out] */ BSTR *ctext,
  146. /* [retval][out] */ pEp_STATUS *status) = 0;
  147. virtual HRESULT STDMETHODCALLTYPE encrypt_b(
  148. /* [in] */ SAFEARRAY * key_list,
  149. /* [in] */ SAFEARRAY * ptext,
  150. /* [out] */ BSTR *ctext,
  151. /* [retval][out] */ pEp_STATUS *status) = 0;
  152. virtual HRESULT STDMETHODCALLTYPE verify(
  153. /* [in] */ BSTR text,
  154. /* [in] */ BSTR signature,
  155. /* [out] */ SAFEARRAY * *key_list,
  156. /* [retval][out] */ pEp_STATUS *verify_status) = 0;
  157. virtual HRESULT STDMETHODCALLTYPE safeword(
  158. /* [in] */ LONG value,
  159. /* [defaultvalue][in] */ BSTR lang,
  160. /* [retval][out] */ BSTR *word) = 0;
  161. virtual HRESULT STDMETHODCALLTYPE safewords(
  162. /* [in] */ BSTR fpr,
  163. /* [defaultvalue][in] */ BSTR lang,
  164. /* [defaultvalue][in] */ LONG max_words,
  165. /* [retval][out] */ BSTR *words) = 0;
  166. virtual HRESULT STDMETHODCALLTYPE get_identity(
  167. /* [in] */ BSTR address,
  168. /* [retval][out] */ struct pEp_identity_s *ident) = 0;
  169. virtual HRESULT STDMETHODCALLTYPE set_identity(
  170. /* [in] */ struct pEp_identity_s *ident) = 0;
  171. virtual HRESULT STDMETHODCALLTYPE generate_keypair(
  172. /* [in] */ struct pEp_identity_s *ident,
  173. /* [retval][out] */ BSTR *fpr) = 0;
  174. virtual HRESULT STDMETHODCALLTYPE delete_keypair(
  175. /* [in] */ BSTR fpr) = 0;
  176. virtual HRESULT STDMETHODCALLTYPE import_key(
  177. /* [in] */ BSTR key_data) = 0;
  178. virtual HRESULT STDMETHODCALLTYPE import_key_b(
  179. /* [in] */ SAFEARRAY * key_data) = 0;
  180. virtual HRESULT STDMETHODCALLTYPE export_key(
  181. /* [in] */ BSTR fpr,
  182. /* [retval][out] */ BSTR *key_data) = 0;
  183. virtual HRESULT STDMETHODCALLTYPE recv_key(
  184. /* [in] */ BSTR pattern) = 0;
  185. virtual HRESULT STDMETHODCALLTYPE find_keys(
  186. /* [in] */ BSTR pattern,
  187. /* [retval][out] */ SAFEARRAY * *key_list) = 0;
  188. virtual HRESULT STDMETHODCALLTYPE send_key(
  189. /* [in] */ BSTR pattern) = 0;
  190. virtual HRESULT STDMETHODCALLTYPE examine_identity(
  191. /* [in] */ struct pEp_identity_s *ident) = 0;
  192. virtual HRESULT STDMETHODCALLTYPE examine_myself(
  193. /* [in] */ struct pEp_identity_s *myself) = 0;
  194. virtual HRESULT STDMETHODCALLTYPE myself(
  195. /* [in] */ struct pEp_identity_s *ident,
  196. /* [retval][out] */ struct pEp_identity_s *result) = 0;
  197. virtual HRESULT STDMETHODCALLTYPE update_identity(
  198. /* [in] */ struct pEp_identity_s *ident,
  199. /* [retval][out] */ struct pEp_identity_s *result) = 0;
  200. };
  201. #else /* C style interface */
  202. typedef struct IpEpEngineVtbl
  203. {
  204. BEGIN_INTERFACE
  205. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  206. IpEpEngine * This,
  207. /* [in] */ REFIID riid,
  208. /* [annotation][iid_is][out] */
  209. _COM_Outptr_ void **ppvObject);
  210. ULONG ( STDMETHODCALLTYPE *AddRef )(
  211. IpEpEngine * This);
  212. ULONG ( STDMETHODCALLTYPE *Release )(
  213. IpEpEngine * This);
  214. HRESULT ( STDMETHODCALLTYPE *log )(
  215. IpEpEngine * This,
  216. /* [in] */ BSTR title,
  217. /* [in] */ BSTR entity,
  218. /* [defaultvalue][in] */ BSTR description,
  219. /* [defaultvalue][in] */ BSTR comment);
  220. HRESULT ( STDMETHODCALLTYPE *decrypt )(
  221. IpEpEngine * This,
  222. /* [in] */ BSTR ctext,
  223. /* [out] */ BSTR *ptext,
  224. /* [out] */ SAFEARRAY * *key_list,
  225. /* [retval][out] */ pEp_STATUS *decrypt_status);
  226. HRESULT ( STDMETHODCALLTYPE *decrypt_b )(
  227. IpEpEngine * This,
  228. /* [in] */ BSTR ctext,
  229. /* [out] */ SAFEARRAY * *ptext,
  230. /* [out] */ SAFEARRAY * *key_list,
  231. /* [retval][out] */ pEp_STATUS *decrypt_status);
  232. HRESULT ( STDMETHODCALLTYPE *encrypt )(
  233. IpEpEngine * This,
  234. /* [in] */ SAFEARRAY * key_list,
  235. /* [in] */ BSTR ptext,
  236. /* [out] */ BSTR *ctext,
  237. /* [retval][out] */ pEp_STATUS *status);
  238. HRESULT ( STDMETHODCALLTYPE *encrypt_b )(
  239. IpEpEngine * This,
  240. /* [in] */ SAFEARRAY * key_list,
  241. /* [in] */ SAFEARRAY * ptext,
  242. /* [out] */ BSTR *ctext,
  243. /* [retval][out] */ pEp_STATUS *status);
  244. HRESULT ( STDMETHODCALLTYPE *verify )(
  245. IpEpEngine * This,
  246. /* [in] */ BSTR text,
  247. /* [in] */ BSTR signature,
  248. /* [out] */ SAFEARRAY * *key_list,
  249. /* [retval][out] */ pEp_STATUS *verify_status);
  250. HRESULT ( STDMETHODCALLTYPE *safeword )(
  251. IpEpEngine * This,
  252. /* [in] */ LONG value,
  253. /* [defaultvalue][in] */ BSTR lang,
  254. /* [retval][out] */ BSTR *word);
  255. HRESULT ( STDMETHODCALLTYPE *safewords )(
  256. IpEpEngine * This,
  257. /* [in] */ BSTR fpr,
  258. /* [defaultvalue][in] */ BSTR lang,
  259. /* [defaultvalue][in] */ LONG max_words,
  260. /* [retval][out] */ BSTR *words);
  261. HRESULT ( STDMETHODCALLTYPE *get_identity )(
  262. IpEpEngine * This,
  263. /* [in] */ BSTR address,
  264. /* [retval][out] */ struct pEp_identity_s *ident);
  265. HRESULT ( STDMETHODCALLTYPE *set_identity )(
  266. IpEpEngine * This,
  267. /* [in] */ struct pEp_identity_s *ident);
  268. HRESULT ( STDMETHODCALLTYPE *generate_keypair )(
  269. IpEpEngine * This,
  270. /* [in] */ struct pEp_identity_s *ident,
  271. /* [retval][out] */ BSTR *fpr);
  272. HRESULT ( STDMETHODCALLTYPE *delete_keypair )(
  273. IpEpEngine * This,
  274. /* [in] */ BSTR fpr);
  275. HRESULT ( STDMETHODCALLTYPE *import_key )(
  276. IpEpEngine * This,
  277. /* [in] */ BSTR key_data);
  278. HRESULT ( STDMETHODCALLTYPE *import_key_b )(
  279. IpEpEngine * This,
  280. /* [in] */ SAFEARRAY * key_data);
  281. HRESULT ( STDMETHODCALLTYPE *export_key )(
  282. IpEpEngine * This,
  283. /* [in] */ BSTR fpr,
  284. /* [retval][out] */ BSTR *key_data);
  285. HRESULT ( STDMETHODCALLTYPE *recv_key )(
  286. IpEpEngine * This,
  287. /* [in] */ BSTR pattern);
  288. HRESULT ( STDMETHODCALLTYPE *find_keys )(
  289. IpEpEngine * This,
  290. /* [in] */ BSTR pattern,
  291. /* [retval][out] */ SAFEARRAY * *key_list);
  292. HRESULT ( STDMETHODCALLTYPE *send_key )(
  293. IpEpEngine * This,
  294. /* [in] */ BSTR pattern);
  295. HRESULT ( STDMETHODCALLTYPE *examine_identity )(
  296. IpEpEngine * This,
  297. /* [in] */ struct pEp_identity_s *ident);
  298. HRESULT ( STDMETHODCALLTYPE *examine_myself )(
  299. IpEpEngine * This,
  300. /* [in] */ struct pEp_identity_s *myself);
  301. HRESULT ( STDMETHODCALLTYPE *myself )(
  302. IpEpEngine * This,
  303. /* [in] */ struct pEp_identity_s *ident,
  304. /* [retval][out] */ struct pEp_identity_s *result);
  305. HRESULT ( STDMETHODCALLTYPE *update_identity )(
  306. IpEpEngine * This,
  307. /* [in] */ struct pEp_identity_s *ident,
  308. /* [retval][out] */ struct pEp_identity_s *result);
  309. END_INTERFACE
  310. } IpEpEngineVtbl;
  311. interface IpEpEngine
  312. {
  313. CONST_VTBL struct IpEpEngineVtbl *lpVtbl;
  314. };
  315. #ifdef COBJMACROS
  316. #define IpEpEngine_QueryInterface(This,riid,ppvObject) \
  317. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  318. #define IpEpEngine_AddRef(This) \
  319. ( (This)->lpVtbl -> AddRef(This) )
  320. #define IpEpEngine_Release(This) \
  321. ( (This)->lpVtbl -> Release(This) )
  322. #define IpEpEngine_log(This,title,entity,description,comment) \
  323. ( (This)->lpVtbl -> log(This,title,entity,description,comment) )
  324. #define IpEpEngine_decrypt(This,ctext,ptext,key_list,decrypt_status) \
  325. ( (This)->lpVtbl -> decrypt(This,ctext,ptext,key_list,decrypt_status) )
  326. #define IpEpEngine_decrypt_b(This,ctext,ptext,key_list,decrypt_status) \
  327. ( (This)->lpVtbl -> decrypt_b(This,ctext,ptext,key_list,decrypt_status) )
  328. #define IpEpEngine_encrypt(This,key_list,ptext,ctext,status) \
  329. ( (This)->lpVtbl -> encrypt(This,key_list,ptext,ctext,status) )
  330. #define IpEpEngine_encrypt_b(This,key_list,ptext,ctext,status) \
  331. ( (This)->lpVtbl -> encrypt_b(This,key_list,ptext,ctext,status) )
  332. #define IpEpEngine_verify(This,text,signature,key_list,verify_status) \
  333. ( (This)->lpVtbl -> verify(This,text,signature,key_list,verify_status) )
  334. #define IpEpEngine_safeword(This,value,lang,word) \
  335. ( (This)->lpVtbl -> safeword(This,value,lang,word) )
  336. #define IpEpEngine_safewords(This,fpr,lang,max_words,words) \
  337. ( (This)->lpVtbl -> safewords(This,fpr,lang,max_words,words) )
  338. #define IpEpEngine_get_identity(This,address,ident) \
  339. ( (This)->lpVtbl -> get_identity(This,address,ident) )
  340. #define IpEpEngine_set_identity(This,ident) \
  341. ( (This)->lpVtbl -> set_identity(This,ident) )
  342. #define IpEpEngine_generate_keypair(This,ident,fpr) \
  343. ( (This)->lpVtbl -> generate_keypair(This,ident,fpr) )
  344. #define IpEpEngine_delete_keypair(This,fpr) \
  345. ( (This)->lpVtbl -> delete_keypair(This,fpr) )
  346. #define IpEpEngine_import_key(This,key_data) \
  347. ( (This)->lpVtbl -> import_key(This,key_data) )
  348. #define IpEpEngine_import_key_b(This,key_data) \
  349. ( (This)->lpVtbl -> import_key_b(This,key_data) )
  350. #define IpEpEngine_export_key(This,fpr,key_data) \
  351. ( (This)->lpVtbl -> export_key(This,fpr,key_data) )
  352. #define IpEpEngine_recv_key(This,pattern) \
  353. ( (This)->lpVtbl -> recv_key(This,pattern) )
  354. #define IpEpEngine_find_keys(This,pattern,key_list) \
  355. ( (This)->lpVtbl -> find_keys(This,pattern,key_list) )
  356. #define IpEpEngine_send_key(This,pattern) \
  357. ( (This)->lpVtbl -> send_key(This,pattern) )
  358. #define IpEpEngine_examine_identity(This,ident) \
  359. ( (This)->lpVtbl -> examine_identity(This,ident) )
  360. #define IpEpEngine_examine_myself(This,myself) \
  361. ( (This)->lpVtbl -> examine_myself(This,myself) )
  362. #define IpEpEngine_myself(This,ident,result) \
  363. ( (This)->lpVtbl -> myself(This,ident,result) )
  364. #define IpEpEngine_update_identity(This,ident,result) \
  365. ( (This)->lpVtbl -> update_identity(This,ident,result) )
  366. #endif /* COBJMACROS */
  367. #endif /* C style interface */
  368. #endif /* __IpEpEngine_INTERFACE_DEFINED__ */
  369. #ifndef __IMessageAPI_Outlook_INTERFACE_DEFINED__
  370. #define __IMessageAPI_Outlook_INTERFACE_DEFINED__
  371. /* interface IMessageAPI_Outlook */
  372. /* [unique][nonextensible][oleautomation][uuid][object] */
  373. typedef
  374. enum _pEp_text_format
  375. {
  376. pEp_text_format_plain = 0,
  377. pEp_text_format_html = ( pEp_text_format_plain + 1 ) ,
  378. pEp_text_format_other = 0xff
  379. } pEp_text_format;
  380. typedef
  381. enum _pEp_msg_direction
  382. {
  383. pEp_dir_incoming = 0,
  384. pEp_dir_outgoing = ( pEp_dir_incoming + 1 )
  385. } pEp_msg_direction;
  386. typedef
  387. enum _pEp_MIME_format
  388. {
  389. pEp_MIME_none = 0,
  390. pEp_MIME_fields_omitted = ( pEp_MIME_none + 1 ) ,
  391. pEp_MIME = ( pEp_MIME_fields_omitted + 1 )
  392. } pEp_MIME_format;
  393. typedef
  394. enum _pEp_enc_format
  395. {
  396. pEp_enc_none = 0,
  397. pEp_enc_pieces = ( pEp_enc_none + 1 ) ,
  398. pEp_enc_S_MIME = ( pEp_enc_pieces + 1 ) ,
  399. pEp_enc_PGP_MIME = ( pEp_enc_S_MIME + 1 ) ,
  400. pEp_enc_pEp = ( pEp_enc_PGP_MIME + 1 )
  401. } pEp_enc_format;
  402. EXTERN_C const IID IID_IMessageAPI_Outlook;
  403. #if defined(__cplusplus) && !defined(CINTERFACE)
  404. MIDL_INTERFACE("BC9AB54D-2CDA-47A5-AB40-64857B9E9555")
  405. IMessageAPI_Outlook : public IUnknown
  406. {
  407. public:
  408. virtual HRESULT STDMETHODCALLTYPE key_compromized(
  409. /* [in] */ BSTR fpr) = 0;
  410. };
  411. #else /* C style interface */
  412. typedef struct IMessageAPI_OutlookVtbl
  413. {
  414. BEGIN_INTERFACE
  415. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  416. IMessageAPI_Outlook * This,
  417. /* [in] */ REFIID riid,
  418. /* [annotation][iid_is][out] */
  419. _COM_Outptr_ void **ppvObject);
  420. ULONG ( STDMETHODCALLTYPE *AddRef )(
  421. IMessageAPI_Outlook * This);
  422. ULONG ( STDMETHODCALLTYPE *Release )(
  423. IMessageAPI_Outlook * This);
  424. HRESULT ( STDMETHODCALLTYPE *key_compromized )(
  425. IMessageAPI_Outlook * This,
  426. /* [in] */ BSTR fpr);
  427. END_INTERFACE
  428. } IMessageAPI_OutlookVtbl;
  429. interface IMessageAPI_Outlook
  430. {
  431. CONST_VTBL struct IMessageAPI_OutlookVtbl *lpVtbl;
  432. };
  433. #ifdef COBJMACROS
  434. #define IMessageAPI_Outlook_QueryInterface(This,riid,ppvObject) \
  435. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  436. #define IMessageAPI_Outlook_AddRef(This) \
  437. ( (This)->lpVtbl -> AddRef(This) )
  438. #define IMessageAPI_Outlook_Release(This) \
  439. ( (This)->lpVtbl -> Release(This) )
  440. #define IMessageAPI_Outlook_key_compromized(This,fpr) \
  441. ( (This)->lpVtbl -> key_compromized(This,fpr) )
  442. #endif /* COBJMACROS */
  443. #endif /* C style interface */
  444. #endif /* __IMessageAPI_Outlook_INTERFACE_DEFINED__ */
  445. #ifndef __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
  446. #define __pEpCOMServerAdapterLib_LIBRARY_DEFINED__
  447. /* library pEpCOMServerAdapterLib */
  448. /* [version][uuid] */
  449. EXTERN_C const IID LIBID_pEpCOMServerAdapterLib;
  450. #ifndef ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
  451. #define ___IpEpEngineEvents_DISPINTERFACE_DEFINED__
  452. /* dispinterface _IpEpEngineEvents */
  453. /* [uuid] */
  454. EXTERN_C const IID DIID__IpEpEngineEvents;
  455. #if defined(__cplusplus) && !defined(CINTERFACE)
  456. MIDL_INTERFACE("B6BC9B8E-D9E2-4419-A3A4-7B4B58175549")
  457. _IpEpEngineEvents : public IDispatch
  458. {
  459. };
  460. #else /* C style interface */
  461. typedef struct _IpEpEngineEventsVtbl
  462. {
  463. BEGIN_INTERFACE
  464. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  465. _IpEpEngineEvents * This,
  466. /* [in] */ REFIID riid,
  467. /* [annotation][iid_is][out] */
  468. _COM_Outptr_ void **ppvObject);
  469. ULONG ( STDMETHODCALLTYPE *AddRef )(
  470. _IpEpEngineEvents * This);
  471. ULONG ( STDMETHODCALLTYPE *Release )(
  472. _IpEpEngineEvents * This);
  473. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  474. _IpEpEngineEvents * This,
  475. /* [out] */ UINT *pctinfo);
  476. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  477. _IpEpEngineEvents * This,
  478. /* [in] */ UINT iTInfo,
  479. /* [in] */ LCID lcid,
  480. /* [out] */ ITypeInfo **ppTInfo);
  481. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  482. _IpEpEngineEvents * This,
  483. /* [in] */ REFIID riid,
  484. /* [size_is][in] */ LPOLESTR *rgszNames,
  485. /* [range][in] */ UINT cNames,
  486. /* [in] */ LCID lcid,
  487. /* [size_is][out] */ DISPID *rgDispId);
  488. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  489. _IpEpEngineEvents * This,
  490. /* [annotation][in] */
  491. _In_ DISPID dispIdMember,
  492. /* [annotation][in] */
  493. _In_ REFIID riid,
  494. /* [annotation][in] */
  495. _In_ LCID lcid,
  496. /* [annotation][in] */
  497. _In_ WORD wFlags,
  498. /* [annotation][out][in] */
  499. _In_ DISPPARAMS *pDispParams,
  500. /* [annotation][out] */
  501. _Out_opt_ VARIANT *pVarResult,
  502. /* [annotation][out] */
  503. _Out_opt_ EXCEPINFO *pExcepInfo,
  504. /* [annotation][out] */
  505. _Out_opt_ UINT *puArgErr);
  506. END_INTERFACE
  507. } _IpEpEngineEventsVtbl;
  508. interface _IpEpEngineEvents
  509. {
  510. CONST_VTBL struct _IpEpEngineEventsVtbl *lpVtbl;
  511. };
  512. #ifdef COBJMACROS
  513. #define _IpEpEngineEvents_QueryInterface(This,riid,ppvObject) \
  514. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  515. #define _IpEpEngineEvents_AddRef(This) \
  516. ( (This)->lpVtbl -> AddRef(This) )
  517. #define _IpEpEngineEvents_Release(This) \
  518. ( (This)->lpVtbl -> Release(This) )
  519. #define _IpEpEngineEvents_GetTypeInfoCount(This,pctinfo) \
  520. ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
  521. #define _IpEpEngineEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  522. ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
  523. #define _IpEpEngineEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  524. ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
  525. #define _IpEpEngineEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  526. ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
  527. #endif /* COBJMACROS */
  528. #endif /* C style interface */
  529. #endif /* ___IpEpEngineEvents_DISPINTERFACE_DEFINED__ */
  530. EXTERN_C const CLSID CLSID_pEpEngine;
  531. #ifdef __cplusplus
  532. class DECLSPEC_UUID("EF1B073D-5058-4E0E-829E-B4D22CA21EA2")
  533. pEpEngine;
  534. #endif
  535. #endif /* __pEpCOMServerAdapterLib_LIBRARY_DEFINED__ */
  536. /* Additional Prototypes for ALL interfaces */
  537. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  538. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  539. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  540. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  541. unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * );
  542. unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * );
  543. unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * );
  544. void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * );
  545. /* end of Additional Prototypes */
  546. #ifdef __cplusplus
  547. }
  548. #endif
  549. #endif