Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12889 lines
394 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
  3. #pragma warning( disable: 4211 ) /* redefine extent to static */
  4. #pragma warning( disable: 4232 ) /* dllimport identity*/
  5. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  6. /* File created by MIDL compiler version 6.00.0359 */
  7. /* Compiler settings for capicom.idl:
  8. Oicf, W1, Zp8, env=Win32 (32b run)
  9. protocol : dce , ms_ext, c_ext, robust
  10. error checks: allocation ref bounds_check enum stub_data
  11. VC __declspec() decoration level:
  12. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  13. DECLSPEC_UUID(), MIDL_INTERFACE()
  14. */
  15. //@@MIDL_FILE_HEADING( )
  16. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  17. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  18. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  19. #endif
  20. #include "rpc.h"
  21. #include "rpcndr.h"
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25. #ifndef COM_NO_WINDOWS_H
  26. #include "windows.h"
  27. #include "ole2.h"
  28. #endif /*COM_NO_WINDOWS_H*/
  29. #ifndef __capicom_h__
  30. #define __capicom_h__
  31. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  32. #pragma once
  33. #endif
  34. /* Forward Declarations */
  35. #ifndef __Settings_FWD_DEFINED__
  36. #define __Settings_FWD_DEFINED__
  37. #ifdef __cplusplus
  38. typedef class Settings Settings;
  39. #else
  40. typedef struct Settings Settings;
  41. #endif /* __cplusplus */
  42. #endif /* __Settings_FWD_DEFINED__ */
  43. #ifndef __EKU_FWD_DEFINED__
  44. #define __EKU_FWD_DEFINED__
  45. #ifdef __cplusplus
  46. typedef class EKU EKU;
  47. #else
  48. typedef struct EKU EKU;
  49. #endif /* __cplusplus */
  50. #endif /* __EKU_FWD_DEFINED__ */
  51. #ifndef __EKUs_FWD_DEFINED__
  52. #define __EKUs_FWD_DEFINED__
  53. #ifdef __cplusplus
  54. typedef class EKUs EKUs;
  55. #else
  56. typedef struct EKUs EKUs;
  57. #endif /* __cplusplus */
  58. #endif /* __EKUs_FWD_DEFINED__ */
  59. #ifndef __KeyUsage_FWD_DEFINED__
  60. #define __KeyUsage_FWD_DEFINED__
  61. #ifdef __cplusplus
  62. typedef class KeyUsage KeyUsage;
  63. #else
  64. typedef struct KeyUsage KeyUsage;
  65. #endif /* __cplusplus */
  66. #endif /* __KeyUsage_FWD_DEFINED__ */
  67. #ifndef __ExtendedKeyUsage_FWD_DEFINED__
  68. #define __ExtendedKeyUsage_FWD_DEFINED__
  69. #ifdef __cplusplus
  70. typedef class ExtendedKeyUsage ExtendedKeyUsage;
  71. #else
  72. typedef struct ExtendedKeyUsage ExtendedKeyUsage;
  73. #endif /* __cplusplus */
  74. #endif /* __ExtendedKeyUsage_FWD_DEFINED__ */
  75. #ifndef __BasicConstraints_FWD_DEFINED__
  76. #define __BasicConstraints_FWD_DEFINED__
  77. #ifdef __cplusplus
  78. typedef class BasicConstraints BasicConstraints;
  79. #else
  80. typedef struct BasicConstraints BasicConstraints;
  81. #endif /* __cplusplus */
  82. #endif /* __BasicConstraints_FWD_DEFINED__ */
  83. #ifndef __CertificateStatus_FWD_DEFINED__
  84. #define __CertificateStatus_FWD_DEFINED__
  85. #ifdef __cplusplus
  86. typedef class CertificateStatus CertificateStatus;
  87. #else
  88. typedef struct CertificateStatus CertificateStatus;
  89. #endif /* __cplusplus */
  90. #endif /* __CertificateStatus_FWD_DEFINED__ */
  91. #ifndef __Certificate_FWD_DEFINED__
  92. #define __Certificate_FWD_DEFINED__
  93. #ifdef __cplusplus
  94. typedef class Certificate Certificate;
  95. #else
  96. typedef struct Certificate Certificate;
  97. #endif /* __cplusplus */
  98. #endif /* __Certificate_FWD_DEFINED__ */
  99. #ifndef __Certificates_FWD_DEFINED__
  100. #define __Certificates_FWD_DEFINED__
  101. #ifdef __cplusplus
  102. typedef class Certificates Certificates;
  103. #else
  104. typedef struct Certificates Certificates;
  105. #endif /* __cplusplus */
  106. #endif /* __Certificates_FWD_DEFINED__ */
  107. #ifndef __Chain_FWD_DEFINED__
  108. #define __Chain_FWD_DEFINED__
  109. #ifdef __cplusplus
  110. typedef class Chain Chain;
  111. #else
  112. typedef struct Chain Chain;
  113. #endif /* __cplusplus */
  114. #endif /* __Chain_FWD_DEFINED__ */
  115. #ifndef __Store_FWD_DEFINED__
  116. #define __Store_FWD_DEFINED__
  117. #ifdef __cplusplus
  118. typedef class Store Store;
  119. #else
  120. typedef struct Store Store;
  121. #endif /* __cplusplus */
  122. #endif /* __Store_FWD_DEFINED__ */
  123. #ifndef __Attribute_FWD_DEFINED__
  124. #define __Attribute_FWD_DEFINED__
  125. #ifdef __cplusplus
  126. typedef class Attribute Attribute;
  127. #else
  128. typedef struct Attribute Attribute;
  129. #endif /* __cplusplus */
  130. #endif /* __Attribute_FWD_DEFINED__ */
  131. #ifndef __Attributes_FWD_DEFINED__
  132. #define __Attributes_FWD_DEFINED__
  133. #ifdef __cplusplus
  134. typedef class Attributes Attributes;
  135. #else
  136. typedef struct Attributes Attributes;
  137. #endif /* __cplusplus */
  138. #endif /* __Attributes_FWD_DEFINED__ */
  139. #ifndef __Signer_FWD_DEFINED__
  140. #define __Signer_FWD_DEFINED__
  141. #ifdef __cplusplus
  142. typedef class Signer Signer;
  143. #else
  144. typedef struct Signer Signer;
  145. #endif /* __cplusplus */
  146. #endif /* __Signer_FWD_DEFINED__ */
  147. #ifndef __Signers_FWD_DEFINED__
  148. #define __Signers_FWD_DEFINED__
  149. #ifdef __cplusplus
  150. typedef class Signers Signers;
  151. #else
  152. typedef struct Signers Signers;
  153. #endif /* __cplusplus */
  154. #endif /* __Signers_FWD_DEFINED__ */
  155. #ifndef __SignedData_FWD_DEFINED__
  156. #define __SignedData_FWD_DEFINED__
  157. #ifdef __cplusplus
  158. typedef class SignedData SignedData;
  159. #else
  160. typedef struct SignedData SignedData;
  161. #endif /* __cplusplus */
  162. #endif /* __SignedData_FWD_DEFINED__ */
  163. #ifndef __Algorithm_FWD_DEFINED__
  164. #define __Algorithm_FWD_DEFINED__
  165. #ifdef __cplusplus
  166. typedef class Algorithm Algorithm;
  167. #else
  168. typedef struct Algorithm Algorithm;
  169. #endif /* __cplusplus */
  170. #endif /* __Algorithm_FWD_DEFINED__ */
  171. #ifndef __Recipients_FWD_DEFINED__
  172. #define __Recipients_FWD_DEFINED__
  173. #ifdef __cplusplus
  174. typedef class Recipients Recipients;
  175. #else
  176. typedef struct Recipients Recipients;
  177. #endif /* __cplusplus */
  178. #endif /* __Recipients_FWD_DEFINED__ */
  179. #ifndef __EnvelopedData_FWD_DEFINED__
  180. #define __EnvelopedData_FWD_DEFINED__
  181. #ifdef __cplusplus
  182. typedef class EnvelopedData EnvelopedData;
  183. #else
  184. typedef struct EnvelopedData EnvelopedData;
  185. #endif /* __cplusplus */
  186. #endif /* __EnvelopedData_FWD_DEFINED__ */
  187. #ifndef __EncryptedData_FWD_DEFINED__
  188. #define __EncryptedData_FWD_DEFINED__
  189. #ifdef __cplusplus
  190. typedef class EncryptedData EncryptedData;
  191. #else
  192. typedef struct EncryptedData EncryptedData;
  193. #endif /* __cplusplus */
  194. #endif /* __EncryptedData_FWD_DEFINED__ */
  195. #ifndef __OID_FWD_DEFINED__
  196. #define __OID_FWD_DEFINED__
  197. #ifdef __cplusplus
  198. typedef class OID OID;
  199. #else
  200. typedef struct OID OID;
  201. #endif /* __cplusplus */
  202. #endif /* __OID_FWD_DEFINED__ */
  203. #ifndef __OIDs_FWD_DEFINED__
  204. #define __OIDs_FWD_DEFINED__
  205. #ifdef __cplusplus
  206. typedef class OIDs OIDs;
  207. #else
  208. typedef struct OIDs OIDs;
  209. #endif /* __cplusplus */
  210. #endif /* __OIDs_FWD_DEFINED__ */
  211. #ifndef __NoticeNumbers_FWD_DEFINED__
  212. #define __NoticeNumbers_FWD_DEFINED__
  213. #ifdef __cplusplus
  214. typedef class NoticeNumbers NoticeNumbers;
  215. #else
  216. typedef struct NoticeNumbers NoticeNumbers;
  217. #endif /* __cplusplus */
  218. #endif /* __NoticeNumbers_FWD_DEFINED__ */
  219. #ifndef __Qualifier_FWD_DEFINED__
  220. #define __Qualifier_FWD_DEFINED__
  221. #ifdef __cplusplus
  222. typedef class Qualifier Qualifier;
  223. #else
  224. typedef struct Qualifier Qualifier;
  225. #endif /* __cplusplus */
  226. #endif /* __Qualifier_FWD_DEFINED__ */
  227. #ifndef __Qualifiers_FWD_DEFINED__
  228. #define __Qualifiers_FWD_DEFINED__
  229. #ifdef __cplusplus
  230. typedef class Qualifiers Qualifiers;
  231. #else
  232. typedef struct Qualifiers Qualifiers;
  233. #endif /* __cplusplus */
  234. #endif /* __Qualifiers_FWD_DEFINED__ */
  235. #ifndef __PolicyInformation_FWD_DEFINED__
  236. #define __PolicyInformation_FWD_DEFINED__
  237. #ifdef __cplusplus
  238. typedef class PolicyInformation PolicyInformation;
  239. #else
  240. typedef struct PolicyInformation PolicyInformation;
  241. #endif /* __cplusplus */
  242. #endif /* __PolicyInformation_FWD_DEFINED__ */
  243. #ifndef __CertificatePolicies_FWD_DEFINED__
  244. #define __CertificatePolicies_FWD_DEFINED__
  245. #ifdef __cplusplus
  246. typedef class CertificatePolicies CertificatePolicies;
  247. #else
  248. typedef struct CertificatePolicies CertificatePolicies;
  249. #endif /* __cplusplus */
  250. #endif /* __CertificatePolicies_FWD_DEFINED__ */
  251. #ifndef __EncodedData_FWD_DEFINED__
  252. #define __EncodedData_FWD_DEFINED__
  253. #ifdef __cplusplus
  254. typedef class EncodedData EncodedData;
  255. #else
  256. typedef struct EncodedData EncodedData;
  257. #endif /* __cplusplus */
  258. #endif /* __EncodedData_FWD_DEFINED__ */
  259. #ifndef __Extension_FWD_DEFINED__
  260. #define __Extension_FWD_DEFINED__
  261. #ifdef __cplusplus
  262. typedef class Extension Extension;
  263. #else
  264. typedef struct Extension Extension;
  265. #endif /* __cplusplus */
  266. #endif /* __Extension_FWD_DEFINED__ */
  267. #ifndef __Extensions_FWD_DEFINED__
  268. #define __Extensions_FWD_DEFINED__
  269. #ifdef __cplusplus
  270. typedef class Extensions Extensions;
  271. #else
  272. typedef struct Extensions Extensions;
  273. #endif /* __cplusplus */
  274. #endif /* __Extensions_FWD_DEFINED__ */
  275. #ifndef __ExtendedProperty_FWD_DEFINED__
  276. #define __ExtendedProperty_FWD_DEFINED__
  277. #ifdef __cplusplus
  278. typedef class ExtendedProperty ExtendedProperty;
  279. #else
  280. typedef struct ExtendedProperty ExtendedProperty;
  281. #endif /* __cplusplus */
  282. #endif /* __ExtendedProperty_FWD_DEFINED__ */
  283. #ifndef __ExtendedProperties_FWD_DEFINED__
  284. #define __ExtendedProperties_FWD_DEFINED__
  285. #ifdef __cplusplus
  286. typedef class ExtendedProperties ExtendedProperties;
  287. #else
  288. typedef struct ExtendedProperties ExtendedProperties;
  289. #endif /* __cplusplus */
  290. #endif /* __ExtendedProperties_FWD_DEFINED__ */
  291. #ifndef __Template_FWD_DEFINED__
  292. #define __Template_FWD_DEFINED__
  293. #ifdef __cplusplus
  294. typedef class Template Template;
  295. #else
  296. typedef struct Template Template;
  297. #endif /* __cplusplus */
  298. #endif /* __Template_FWD_DEFINED__ */
  299. #ifndef __PublicKey_FWD_DEFINED__
  300. #define __PublicKey_FWD_DEFINED__
  301. #ifdef __cplusplus
  302. typedef class PublicKey PublicKey;
  303. #else
  304. typedef struct PublicKey PublicKey;
  305. #endif /* __cplusplus */
  306. #endif /* __PublicKey_FWD_DEFINED__ */
  307. #ifndef __PrivateKey_FWD_DEFINED__
  308. #define __PrivateKey_FWD_DEFINED__
  309. #ifdef __cplusplus
  310. typedef class PrivateKey PrivateKey;
  311. #else
  312. typedef struct PrivateKey PrivateKey;
  313. #endif /* __cplusplus */
  314. #endif /* __PrivateKey_FWD_DEFINED__ */
  315. #ifndef __SignedCode_FWD_DEFINED__
  316. #define __SignedCode_FWD_DEFINED__
  317. #ifdef __cplusplus
  318. typedef class SignedCode SignedCode;
  319. #else
  320. typedef struct SignedCode SignedCode;
  321. #endif /* __cplusplus */
  322. #endif /* __SignedCode_FWD_DEFINED__ */
  323. #ifndef __HashedData_FWD_DEFINED__
  324. #define __HashedData_FWD_DEFINED__
  325. #ifdef __cplusplus
  326. typedef class HashedData HashedData;
  327. #else
  328. typedef struct HashedData HashedData;
  329. #endif /* __cplusplus */
  330. #endif /* __HashedData_FWD_DEFINED__ */
  331. #ifndef __Utilities_FWD_DEFINED__
  332. #define __Utilities_FWD_DEFINED__
  333. #ifdef __cplusplus
  334. typedef class Utilities Utilities;
  335. #else
  336. typedef struct Utilities Utilities;
  337. #endif /* __cplusplus */
  338. #endif /* __Utilities_FWD_DEFINED__ */
  339. #ifndef __ISettings_FWD_DEFINED__
  340. #define __ISettings_FWD_DEFINED__
  341. typedef interface ISettings ISettings;
  342. #endif /* __ISettings_FWD_DEFINED__ */
  343. #ifndef __IEKU_FWD_DEFINED__
  344. #define __IEKU_FWD_DEFINED__
  345. typedef interface IEKU IEKU;
  346. #endif /* __IEKU_FWD_DEFINED__ */
  347. #ifndef __IEKUs_FWD_DEFINED__
  348. #define __IEKUs_FWD_DEFINED__
  349. typedef interface IEKUs IEKUs;
  350. #endif /* __IEKUs_FWD_DEFINED__ */
  351. #ifndef __IKeyUsage_FWD_DEFINED__
  352. #define __IKeyUsage_FWD_DEFINED__
  353. typedef interface IKeyUsage IKeyUsage;
  354. #endif /* __IKeyUsage_FWD_DEFINED__ */
  355. #ifndef __IExtendedKeyUsage_FWD_DEFINED__
  356. #define __IExtendedKeyUsage_FWD_DEFINED__
  357. typedef interface IExtendedKeyUsage IExtendedKeyUsage;
  358. #endif /* __IExtendedKeyUsage_FWD_DEFINED__ */
  359. #ifndef __IBasicConstraints_FWD_DEFINED__
  360. #define __IBasicConstraints_FWD_DEFINED__
  361. typedef interface IBasicConstraints IBasicConstraints;
  362. #endif /* __IBasicConstraints_FWD_DEFINED__ */
  363. #ifndef __ICertificateStatus_FWD_DEFINED__
  364. #define __ICertificateStatus_FWD_DEFINED__
  365. typedef interface ICertificateStatus ICertificateStatus;
  366. #endif /* __ICertificateStatus_FWD_DEFINED__ */
  367. #ifndef __ICertificate_FWD_DEFINED__
  368. #define __ICertificate_FWD_DEFINED__
  369. typedef interface ICertificate ICertificate;
  370. #endif /* __ICertificate_FWD_DEFINED__ */
  371. #ifndef __ICertificates_FWD_DEFINED__
  372. #define __ICertificates_FWD_DEFINED__
  373. typedef interface ICertificates ICertificates;
  374. #endif /* __ICertificates_FWD_DEFINED__ */
  375. #ifndef __IChain_FWD_DEFINED__
  376. #define __IChain_FWD_DEFINED__
  377. typedef interface IChain IChain;
  378. #endif /* __IChain_FWD_DEFINED__ */
  379. #ifndef __IStore_FWD_DEFINED__
  380. #define __IStore_FWD_DEFINED__
  381. typedef interface IStore IStore;
  382. #endif /* __IStore_FWD_DEFINED__ */
  383. #ifndef __IAttribute_FWD_DEFINED__
  384. #define __IAttribute_FWD_DEFINED__
  385. typedef interface IAttribute IAttribute;
  386. #endif /* __IAttribute_FWD_DEFINED__ */
  387. #ifndef __IAttributes_FWD_DEFINED__
  388. #define __IAttributes_FWD_DEFINED__
  389. typedef interface IAttributes IAttributes;
  390. #endif /* __IAttributes_FWD_DEFINED__ */
  391. #ifndef __ISigner_FWD_DEFINED__
  392. #define __ISigner_FWD_DEFINED__
  393. typedef interface ISigner ISigner;
  394. #endif /* __ISigner_FWD_DEFINED__ */
  395. #ifndef __ISigners_FWD_DEFINED__
  396. #define __ISigners_FWD_DEFINED__
  397. typedef interface ISigners ISigners;
  398. #endif /* __ISigners_FWD_DEFINED__ */
  399. #ifndef __ISignedData_FWD_DEFINED__
  400. #define __ISignedData_FWD_DEFINED__
  401. typedef interface ISignedData ISignedData;
  402. #endif /* __ISignedData_FWD_DEFINED__ */
  403. #ifndef __IAlgorithm_FWD_DEFINED__
  404. #define __IAlgorithm_FWD_DEFINED__
  405. typedef interface IAlgorithm IAlgorithm;
  406. #endif /* __IAlgorithm_FWD_DEFINED__ */
  407. #ifndef __IRecipients_FWD_DEFINED__
  408. #define __IRecipients_FWD_DEFINED__
  409. typedef interface IRecipients IRecipients;
  410. #endif /* __IRecipients_FWD_DEFINED__ */
  411. #ifndef __IEnvelopedData_FWD_DEFINED__
  412. #define __IEnvelopedData_FWD_DEFINED__
  413. typedef interface IEnvelopedData IEnvelopedData;
  414. #endif /* __IEnvelopedData_FWD_DEFINED__ */
  415. #ifndef __IEncryptedData_FWD_DEFINED__
  416. #define __IEncryptedData_FWD_DEFINED__
  417. typedef interface IEncryptedData IEncryptedData;
  418. #endif /* __IEncryptedData_FWD_DEFINED__ */
  419. #ifndef __IOID_FWD_DEFINED__
  420. #define __IOID_FWD_DEFINED__
  421. typedef interface IOID IOID;
  422. #endif /* __IOID_FWD_DEFINED__ */
  423. #ifndef __IOIDs_FWD_DEFINED__
  424. #define __IOIDs_FWD_DEFINED__
  425. typedef interface IOIDs IOIDs;
  426. #endif /* __IOIDs_FWD_DEFINED__ */
  427. #ifndef __INoticeNumbers_FWD_DEFINED__
  428. #define __INoticeNumbers_FWD_DEFINED__
  429. typedef interface INoticeNumbers INoticeNumbers;
  430. #endif /* __INoticeNumbers_FWD_DEFINED__ */
  431. #ifndef __IQualifier_FWD_DEFINED__
  432. #define __IQualifier_FWD_DEFINED__
  433. typedef interface IQualifier IQualifier;
  434. #endif /* __IQualifier_FWD_DEFINED__ */
  435. #ifndef __IQualifiers_FWD_DEFINED__
  436. #define __IQualifiers_FWD_DEFINED__
  437. typedef interface IQualifiers IQualifiers;
  438. #endif /* __IQualifiers_FWD_DEFINED__ */
  439. #ifndef __IPolicyInformation_FWD_DEFINED__
  440. #define __IPolicyInformation_FWD_DEFINED__
  441. typedef interface IPolicyInformation IPolicyInformation;
  442. #endif /* __IPolicyInformation_FWD_DEFINED__ */
  443. #ifndef __ICertificatePolicies_FWD_DEFINED__
  444. #define __ICertificatePolicies_FWD_DEFINED__
  445. typedef interface ICertificatePolicies ICertificatePolicies;
  446. #endif /* __ICertificatePolicies_FWD_DEFINED__ */
  447. #ifndef __IEncodedData_FWD_DEFINED__
  448. #define __IEncodedData_FWD_DEFINED__
  449. typedef interface IEncodedData IEncodedData;
  450. #endif /* __IEncodedData_FWD_DEFINED__ */
  451. #ifndef __IExtension_FWD_DEFINED__
  452. #define __IExtension_FWD_DEFINED__
  453. typedef interface IExtension IExtension;
  454. #endif /* __IExtension_FWD_DEFINED__ */
  455. #ifndef __IExtensions_FWD_DEFINED__
  456. #define __IExtensions_FWD_DEFINED__
  457. typedef interface IExtensions IExtensions;
  458. #endif /* __IExtensions_FWD_DEFINED__ */
  459. #ifndef __IExtendedProperty_FWD_DEFINED__
  460. #define __IExtendedProperty_FWD_DEFINED__
  461. typedef interface IExtendedProperty IExtendedProperty;
  462. #endif /* __IExtendedProperty_FWD_DEFINED__ */
  463. #ifndef __IExtendedProperties_FWD_DEFINED__
  464. #define __IExtendedProperties_FWD_DEFINED__
  465. typedef interface IExtendedProperties IExtendedProperties;
  466. #endif /* __IExtendedProperties_FWD_DEFINED__ */
  467. #ifndef __ITemplate_FWD_DEFINED__
  468. #define __ITemplate_FWD_DEFINED__
  469. typedef interface ITemplate ITemplate;
  470. #endif /* __ITemplate_FWD_DEFINED__ */
  471. #ifndef __IPublicKey_FWD_DEFINED__
  472. #define __IPublicKey_FWD_DEFINED__
  473. typedef interface IPublicKey IPublicKey;
  474. #endif /* __IPublicKey_FWD_DEFINED__ */
  475. #ifndef __IPrivateKey_FWD_DEFINED__
  476. #define __IPrivateKey_FWD_DEFINED__
  477. typedef interface IPrivateKey IPrivateKey;
  478. #endif /* __IPrivateKey_FWD_DEFINED__ */
  479. #ifndef __ICertificateStatus2_FWD_DEFINED__
  480. #define __ICertificateStatus2_FWD_DEFINED__
  481. typedef interface ICertificateStatus2 ICertificateStatus2;
  482. #endif /* __ICertificateStatus2_FWD_DEFINED__ */
  483. #ifndef __ICertificate2_FWD_DEFINED__
  484. #define __ICertificate2_FWD_DEFINED__
  485. typedef interface ICertificate2 ICertificate2;
  486. #endif /* __ICertificate2_FWD_DEFINED__ */
  487. #ifndef __ICertificates2_FWD_DEFINED__
  488. #define __ICertificates2_FWD_DEFINED__
  489. typedef interface ICertificates2 ICertificates2;
  490. #endif /* __ICertificates2_FWD_DEFINED__ */
  491. #ifndef __IChain2_FWD_DEFINED__
  492. #define __IChain2_FWD_DEFINED__
  493. typedef interface IChain2 IChain2;
  494. #endif /* __IChain2_FWD_DEFINED__ */
  495. #ifndef __IStore2_FWD_DEFINED__
  496. #define __IStore2_FWD_DEFINED__
  497. typedef interface IStore2 IStore2;
  498. #endif /* __IStore2_FWD_DEFINED__ */
  499. #ifndef __ISigner2_FWD_DEFINED__
  500. #define __ISigner2_FWD_DEFINED__
  501. typedef interface ISigner2 ISigner2;
  502. #endif /* __ISigner2_FWD_DEFINED__ */
  503. #ifndef __ISignedCode_FWD_DEFINED__
  504. #define __ISignedCode_FWD_DEFINED__
  505. typedef interface ISignedCode ISignedCode;
  506. #endif /* __ISignedCode_FWD_DEFINED__ */
  507. #ifndef __IHashedData_FWD_DEFINED__
  508. #define __IHashedData_FWD_DEFINED__
  509. typedef interface IHashedData IHashedData;
  510. #endif /* __IHashedData_FWD_DEFINED__ */
  511. #ifndef __IUtilities_FWD_DEFINED__
  512. #define __IUtilities_FWD_DEFINED__
  513. typedef interface IUtilities IUtilities;
  514. #endif /* __IUtilities_FWD_DEFINED__ */
  515. #ifndef __ICertContext_FWD_DEFINED__
  516. #define __ICertContext_FWD_DEFINED__
  517. typedef interface ICertContext ICertContext;
  518. #endif /* __ICertContext_FWD_DEFINED__ */
  519. #ifndef __IChainContext_FWD_DEFINED__
  520. #define __IChainContext_FWD_DEFINED__
  521. typedef interface IChainContext IChainContext;
  522. #endif /* __IChainContext_FWD_DEFINED__ */
  523. #ifndef __ICertStore_FWD_DEFINED__
  524. #define __ICertStore_FWD_DEFINED__
  525. typedef interface ICertStore ICertStore;
  526. #endif /* __ICertStore_FWD_DEFINED__ */
  527. #ifndef __ICSigner_FWD_DEFINED__
  528. #define __ICSigner_FWD_DEFINED__
  529. typedef interface ICSigner ICSigner;
  530. #endif /* __ICSigner_FWD_DEFINED__ */
  531. #ifndef __ICCertificates_FWD_DEFINED__
  532. #define __ICCertificates_FWD_DEFINED__
  533. typedef interface ICCertificates ICCertificates;
  534. #endif /* __ICCertificates_FWD_DEFINED__ */
  535. #ifndef __ICPrivateKey_FWD_DEFINED__
  536. #define __ICPrivateKey_FWD_DEFINED__
  537. typedef interface ICPrivateKey ICPrivateKey;
  538. #endif /* __ICPrivateKey_FWD_DEFINED__ */
  539. /* header files for imported files */
  540. #include "oaidl.h"
  541. #include "ocidl.h"
  542. #include "wincrypt.h"
  543. #ifdef __cplusplus
  544. extern "C"{
  545. #endif
  546. void * __RPC_USER MIDL_user_allocate(size_t);
  547. void __RPC_USER MIDL_user_free( void * );
  548. #ifndef __CAPICOM_LIBRARY_DEFINED__
  549. #define __CAPICOM_LIBRARY_DEFINED__
  550. /* library CAPICOM */
  551. /* [helpstring][version][uuid] */
  552. typedef
  553. enum CAPICOM_ERROR_CODE
  554. { CAPICOM_E_ENCODE_INVALID_TYPE = 0x80880100,
  555. CAPICOM_E_EKU_INVALID_OID = 0x80880200,
  556. CAPICOM_E_EKU_OID_NOT_INITIALIZED = 0x80880201,
  557. CAPICOM_E_CERTIFICATE_NOT_INITIALIZED = 0x80880210,
  558. CAPICOM_E_CERTIFICATE_NO_PRIVATE_KEY = 0x80880211,
  559. CAPICOM_E_CHAIN_NOT_BUILT = 0x80880220,
  560. CAPICOM_E_STORE_NOT_OPENED = 0x80880230,
  561. CAPICOM_E_STORE_EMPTY = 0x80880231,
  562. CAPICOM_E_STORE_INVALID_OPEN_MODE = 0x80880232,
  563. CAPICOM_E_STORE_INVALID_SAVE_AS_TYPE = 0x80880233,
  564. CAPICOM_E_ATTRIBUTE_NAME_NOT_INITIALIZED = 0x80880240,
  565. CAPICOM_E_ATTRIBUTE_VALUE_NOT_INITIALIZED = 0x80880241,
  566. CAPICOM_E_ATTRIBUTE_INVALID_NAME = 0x80880242,
  567. CAPICOM_E_ATTRIBUTE_INVALID_VALUE = 0x80880243,
  568. CAPICOM_E_SIGNER_NOT_INITIALIZED = 0x80880250,
  569. CAPICOM_E_SIGNER_NOT_FOUND = 0x80880251,
  570. CAPICOM_E_SIGNER_NO_CHAIN = 0x80880252,
  571. CAPICOM_E_SIGNER_INVALID_USAGE = 0x80880253,
  572. CAPICOM_E_SIGN_NOT_INITIALIZED = 0x80880260,
  573. CAPICOM_E_SIGN_INVALID_TYPE = 0x80880261,
  574. CAPICOM_E_SIGN_NOT_SIGNED = 0x80880262,
  575. CAPICOM_E_INVALID_ALGORITHM = 0x80880270,
  576. CAPICOM_E_INVALID_KEY_LENGTH = 0x80880271,
  577. CAPICOM_E_ENVELOP_NOT_INITIALIZED = 0x80880280,
  578. CAPICOM_E_ENVELOP_INVALID_TYPE = 0x80880281,
  579. CAPICOM_E_ENVELOP_NO_RECIPIENT = 0x80880282,
  580. CAPICOM_E_ENVELOP_RECIPIENT_NOT_FOUND = 0x80880283,
  581. CAPICOM_E_ENCRYPT_NOT_INITIALIZED = 0x80880290,
  582. CAPICOM_E_ENCRYPT_INVALID_TYPE = 0x80880291,
  583. CAPICOM_E_ENCRYPT_NO_SECRET = 0x80880292,
  584. CAPICOM_E_NOT_SUPPORTED = 0x80880900,
  585. CAPICOM_E_UI_DISABLED = 0x80880901,
  586. CAPICOM_E_CANCELLED = 0x80880902,
  587. CAPICOM_E_NOT_ALLOWED = 0x80880903,
  588. CAPICOM_E_OUT_OF_RESOURCE = 0x80880904,
  589. CAPICOM_E_INTERNAL = 0x80880911,
  590. CAPICOM_E_UNKNOWN = 0x80880999,
  591. CAPICOM_E_PRIVATE_KEY_NOT_INITIALIZED = 0x80880300,
  592. CAPICOM_E_PRIVATE_KEY_NOT_EXPORTABLE = 0x80880301,
  593. CAPICOM_E_ENCODE_NOT_INITIALIZED = 0x80880320,
  594. CAPICOM_E_EXTENSION_NOT_INITIALIZED = 0x80880330,
  595. CAPICOM_E_PROPERTY_NOT_INITIALIZED = 0x80880340,
  596. CAPICOM_E_FIND_INVALID_TYPE = 0x80880350,
  597. CAPICOM_E_FIND_INVALID_PREDEFINED_POLICY = 0x80880351,
  598. CAPICOM_E_CODE_NOT_INITIALIZED = 0x80880360,
  599. CAPICOM_E_CODE_NOT_SIGNED = 0x80880361,
  600. CAPICOM_E_CODE_DESCRIPTION_NOT_INITIALIZED = 0x80880362,
  601. CAPICOM_E_CODE_DESCRIPTION_URL_NOT_INITIALIZED = 0x80880363,
  602. CAPICOM_E_CODE_INVALID_TIMESTAMP_URL = 0x80880364,
  603. CAPICOM_E_HASH_NO_DATA = 0x80880370,
  604. CAPICOM_E_INVALID_CONVERT_TYPE = 0x80880380
  605. } CAPICOM_ERROR_CODE;
  606. typedef
  607. enum CAPICOM_ENCODING_TYPE
  608. { CAPICOM_ENCODE_BASE64 = 0,
  609. CAPICOM_ENCODE_BINARY = 1,
  610. CAPICOM_ENCODE_ANY = 0xffffffff
  611. } CAPICOM_ENCODING_TYPE;
  612. typedef
  613. enum CAPICOM_EKU
  614. { CAPICOM_EKU_OTHER = 0,
  615. CAPICOM_EKU_SERVER_AUTH = 1,
  616. CAPICOM_EKU_CLIENT_AUTH = 2,
  617. CAPICOM_EKU_CODE_SIGNING = 3,
  618. CAPICOM_EKU_EMAIL_PROTECTION = 4,
  619. CAPICOM_EKU_SMARTCARD_LOGON = 5,
  620. CAPICOM_EKU_ENCRYPTING_FILE_SYSTEM = 6
  621. } CAPICOM_EKU;
  622. typedef
  623. enum CAPICOM_CHECK_FLAG
  624. { CAPICOM_CHECK_NONE = 0,
  625. CAPICOM_CHECK_TRUSTED_ROOT = 0x1,
  626. CAPICOM_CHECK_TIME_VALIDITY = 0x2,
  627. CAPICOM_CHECK_SIGNATURE_VALIDITY = 0x4,
  628. CAPICOM_CHECK_ONLINE_REVOCATION_STATUS = 0x8,
  629. CAPICOM_CHECK_OFFLINE_REVOCATION_STATUS = 0x10,
  630. CAPICOM_CHECK_COMPLETE_CHAIN = 0x20,
  631. CAPICOM_CHECK_NAME_CONSTRAINTS = 0x40,
  632. CAPICOM_CHECK_BASIC_CONSTRAINTS = 0x80,
  633. CAPICOM_CHECK_NESTED_VALIDITY_PERIOD = 0x100,
  634. CAPICOM_CHECK_ONLINE_ALL = 0x1ef,
  635. CAPICOM_CHECK_OFFLINE_ALL = 0x1f7
  636. } CAPICOM_CHECK_FLAG;
  637. #define CAPICOM_CHECK_FLAG_LO_MASK 0x0000ffff
  638. #define CAPICOM_CHECK_FLAG_HI_MASK 0xffff0000
  639. #define CAPICOM_CHECK_APPLICATION_USAGE 0x00010000
  640. #define CAPICOM_CHECK_CERTIFICATE_POLICY 0x00020000
  641. #define CAPICOM_CHECK_REVOCATION_END_CERT_ONLY 0x00040000
  642. #define CAPICOM_CHECK_REVOCATION_ENTIRE_CHAIN 0x00080000
  643. typedef
  644. enum CAPICOM_CERT_INFO_TYPE
  645. { CAPICOM_CERT_INFO_SUBJECT_SIMPLE_NAME = 0,
  646. CAPICOM_CERT_INFO_ISSUER_SIMPLE_NAME = 1,
  647. CAPICOM_CERT_INFO_SUBJECT_EMAIL_NAME = 2,
  648. CAPICOM_CERT_INFO_ISSUER_EMAIL_NAME = 3,
  649. CAPICOM_CERT_INFO_SUBJECT_UPN = 4,
  650. CAPICOM_CERT_INFO_ISSUER_UPN = 5,
  651. CAPICOM_CERT_INFO_SUBJECT_DNS_NAME = 6,
  652. CAPICOM_CERT_INFO_ISSUER_DNS_NAME = 7
  653. } CAPICOM_CERT_INFO_TYPE;
  654. typedef
  655. enum CAPICOM_STORE_LOCATION
  656. { CAPICOM_MEMORY_STORE = 0,
  657. CAPICOM_LOCAL_MACHINE_STORE = 1,
  658. CAPICOM_CURRENT_USER_STORE = 2,
  659. CAPICOM_ACTIVE_DIRECTORY_USER_STORE = 3,
  660. CAPICOM_SMART_CARD_USER_STORE = 4
  661. } CAPICOM_STORE_LOCATION;
  662. typedef
  663. enum CAPICOM_STORE_OPEN_MODE
  664. { CAPICOM_STORE_OPEN_READ_ONLY = 0,
  665. CAPICOM_STORE_OPEN_READ_WRITE = 1,
  666. CAPICOM_STORE_OPEN_MAXIMUM_ALLOWED = 2,
  667. CAPICOM_STORE_OPEN_EXISTING_ONLY = 128,
  668. CAPICOM_STORE_OPEN_INCLUDE_ARCHIVED = 256
  669. } CAPICOM_STORE_OPEN_MODE;
  670. typedef
  671. enum CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION
  672. { CAPICOM_SEARCH_ANY = 0,
  673. CAPICOM_SEARCH_GLOBAL_CATALOG = 1,
  674. CAPICOM_SEARCH_DEFAULT_DOMAIN = 2
  675. } CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION;
  676. typedef
  677. enum CAPICOM_STORE_SAVE_AS_TYPE
  678. { CAPICOM_STORE_SAVE_AS_SERIALIZED = 0,
  679. CAPICOM_STORE_SAVE_AS_PKCS7 = 1
  680. } CAPICOM_STORE_SAVE_AS_TYPE;
  681. typedef
  682. enum CAPICOM_ATTRIBUTE
  683. { CAPICOM_AUTHENTICATED_ATTRIBUTE_SIGNING_TIME = 0,
  684. CAPICOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_NAME = 1,
  685. CAPICOM_AUTHENTICATED_ATTRIBUTE_DOCUMENT_DESCRIPTION = 2
  686. } CAPICOM_ATTRIBUTE;
  687. typedef
  688. enum CAPICOM_SIGNED_DATA_VERIFY_FLAG
  689. { CAPICOM_VERIFY_SIGNATURE_ONLY = 0,
  690. CAPICOM_VERIFY_SIGNATURE_AND_CERTIFICATE = 1
  691. } CAPICOM_SIGNED_DATA_VERIFY_FLAG;
  692. typedef
  693. enum CAPICOM_ENCRYPTION_ALGORITHM
  694. { CAPICOM_ENCRYPTION_ALGORITHM_RC2 = 0,
  695. CAPICOM_ENCRYPTION_ALGORITHM_RC4 = 1,
  696. CAPICOM_ENCRYPTION_ALGORITHM_DES = 2,
  697. CAPICOM_ENCRYPTION_ALGORITHM_3DES = 3,
  698. CAPICOM_ENCRYPTION_ALGORITHM_AES = 4
  699. } CAPICOM_ENCRYPTION_ALGORITHM;
  700. typedef
  701. enum CAPICOM_ENCRYPTION_KEY_LENGTH
  702. { CAPICOM_ENCRYPTION_KEY_LENGTH_MAXIMUM = 0,
  703. CAPICOM_ENCRYPTION_KEY_LENGTH_40_BITS = 1,
  704. CAPICOM_ENCRYPTION_KEY_LENGTH_56_BITS = 2,
  705. CAPICOM_ENCRYPTION_KEY_LENGTH_128_BITS = 3,
  706. CAPICOM_ENCRYPTION_KEY_LENGTH_192_BITS = 4,
  707. CAPICOM_ENCRYPTION_KEY_LENGTH_256_BITS = 5
  708. } CAPICOM_ENCRYPTION_KEY_LENGTH;
  709. typedef
  710. enum CAPICOM_SECRET_TYPE
  711. { CAPICOM_SECRET_PASSWORD = 0
  712. } CAPICOM_SECRET_TYPE;
  713. typedef
  714. enum CAPICOM_KEY_ALGORITHM
  715. { CAPICOM_KEY_ALGORITHM_OTHER = 0,
  716. CAPICOM_KEY_ALGORITHM_RSA = 1,
  717. CAPICOM_KEY_ALGORITHM_DSS = 2
  718. } CAPICOM_KEY_ALGORITHM;
  719. typedef
  720. enum CAPICOM_OID
  721. { CAPICOM_OID_OTHER = 0,
  722. CAPICOM_OID_AUTHORITY_KEY_IDENTIFIER_EXTENSION = 1,
  723. CAPICOM_OID_KEY_ATTRIBUTES_EXTENSION = 2,
  724. CAPICOM_OID_CERT_POLICIES_95_EXTENSION = 3,
  725. CAPICOM_OID_KEY_USAGE_RESTRICTION_EXTENSION = 4,
  726. CAPICOM_OID_LEGACY_POLICY_MAPPINGS_EXTENSION = 5,
  727. CAPICOM_OID_SUBJECT_ALT_NAME_EXTENSION = 6,
  728. CAPICOM_OID_ISSUER_ALT_NAME_EXTENSION = 7,
  729. CAPICOM_OID_BASIC_CONSTRAINTS_EXTENSION = 8,
  730. CAPICOM_OID_SUBJECT_KEY_IDENTIFIER_EXTENSION = 9,
  731. CAPICOM_OID_KEY_USAGE_EXTENSION = 10,
  732. CAPICOM_OID_PRIVATEKEY_USAGE_PERIOD_EXTENSION = 11,
  733. CAPICOM_OID_SUBJECT_ALT_NAME2_EXTENSION = 12,
  734. CAPICOM_OID_ISSUER_ALT_NAME2_EXTENSION = 13,
  735. CAPICOM_OID_BASIC_CONSTRAINTS2_EXTENSION = 14,
  736. CAPICOM_OID_NAME_CONSTRAINTS_EXTENSION = 15,
  737. CAPICOM_OID_CRL_DIST_POINTS_EXTENSION = 16,
  738. CAPICOM_OID_CERT_POLICIES_EXTENSION = 17,
  739. CAPICOM_OID_POLICY_MAPPINGS_EXTENSION = 18,
  740. CAPICOM_OID_AUTHORITY_KEY_IDENTIFIER2_EXTENSION = 19,
  741. CAPICOM_OID_POLICY_CONSTRAINTS_EXTENSION = 20,
  742. CAPICOM_OID_ENHANCED_KEY_USAGE_EXTENSION = 21,
  743. CAPICOM_OID_CERTIFICATE_TEMPLATE_EXTENSION = 22,
  744. CAPICOM_OID_APPLICATION_CERT_POLICIES_EXTENSION = 23,
  745. CAPICOM_OID_APPLICATION_POLICY_MAPPINGS_EXTENSION = 24,
  746. CAPICOM_OID_APPLICATION_POLICY_CONSTRAINTS_EXTENSION = 25,
  747. CAPICOM_OID_AUTHORITY_INFO_ACCESS_EXTENSION = 26,
  748. CAPICOM_OID_SERVER_AUTH_EKU = 100,
  749. CAPICOM_OID_CLIENT_AUTH_EKU = 101,
  750. CAPICOM_OID_CODE_SIGNING_EKU = 102,
  751. CAPICOM_OID_EMAIL_PROTECTION_EKU = 103,
  752. CAPICOM_OID_IPSEC_END_SYSTEM_EKU = 104,
  753. CAPICOM_OID_IPSEC_TUNNEL_EKU = 105,
  754. CAPICOM_OID_IPSEC_USER_EKU = 106,
  755. CAPICOM_OID_TIME_STAMPING_EKU = 107,
  756. CAPICOM_OID_CTL_USAGE_SIGNING_EKU = 108,
  757. CAPICOM_OID_TIME_STAMP_SIGNING_EKU = 109,
  758. CAPICOM_OID_SERVER_GATED_CRYPTO_EKU = 110,
  759. CAPICOM_OID_ENCRYPTING_FILE_SYSTEM_EKU = 111,
  760. CAPICOM_OID_EFS_RECOVERY_EKU = 112,
  761. CAPICOM_OID_WHQL_CRYPTO_EKU = 113,
  762. CAPICOM_OID_NT5_CRYPTO_EKU = 114,
  763. CAPICOM_OID_OEM_WHQL_CRYPTO_EKU = 115,
  764. CAPICOM_OID_EMBEDED_NT_CRYPTO_EKU = 116,
  765. CAPICOM_OID_ROOT_LIST_SIGNER_EKU = 117,
  766. CAPICOM_OID_QUALIFIED_SUBORDINATION_EKU = 118,
  767. CAPICOM_OID_KEY_RECOVERY_EKU = 119,
  768. CAPICOM_OID_DIGITAL_RIGHTS_EKU = 120,
  769. CAPICOM_OID_LICENSES_EKU = 121,
  770. CAPICOM_OID_LICENSE_SERVER_EKU = 122,
  771. CAPICOM_OID_SMART_CARD_LOGON_EKU = 123,
  772. CAPICOM_OID_PKIX_POLICY_QUALIFIER_CPS = 124,
  773. CAPICOM_OID_PKIX_POLICY_QUALIFIER_USERNOTICE = 125
  774. } CAPICOM_OID;
  775. typedef
  776. enum CAPICOM_PROPID
  777. { CAPICOM_PROPID_UNKNOWN = 0,
  778. CAPICOM_PROPID_KEY_PROV_HANDLE = 1,
  779. CAPICOM_PROPID_KEY_PROV_INFO = 2,
  780. CAPICOM_PROPID_SHA1_HASH = 3,
  781. CAPICOM_PROPID_HASH_PROP = 3,
  782. CAPICOM_PROPID_MD5_HASH = 4,
  783. CAPICOM_PROPID_KEY_CONTEXT = 5,
  784. CAPICOM_PROPID_KEY_SPEC = 6,
  785. CAPICOM_PROPID_IE30_RESERVED = 7,
  786. CAPICOM_PROPID_PUBKEY_HASH_RESERVED = 8,
  787. CAPICOM_PROPID_ENHKEY_USAGE = 9,
  788. CAPICOM_PROPID_CTL_USAGE = 9,
  789. CAPICOM_PROPID_NEXT_UPDATE_LOCATION = 10,
  790. CAPICOM_PROPID_FRIENDLY_NAME = 11,
  791. CAPICOM_PROPID_PVK_FILE = 12,
  792. CAPICOM_PROPID_DESCRIPTION = 13,
  793. CAPICOM_PROPID_ACCESS_STATE = 14,
  794. CAPICOM_PROPID_SIGNATURE_HASH = 15,
  795. CAPICOM_PROPID_SMART_CARD_DATA = 16,
  796. CAPICOM_PROPID_EFS = 17,
  797. CAPICOM_PROPID_FORTEZZA_DATA = 18,
  798. CAPICOM_PROPID_ARCHIVED = 19,
  799. CAPICOM_PROPID_KEY_IDENTIFIER = 20,
  800. CAPICOM_PROPID_AUTO_ENROLL = 21,
  801. CAPICOM_PROPID_PUBKEY_ALG_PARA = 22,
  802. CAPICOM_PROPID_CROSS_CERT_DIST_POINTS = 23,
  803. CAPICOM_PROPID_ISSUER_PUBLIC_KEY_MD5_HASH = 24,
  804. CAPICOM_PROPID_SUBJECT_PUBLIC_KEY_MD5_HASH = 25,
  805. CAPICOM_PROPID_ENROLLMENT = 26,
  806. CAPICOM_PROPID_DATE_STAMP = 27,
  807. CAPICOM_PROPID_ISSUER_SERIAL_NUMBER_MD5_HASH = 28,
  808. CAPICOM_PROPID_SUBJECT_NAME_MD5_HASH = 29,
  809. CAPICOM_PROPID_EXTENDED_ERROR_INFO = 30,
  810. CAPICOM_PROPID_RENEWAL = 64,
  811. CAPICOM_PROPID_ARCHIVED_KEY_HASH = 65,
  812. CAPICOM_PROPID_FIRST_RESERVED = 66,
  813. CAPICOM_PROPID_LAST_RESERVED = 0x7fff,
  814. CAPICOM_PROPID_FIRST_USER = 0x8000,
  815. CAPICOM_PROPID_LAST_USER = 0xffff
  816. } CAPICOM_PROPID;
  817. typedef
  818. enum CAPICOM_PROV_TYPE
  819. { CAPICOM_PROV_RSA_FULL = 1,
  820. CAPICOM_PROV_RSA_SIG = 2,
  821. CAPICOM_PROV_DSS = 3,
  822. CAPICOM_PROV_FORTEZZA = 4,
  823. CAPICOM_PROV_MS_EXCHANGE = 5,
  824. CAPICOM_PROV_SSL = 6,
  825. CAPICOM_PROV_RSA_SCHANNEL = 12,
  826. CAPICOM_PROV_DSS_DH = 13,
  827. CAPICOM_PROV_EC_ECDSA_SIG = 14,
  828. CAPICOM_PROV_EC_ECNRA_SIG = 15,
  829. CAPICOM_PROV_EC_ECDSA_FULL = 16,
  830. CAPICOM_PROV_EC_ECNRA_FULL = 17,
  831. CAPICOM_PROV_DH_SCHANNEL = 18,
  832. CAPICOM_PROV_SPYRUS_LYNKS = 20,
  833. CAPICOM_PROV_RNG = 21,
  834. CAPICOM_PROV_INTEL_SEC = 22,
  835. CAPICOM_PROV_REPLACE_OWF = 23,
  836. CAPICOM_PROV_RSA_AES = 24
  837. } CAPICOM_PROV_TYPE;
  838. typedef
  839. enum CAPICOM_CERTIFICATE_SAVE_AS_TYPE
  840. { CAPICOM_CERTIFICATE_SAVE_AS_PFX = 0,
  841. CAPICOM_CERTIFICATE_SAVE_AS_CER = 1
  842. } CAPICOM_CERTIFICATE_SAVE_AS_TYPE;
  843. typedef
  844. enum CAPICOM_CERTIFICATES_SAVE_AS_TYPE
  845. { CAPICOM_CERTIFICATES_SAVE_AS_SERIALIZED = 0,
  846. CAPICOM_CERTIFICATES_SAVE_AS_PKCS7 = 1,
  847. CAPICOM_CERTIFICATES_SAVE_AS_PFX = 2
  848. } CAPICOM_CERTIFICATES_SAVE_AS_TYPE;
  849. typedef
  850. enum CAPICOM_CERTIFICATE_INCLUDE_OPTION
  851. { CAPICOM_CERTIFICATE_INCLUDE_CHAIN_EXCEPT_ROOT = 0,
  852. CAPICOM_CERTIFICATE_INCLUDE_WHOLE_CHAIN = 1,
  853. CAPICOM_CERTIFICATE_INCLUDE_END_ENTITY_ONLY = 2
  854. } CAPICOM_CERTIFICATE_INCLUDE_OPTION;
  855. typedef
  856. enum CAPICOM_KEY_SPEC
  857. { CAPICOM_KEY_SPEC_KEYEXCHANGE = 1,
  858. CAPICOM_KEY_SPEC_SIGNATURE = 2
  859. } CAPICOM_KEY_SPEC;
  860. typedef
  861. enum CAPICOM_KEY_LOCATION
  862. { CAPICOM_CURRENT_USER_KEY = 0,
  863. CAPICOM_LOCAL_MACHINE_KEY = 1
  864. } CAPICOM_KEY_LOCATION;
  865. typedef
  866. enum CAPICOM_KEY_STORAGE_FLAG
  867. { CAPICOM_KEY_STORAGE_DEFAULT = 0,
  868. CAPICOM_KEY_STORAGE_EXPORTABLE = 1,
  869. CAPICOM_KEY_STORAGE_USER_PROTECTED = 2
  870. } CAPICOM_KEY_STORAGE_FLAG;
  871. typedef
  872. enum CAPICOM_EXPORT_FLAG
  873. { CAPICOM_EXPORT_DEFAULT = 0,
  874. CAPICOM_EXPORT_IGNORE_PRIVATE_KEY_NOT_EXPORTABLE_ERROR = 1
  875. } CAPICOM_EXPORT_FLAG;
  876. typedef
  877. enum CAPICOM_KEY_USAGE
  878. { CAPICOM_DIGITAL_SIGNATURE_KEY_USAGE = 0x80,
  879. CAPICOM_NON_REPUDIATION_KEY_USAGE = 0x40,
  880. CAPICOM_KEY_ENCIPHERMENT_KEY_USAGE = 0x20,
  881. CAPICOM_DATA_ENCIPHERMENT_KEY_USAGE = 0x10,
  882. CAPICOM_KEY_AGREEMENT_KEY_USAGE = 0x8,
  883. CAPICOM_KEY_CERT_SIGN_KEY_USAGE = 0x4,
  884. CAPICOM_OFFLINE_CRL_SIGN_KEY_USAGE = 0x2,
  885. CAPICOM_CRL_SIGN_KEY_USAGE = 0x2,
  886. CAPICOM_ENCIPHER_ONLY_KEY_USAGE = 0x1,
  887. CAPICOM_DECIPHER_ONLY_KEY_USAGE = 0x8000
  888. } CAPICOM_KEY_USAGE;
  889. typedef
  890. enum CAPICOM_CERTIFICATE_FIND_TYPE
  891. { CAPICOM_CERTIFICATE_FIND_SHA1_HASH = 0,
  892. CAPICOM_CERTIFICATE_FIND_SUBJECT_NAME = 1,
  893. CAPICOM_CERTIFICATE_FIND_ISSUER_NAME = 2,
  894. CAPICOM_CERTIFICATE_FIND_ROOT_NAME = 3,
  895. CAPICOM_CERTIFICATE_FIND_TEMPLATE_NAME = 4,
  896. CAPICOM_CERTIFICATE_FIND_EXTENSION = 5,
  897. CAPICOM_CERTIFICATE_FIND_EXTENDED_PROPERTY = 6,
  898. CAPICOM_CERTIFICATE_FIND_APPLICATION_POLICY = 7,
  899. CAPICOM_CERTIFICATE_FIND_CERTIFICATE_POLICY = 8,
  900. CAPICOM_CERTIFICATE_FIND_TIME_VALID = 9,
  901. CAPICOM_CERTIFICATE_FIND_TIME_NOT_YET_VALID = 10,
  902. CAPICOM_CERTIFICATE_FIND_TIME_EXPIRED = 11,
  903. CAPICOM_CERTIFICATE_FIND_KEY_USAGE = 12
  904. } CAPICOM_CERTIFICATE_FIND_TYPE;
  905. typedef
  906. enum CAPICOM_HASH_ALGORITHM
  907. { CAPICOM_HASH_ALGORITHM_SHA1 = 0,
  908. CAPICOM_HASH_ALGORITHM_MD2 = 1,
  909. CAPICOM_HASH_ALGORITHM_MD4 = 2,
  910. CAPICOM_HASH_ALGORITHM_MD5 = 3
  911. } CAPICOM_HASH_ALGORITHM;
  912. EXTERN_C const IID LIBID_CAPICOM;
  913. #ifndef __Constants_MODULE_DEFINED__
  914. #define __Constants_MODULE_DEFINED__
  915. /* module Constants */
  916. /* [dllname] */
  917. const long CAPICOM_MAJOR_VERSION = 2;
  918. const long CAPICOM_MINOR_VERSION = 0;
  919. const LPSTR CAPICOM_VERSION_INFO = "CAPICOM v2.0";
  920. const LPSTR CAPICOM_COPY_RIGHT = "Copyright (c) Microsoft Corporation 1999-2002. All rights reserved.";
  921. const LPSTR CAPICOM_MY_STORE = "My";
  922. const LPSTR CAPICOM_CA_STORE = "Ca";
  923. const LPSTR CAPICOM_ROOT_STORE = "Root";
  924. const LPSTR CAPICOM_OTHER_STORE = "AddressBook";
  925. const LPSTR CAPICOM_OID_SERVER_AUTH = "1.3.6.1.5.5.7.3.1";
  926. const LPSTR CAPICOM_OID_CLIENT_AUTH = "1.3.6.1.5.5.7.3.2";
  927. const LPSTR CAPICOM_OID_CODE_SIGNING = "1.3.6.1.5.5.7.3.3";
  928. const LPSTR CAPICOM_OID_EMAIL_PROTECTION = "1.3.6.1.5.5.7.3.4";
  929. const LPSTR CAPICOM_OID_IPSEC_END_SYSTEM = "1.3.6.1.5.5.7.3.5";
  930. const LPSTR CAPICOM_OID_IPSEC_TUNNEL = "1.3.6.1.5.5.7.3.6";
  931. const LPSTR CAPICOM_OID_IPSEC_USER = "1.3.6.1.5.5.7.3.7";
  932. const LPSTR CAPICOM_OID_TIME_STAMPING = "1.3.6.1.5.5.7.3.8";
  933. const LPSTR CAPICOM_OID_CTL_USAGE_SIGNING = "1.3.6.1.4.1.311.10.3.1";
  934. const LPSTR CAPICOM_OID_TIME_STAMP_SIGNING = "1.3.6.1.4.1.311.10.3.2";
  935. const LPSTR CAPICOM_OID_SERVER_GATED_CRYPTO = "1.3.6.1.4.1.311.10.3.3";
  936. const LPSTR CAPICOM_OID_ENCRYPTING_FILE_SYSTEM = "1.3.6.1.4.1.311.10.3.4";
  937. const LPSTR CAPICOM_OID_EFS_RECOVERY = "1.3.6.1.4.1.311.10.3.4.1";
  938. const LPSTR CAPICOM_OID_WHQL_CRYPTO = "1.3.6.1.4.1.311.10.3.5";
  939. const LPSTR CAPICOM_OID_NT5_CRYPTO = "1.3.6.1.4.1.311.10.3.6";
  940. const LPSTR CAPICOM_OID_OEM_WHQL_CRYPTO = "1.3.6.1.4.1.311.10.3.7";
  941. const LPSTR CAPICOM_OID_EMBEDED_NT_CRYPTO = "1.3.6.1.4.1.311.10.3.8";
  942. const LPSTR CAPICOM_OID_ROOT_LIST_SIGNER = "1.3.6.1.4.1.311.10.3.9";
  943. const LPSTR CAPICOM_OID_QUALIFIED_SUBORDINATION = "1.3.6.1.4.1.311.10.3.10";
  944. const LPSTR CAPICOM_OID_KEY_RECOVERY = "1.3.6.1.4.1.311.10.3.11";
  945. const LPSTR CAPICOM_OID_DIGITAL_RIGHTS = "1.3.6.1.4.1.311.10.5.1";
  946. const LPSTR CAPICOM_OID_LICENSES = "1.3.6.1.4.1.311.10.6.1";
  947. const LPSTR CAPICOM_OID_LICENSE_SERVER = "1.3.6.1.4.1.311.10.6.2";
  948. const LPSTR CAPICOM_OID_SMART_CARD_LOGON = "1.3.6.1.4.1.311.20.2.2";
  949. const LPSTR CAPICOM_SERVER_AUTH_OID = "1.3.6.1.5.5.7.3.1";
  950. const LPSTR CAPICOM_CLIENT_AUTH_OID = "1.3.6.1.5.5.7.3.2";
  951. const LPSTR CAPICOM_CODE_SIGNING_OID = "1.3.6.1.5.5.7.3.3";
  952. const LPSTR CAPICOM_EMAIL_PROTECTION_OID = "1.3.6.1.5.5.7.3.4";
  953. const LPSTR CAPICOM_IPSEC_END_SYSTEM_OID = "1.3.6.1.5.5.7.3.5";
  954. const LPSTR CAPICOM_IPSEC_TUNNEL_OID = "1.3.6.1.5.5.7.3.6";
  955. const LPSTR CAPICOM_IPSEC_USER_OID = "1.3.6.1.5.5.7.3.7";
  956. const LPSTR CAPICOM_TIME_STAMPING_OID = "1.3.6.1.5.5.7.3.8";
  957. const LPSTR CAPICOM_CTL_USAGE_SIGNING_OID = "1.3.6.1.4.1.311.10.3.1";
  958. const LPSTR CAPICOM_TIME_STAMP_SIGNING_OID = "1.3.6.1.4.1.311.10.3.2";
  959. const LPSTR CAPICOM_SERVER_GATED_CRYPTO_OID = "1.3.6.1.4.1.311.10.3.3";
  960. const LPSTR CAPICOM_ENCRYPTING_FILE_SYSTEM_OID = "1.3.6.1.4.1.311.10.3.4";
  961. const LPSTR CAPICOM_EFS_RECOVERY_OID = "1.3.6.1.4.1.311.10.3.4.1";
  962. const LPSTR CAPICOM_WHQL_CRYPTO_OID = "1.3.6.1.4.1.311.10.3.5";
  963. const LPSTR CAPICOM_NT5_CRYPTO_OID = "1.3.6.1.4.1.311.10.3.6";
  964. const LPSTR CAPICOM_OEM_WHQL_CRYPTO_OID = "1.3.6.1.4.1.311.10.3.7";
  965. const LPSTR CAPICOM_EMBEDED_NT_CRYPTO_OID = "1.3.6.1.4.1.311.10.3.8";
  966. const LPSTR CAPICOM_ROOT_LIST_SIGNER_OID = "1.3.6.1.4.1.311.10.3.9";
  967. const LPSTR CAPICOM_QUALIFIED_SUBORDINATION_OID = "1.3.6.1.4.1.311.10.3.10";
  968. const LPSTR CAPICOM_KEY_RECOVERY_OID = "1.3.6.1.4.1.311.10.3.11";
  969. const LPSTR CAPICOM_DIGITAL_RIGHTS_OID = "1.3.6.1.4.1.311.10.5.1";
  970. const LPSTR CAPICOM_LICENSES_OID = "1.3.6.1.4.1.311.10.6.1";
  971. const LPSTR CAPICOM_LICENSE_SERVER_OID = "1.3.6.1.4.1.311.10.6.2";
  972. const LPSTR CAPICOM_SMART_CARD_LOGON_OID = "1.3.6.1.4.1.311.20.2.2";
  973. const LPSTR CAPICOM_ANY_APPLICATION_POLICY_OID = "1.3.6.1.4.1.311.10.12.1";
  974. const LPSTR CAPICOM_ANY_CERT_POLICY_OID = "2.5.29.32.0";
  975. const LPSTR CAPICOM_AUTHORITY_KEY_IDENTIFIER_OID = "2.5.29.1";
  976. const LPSTR CAPICOM_KEY_ATTRIBUTES_OID = "2.5.29.2";
  977. const LPSTR CAPICOM_CERT_POLICIES_95_OID = "2.5.29.3";
  978. const LPSTR CAPICOM_KEY_USAGE_RESTRICTION_OID = "2.5.29.4";
  979. const LPSTR CAPICOM_LEGACY_POLICY_MAPPINGS_OID = "2.5.29.5";
  980. const LPSTR CAPICOM_SUBJECT_ALT_NAME_OID = "2.5.29.7";
  981. const LPSTR CAPICOM_ISSUER_ALT_NAME_OID = "2.5.29.8";
  982. const LPSTR CAPICOM_BASIC_CONSTRAINTS_OID = "2.5.29.10";
  983. const LPSTR CAPICOM_SUBJECT_KEY_IDENTIFIER_OID = "2.5.29.14";
  984. const LPSTR CAPICOM_KEY_USAGE_OID = "2.5.29.15";
  985. const LPSTR CAPICOM_PRIVATEKEY_USAGE_PERIOD_OID = "2.5.29.16";
  986. const LPSTR CAPICOM_SUBJECT_ALT_NAME2_OID = "2.5.29.17";
  987. const LPSTR CAPICOM_ISSUER_ALT_NAME2_OID = "2.5.29.18";
  988. const LPSTR CAPICOM_BASIC_CONSTRAINTS2_OID = "2.5.29.19";
  989. const LPSTR CAPICOM_NAME_CONSTRAINTS_OID = "2.5.29.30";
  990. const LPSTR CAPICOM_CRL_DIST_POINTS_OID = "2.5.29.31";
  991. const LPSTR CAPICOM_CERT_POLICIES_OID = "2.5.29.32";
  992. const LPSTR CAPICOM_POLICY_MAPPINGS_OID = "2.5.29.33";
  993. const LPSTR CAPICOM_AUTHORITY_KEY_IDENTIFIER2_OID = "2.5.29.35";
  994. const LPSTR CAPICOM_POLICY_CONSTRAINTS_OID = "2.5.29.36";
  995. const LPSTR CAPICOM_ENHANCED_KEY_USAGE_OID = "2.5.29.37";
  996. const LPSTR CAPICOM_CERTIFICATE_TEMPLATE_OID = "1.3.6.1.4.1.311.21.7";
  997. const LPSTR CAPICOM_APPLICATION_CERT_POLICIES_OID = "1.3.6.1.4.1.311.21.10";
  998. const LPSTR CAPICOM_APPLICATION_POLICY_MAPPINGS_OID = "1.3.6.1.4.1.311.21.11";
  999. const LPSTR CAPICOM_APPLICATION_POLICY_CONSTRAINTS_OID = "1.3.6.1.4.1.311.21.12";
  1000. const LPSTR CAPICOM_AUTHORITY_INFO_ACCESS_OID = "1.3.6.1.5.5.7.1.1";
  1001. const LPSTR CAPICOM_PKIX_POLICY_QUALIFIER_CPS_OID = "1.3.6.1.5.5.7.2.1";
  1002. const LPSTR CAPICOM_PKIX_POLICY_QUALIFIER_USERNOTICE_OID = "1.3.6.1.5.5.7.2.2";
  1003. const long CAPICOM_TRUST_IS_NOT_TIME_VALID = 0x1;
  1004. const long CAPICOM_TRUST_IS_NOT_TIME_NESTED = 0x2;
  1005. const long CAPICOM_TRUST_IS_REVOKED = 0x4;
  1006. const long CAPICOM_TRUST_IS_NOT_SIGNATURE_VALID = 0x8;
  1007. const long CAPICOM_TRUST_IS_NOT_VALID_FOR_USAGE = 0x10;
  1008. const long CAPICOM_TRUST_IS_UNTRUSTED_ROOT = 0x20;
  1009. const long CAPICOM_TRUST_REVOCATION_STATUS_UNKNOWN = 0x40;
  1010. const long CAPICOM_TRUST_IS_CYCLIC = 0x80;
  1011. const long CAPICOM_TRUST_INVALID_EXTENSION = 0x100;
  1012. const long CAPICOM_TRUST_INVALID_POLICY_CONSTRAINTS = 0x200;
  1013. const long CAPICOM_TRUST_INVALID_BASIC_CONSTRAINTS = 0x400;
  1014. const long CAPICOM_TRUST_INVALID_NAME_CONSTRAINTS = 0x800;
  1015. const long CAPICOM_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT = 0x1000;
  1016. const long CAPICOM_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT = 0x2000;
  1017. const long CAPICOM_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT = 0x4000;
  1018. const long CAPICOM_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT = 0x8000;
  1019. const long CAPICOM_TRUST_IS_OFFLINE_REVOCATION = 0x1000000;
  1020. const long CAPICOM_TRUST_NO_ISSUANCE_CHAIN_POLICY = 0x2000000;
  1021. const long CAPICOM_TRUST_IS_PARTIAL_CHAIN = 0x10000;
  1022. const long CAPICOM_TRUST_CTL_IS_NOT_TIME_VALID = 0x20000;
  1023. const long CAPICOM_TRUST_CTL_IS_NOT_SIGNATURE_VALID = 0x40000;
  1024. const long CAPICOM_TRUST_CTL_IS_NOT_VALID_FOR_USAGE = 0x80000;
  1025. const LPSTR CAPICOM_PROV_MS_DEF_PROV = "Microsoft Base Cryptographic Provider v1.0";
  1026. const LPSTR CAPICOM_PROV_MS_ENHANCED_PROV = "Microsoft Enhanced Cryptographic Provider v1.0";
  1027. const LPSTR CAPICOM_PROV_MS_STRONG_PROV = "Microsoft Strong Cryptographic Provider";
  1028. const LPSTR CAPICOM_PROV_MS_DEF_RSA_SIG_PROV = "Microsoft RSA Signature Cryptographic Provider";
  1029. const LPSTR CAPICOM_PROV_MS_DEF_RSA_SCHANNEL_PROV = "Microsoft RSA SChannel Cryptographic Provider";
  1030. const LPSTR CAPICOM_PROV_MS_DEF_DSS_PROV = "Microsoft Base DSS Cryptographic Provider";
  1031. const LPSTR CAPICOM_PROV_MS_DEF_DSS_DH_PROV = "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider";
  1032. const LPSTR CAPICOM_PROV_MS_ENH_DSS_DH_PROV = "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider";
  1033. const LPSTR CAPICOM_PROV_MS_DEF_DH_SCHANNEL_PROV = "Microsoft DH SChannel Cryptographic Provider";
  1034. const LPSTR CAPICOM_PROV_MS_SCARD_PROV = "Microsoft Base Smart Card Crypto Provider";
  1035. const LPSTR CAPICOM_PROV_MS_ENH_RSA_AES_PROV = "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)";
  1036. #endif /* __Constants_MODULE_DEFINED__ */
  1037. EXTERN_C const CLSID CLSID_Settings;
  1038. #ifdef __cplusplus
  1039. class DECLSPEC_UUID("A996E48C-D3DC-4244-89F7-AFA33EC60679")
  1040. Settings;
  1041. #endif
  1042. EXTERN_C const CLSID CLSID_EKU;
  1043. #ifdef __cplusplus
  1044. class DECLSPEC_UUID("8535F9A1-738A-40D0-8FB1-10CC8F74E7D3")
  1045. EKU;
  1046. #endif
  1047. EXTERN_C const CLSID CLSID_EKUs;
  1048. #ifdef __cplusplus
  1049. class DECLSPEC_UUID("F1800663-5BFC-4D1A-8D44-56CE02DDA34F")
  1050. EKUs;
  1051. #endif
  1052. EXTERN_C const CLSID CLSID_KeyUsage;
  1053. #ifdef __cplusplus
  1054. class DECLSPEC_UUID("9226C95C-38BE-4CC4-B3A2-A867F5199C13")
  1055. KeyUsage;
  1056. #endif
  1057. EXTERN_C const CLSID CLSID_ExtendedKeyUsage;
  1058. #ifdef __cplusplus
  1059. class DECLSPEC_UUID("42C18607-1B4B-4126-8F1B-76E2DC7F631A")
  1060. ExtendedKeyUsage;
  1061. #endif
  1062. EXTERN_C const CLSID CLSID_BasicConstraints;
  1063. #ifdef __cplusplus
  1064. class DECLSPEC_UUID("C05AAC6E-3A58-45A9-A203-56952E961E48")
  1065. BasicConstraints;
  1066. #endif
  1067. EXTERN_C const CLSID CLSID_CertificateStatus;
  1068. #ifdef __cplusplus
  1069. class DECLSPEC_UUID("16951EE6-A455-47CA-A78B-F98DA566B604")
  1070. CertificateStatus;
  1071. #endif
  1072. EXTERN_C const CLSID CLSID_Certificate;
  1073. #ifdef __cplusplus
  1074. class DECLSPEC_UUID("E38FD381-6404-4041-B5E9-B2739258941F")
  1075. Certificate;
  1076. #endif
  1077. EXTERN_C const CLSID CLSID_Certificates;
  1078. #ifdef __cplusplus
  1079. class DECLSPEC_UUID("FBAB033B-CDD0-4C5E-81AB-AEA575CD1338")
  1080. Certificates;
  1081. #endif
  1082. EXTERN_C const CLSID CLSID_Chain;
  1083. #ifdef __cplusplus
  1084. class DECLSPEC_UUID("65104D73-BA60-4160-A95A-4B4782E7AA62")
  1085. Chain;
  1086. #endif
  1087. EXTERN_C const CLSID CLSID_Store;
  1088. #ifdef __cplusplus
  1089. class DECLSPEC_UUID("78E61E52-0E57-4456-A2F2-517492BCBF8F")
  1090. Store;
  1091. #endif
  1092. EXTERN_C const CLSID CLSID_Attribute;
  1093. #ifdef __cplusplus
  1094. class DECLSPEC_UUID("54BA1E8F-818D-407F-949D-BAE1692C5C18")
  1095. Attribute;
  1096. #endif
  1097. EXTERN_C const CLSID CLSID_Attributes;
  1098. #ifdef __cplusplus
  1099. class DECLSPEC_UUID("933013A9-64C8-4485-ACEF-4908C3692A33")
  1100. Attributes;
  1101. #endif
  1102. EXTERN_C const CLSID CLSID_Signer;
  1103. #ifdef __cplusplus
  1104. class DECLSPEC_UUID("60A9863A-11FD-4080-850E-A8E184FC3A3C")
  1105. Signer;
  1106. #endif
  1107. EXTERN_C const CLSID CLSID_Signers;
  1108. #ifdef __cplusplus
  1109. class DECLSPEC_UUID("1314C1D8-D3A8-4F8A-BED0-811FD7A8A633")
  1110. Signers;
  1111. #endif
  1112. EXTERN_C const CLSID CLSID_SignedData;
  1113. #ifdef __cplusplus
  1114. class DECLSPEC_UUID("94AFFFCC-6C05-4814-B123-A941105AA77F")
  1115. SignedData;
  1116. #endif
  1117. EXTERN_C const CLSID CLSID_Algorithm;
  1118. #ifdef __cplusplus
  1119. class DECLSPEC_UUID("A1EEF42F-5026-4A32-BC5C-2E552B70FD96")
  1120. Algorithm;
  1121. #endif
  1122. EXTERN_C const CLSID CLSID_Recipients;
  1123. #ifdef __cplusplus
  1124. class DECLSPEC_UUID("96A1B8B0-8F9A-436A-84DE-E23CD6818DA5")
  1125. Recipients;
  1126. #endif
  1127. EXTERN_C const CLSID CLSID_EnvelopedData;
  1128. #ifdef __cplusplus
  1129. class DECLSPEC_UUID("F3A12E08-EDE9-4160-8B51-334D982A9AD0")
  1130. EnvelopedData;
  1131. #endif
  1132. EXTERN_C const CLSID CLSID_EncryptedData;
  1133. #ifdef __cplusplus
  1134. class DECLSPEC_UUID("A440BD76-CFE1-4D46-AB1F-15F238437A3D")
  1135. EncryptedData;
  1136. #endif
  1137. EXTERN_C const CLSID CLSID_OID;
  1138. #ifdef __cplusplus
  1139. class DECLSPEC_UUID("7BF3AC5C-CC84-429A-ACA5-74D916AD6B8C")
  1140. OID;
  1141. #endif
  1142. EXTERN_C const CLSID CLSID_OIDs;
  1143. #ifdef __cplusplus
  1144. class DECLSPEC_UUID("FD661131-D716-4D15-A187-AEAAB161C8AD")
  1145. OIDs;
  1146. #endif
  1147. EXTERN_C const CLSID CLSID_NoticeNumbers;
  1148. #ifdef __cplusplus
  1149. class DECLSPEC_UUID("A6FDF22A-8E00-464B-B15D-1A891D88B6ED")
  1150. NoticeNumbers;
  1151. #endif
  1152. EXTERN_C const CLSID CLSID_Qualifier;
  1153. #ifdef __cplusplus
  1154. class DECLSPEC_UUID("E5F29B74-0902-4654-8A9A-21C5201DFA61")
  1155. Qualifier;
  1156. #endif
  1157. EXTERN_C const CLSID CLSID_Qualifiers;
  1158. #ifdef __cplusplus
  1159. class DECLSPEC_UUID("6C8006C0-F649-4783-B4A6-617DD0B270C7")
  1160. Qualifiers;
  1161. #endif
  1162. EXTERN_C const CLSID CLSID_PolicyInformation;
  1163. #ifdef __cplusplus
  1164. class DECLSPEC_UUID("0AAF88F4-1C22-4F65-A0E3-289D97DCE994")
  1165. PolicyInformation;
  1166. #endif
  1167. EXTERN_C const CLSID CLSID_CertificatePolicies;
  1168. #ifdef __cplusplus
  1169. class DECLSPEC_UUID("988583C2-00C7-4D22-9241-E810E35EED1B")
  1170. CertificatePolicies;
  1171. #endif
  1172. EXTERN_C const CLSID CLSID_EncodedData;
  1173. #ifdef __cplusplus
  1174. class DECLSPEC_UUID("7083C0AA-E7B9-48A4-8EFB-D6A109EBEC13")
  1175. EncodedData;
  1176. #endif
  1177. EXTERN_C const CLSID CLSID_Extension;
  1178. #ifdef __cplusplus
  1179. class DECLSPEC_UUID("D2359E2C-82D6-458F-BB6F-41559155E693")
  1180. Extension;
  1181. #endif
  1182. EXTERN_C const CLSID CLSID_Extensions;
  1183. #ifdef __cplusplus
  1184. class DECLSPEC_UUID("7C92E131-C1DC-4CA1-B02C-F513A08B41ED")
  1185. Extensions;
  1186. #endif
  1187. EXTERN_C const CLSID CLSID_ExtendedProperty;
  1188. #ifdef __cplusplus
  1189. class DECLSPEC_UUID("9E7EA907-5810-4FCA-B817-CD0BBA8496FC")
  1190. ExtendedProperty;
  1191. #endif
  1192. EXTERN_C const CLSID CLSID_ExtendedProperties;
  1193. #ifdef __cplusplus
  1194. class DECLSPEC_UUID("90E7143D-1A07-438D-8F85-3DBB0B73D314")
  1195. ExtendedProperties;
  1196. #endif
  1197. EXTERN_C const CLSID CLSID_Template;
  1198. #ifdef __cplusplus
  1199. class DECLSPEC_UUID("61F0D2BD-373E-4F3C-962E-59B7C42C1B22")
  1200. Template;
  1201. #endif
  1202. EXTERN_C const CLSID CLSID_PublicKey;
  1203. #ifdef __cplusplus
  1204. class DECLSPEC_UUID("301FC658-4055-4D76-9703-AA38E6D7236A")
  1205. PublicKey;
  1206. #endif
  1207. EXTERN_C const CLSID CLSID_PrivateKey;
  1208. #ifdef __cplusplus
  1209. class DECLSPEC_UUID("03ACC284-B757-4B8F-9951-86E600D2CD06")
  1210. PrivateKey;
  1211. #endif
  1212. EXTERN_C const CLSID CLSID_SignedCode;
  1213. #ifdef __cplusplus
  1214. class DECLSPEC_UUID("8C3E4934-9FA4-4693-9253-A29A05F99186")
  1215. SignedCode;
  1216. #endif
  1217. EXTERN_C const CLSID CLSID_HashedData;
  1218. #ifdef __cplusplus
  1219. class DECLSPEC_UUID("CE32ABF6-475D-41F6-BF82-D27F03E3D38B")
  1220. HashedData;
  1221. #endif
  1222. EXTERN_C const CLSID CLSID_Utilities;
  1223. #ifdef __cplusplus
  1224. class DECLSPEC_UUID("22A85CE1-F011-4231-B9E4-7E7A0438F71B")
  1225. Utilities;
  1226. #endif
  1227. #endif /* __CAPICOM_LIBRARY_DEFINED__ */
  1228. #ifndef __ISettings_INTERFACE_DEFINED__
  1229. #define __ISettings_INTERFACE_DEFINED__
  1230. /* interface ISettings */
  1231. /* [unique][helpstring][dual][uuid][object] */
  1232. EXTERN_C const IID IID_ISettings;
  1233. #if defined(__cplusplus) && !defined(CINTERFACE)
  1234. MIDL_INTERFACE("A24104F5-46D0-4C0F-926D-665565908E91")
  1235. ISettings : public IDispatch
  1236. {
  1237. public:
  1238. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnablePromptForCertificateUI(
  1239. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1240. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EnablePromptForCertificateUI(
  1241. /* [defaultvalue][in] */ VARIANT_BOOL newVal = 0) = 0;
  1242. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ActiveDirectorySearchLocation(
  1243. /* [retval][out] */ CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION *pVal) = 0;
  1244. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ActiveDirectorySearchLocation(
  1245. /* [defaultvalue][in] */ CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION newVal = CAPICOM_SEARCH_ANY) = 0;
  1246. };
  1247. #else /* C style interface */
  1248. typedef struct ISettingsVtbl
  1249. {
  1250. BEGIN_INTERFACE
  1251. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1252. ISettings * This,
  1253. /* [in] */ REFIID riid,
  1254. /* [iid_is][out] */ void **ppvObject);
  1255. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1256. ISettings * This);
  1257. ULONG ( STDMETHODCALLTYPE *Release )(
  1258. ISettings * This);
  1259. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1260. ISettings * This,
  1261. /* [out] */ UINT *pctinfo);
  1262. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1263. ISettings * This,
  1264. /* [in] */ UINT iTInfo,
  1265. /* [in] */ LCID lcid,
  1266. /* [out] */ ITypeInfo **ppTInfo);
  1267. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1268. ISettings * This,
  1269. /* [in] */ REFIID riid,
  1270. /* [size_is][in] */ LPOLESTR *rgszNames,
  1271. /* [in] */ UINT cNames,
  1272. /* [in] */ LCID lcid,
  1273. /* [size_is][out] */ DISPID *rgDispId);
  1274. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1275. ISettings * This,
  1276. /* [in] */ DISPID dispIdMember,
  1277. /* [in] */ REFIID riid,
  1278. /* [in] */ LCID lcid,
  1279. /* [in] */ WORD wFlags,
  1280. /* [out][in] */ DISPPARAMS *pDispParams,
  1281. /* [out] */ VARIANT *pVarResult,
  1282. /* [out] */ EXCEPINFO *pExcepInfo,
  1283. /* [out] */ UINT *puArgErr);
  1284. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnablePromptForCertificateUI )(
  1285. ISettings * This,
  1286. /* [retval][out] */ VARIANT_BOOL *pVal);
  1287. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EnablePromptForCertificateUI )(
  1288. ISettings * This,
  1289. /* [defaultvalue][in] */ VARIANT_BOOL newVal);
  1290. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActiveDirectorySearchLocation )(
  1291. ISettings * This,
  1292. /* [retval][out] */ CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION *pVal);
  1293. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ActiveDirectorySearchLocation )(
  1294. ISettings * This,
  1295. /* [defaultvalue][in] */ CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION newVal);
  1296. END_INTERFACE
  1297. } ISettingsVtbl;
  1298. interface ISettings
  1299. {
  1300. CONST_VTBL struct ISettingsVtbl *lpVtbl;
  1301. };
  1302. #ifdef COBJMACROS
  1303. #define ISettings_QueryInterface(This,riid,ppvObject) \
  1304. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1305. #define ISettings_AddRef(This) \
  1306. (This)->lpVtbl -> AddRef(This)
  1307. #define ISettings_Release(This) \
  1308. (This)->lpVtbl -> Release(This)
  1309. #define ISettings_GetTypeInfoCount(This,pctinfo) \
  1310. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1311. #define ISettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1312. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1313. #define ISettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1314. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1315. #define ISettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1316. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1317. #define ISettings_get_EnablePromptForCertificateUI(This,pVal) \
  1318. (This)->lpVtbl -> get_EnablePromptForCertificateUI(This,pVal)
  1319. #define ISettings_put_EnablePromptForCertificateUI(This,newVal) \
  1320. (This)->lpVtbl -> put_EnablePromptForCertificateUI(This,newVal)
  1321. #define ISettings_get_ActiveDirectorySearchLocation(This,pVal) \
  1322. (This)->lpVtbl -> get_ActiveDirectorySearchLocation(This,pVal)
  1323. #define ISettings_put_ActiveDirectorySearchLocation(This,newVal) \
  1324. (This)->lpVtbl -> put_ActiveDirectorySearchLocation(This,newVal)
  1325. #endif /* COBJMACROS */
  1326. #endif /* C style interface */
  1327. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISettings_get_EnablePromptForCertificateUI_Proxy(
  1328. ISettings * This,
  1329. /* [retval][out] */ VARIANT_BOOL *pVal);
  1330. void __RPC_STUB ISettings_get_EnablePromptForCertificateUI_Stub(
  1331. IRpcStubBuffer *This,
  1332. IRpcChannelBuffer *_pRpcChannelBuffer,
  1333. PRPC_MESSAGE _pRpcMessage,
  1334. DWORD *_pdwStubPhase);
  1335. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISettings_put_EnablePromptForCertificateUI_Proxy(
  1336. ISettings * This,
  1337. /* [defaultvalue][in] */ VARIANT_BOOL newVal);
  1338. void __RPC_STUB ISettings_put_EnablePromptForCertificateUI_Stub(
  1339. IRpcStubBuffer *This,
  1340. IRpcChannelBuffer *_pRpcChannelBuffer,
  1341. PRPC_MESSAGE _pRpcMessage,
  1342. DWORD *_pdwStubPhase);
  1343. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISettings_get_ActiveDirectorySearchLocation_Proxy(
  1344. ISettings * This,
  1345. /* [retval][out] */ CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION *pVal);
  1346. void __RPC_STUB ISettings_get_ActiveDirectorySearchLocation_Stub(
  1347. IRpcStubBuffer *This,
  1348. IRpcChannelBuffer *_pRpcChannelBuffer,
  1349. PRPC_MESSAGE _pRpcMessage,
  1350. DWORD *_pdwStubPhase);
  1351. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISettings_put_ActiveDirectorySearchLocation_Proxy(
  1352. ISettings * This,
  1353. /* [defaultvalue][in] */ CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION newVal);
  1354. void __RPC_STUB ISettings_put_ActiveDirectorySearchLocation_Stub(
  1355. IRpcStubBuffer *This,
  1356. IRpcChannelBuffer *_pRpcChannelBuffer,
  1357. PRPC_MESSAGE _pRpcMessage,
  1358. DWORD *_pdwStubPhase);
  1359. #endif /* __ISettings_INTERFACE_DEFINED__ */
  1360. #ifndef __IEKU_INTERFACE_DEFINED__
  1361. #define __IEKU_INTERFACE_DEFINED__
  1362. /* interface IEKU */
  1363. /* [unique][helpstring][dual][uuid][object] */
  1364. EXTERN_C const IID IID_IEKU;
  1365. #if defined(__cplusplus) && !defined(CINTERFACE)
  1366. MIDL_INTERFACE("976B7E6D-1002-4051-BFD4-824A74BD74E2")
  1367. IEKU : public IDispatch
  1368. {
  1369. public:
  1370. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1371. /* [retval][out] */ CAPICOM_EKU *pVal) = 0;
  1372. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  1373. /* [in] */ CAPICOM_EKU newVal) = 0;
  1374. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OID(
  1375. /* [retval][out] */ BSTR *pVal) = 0;
  1376. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OID(
  1377. /* [in] */ BSTR newVal) = 0;
  1378. };
  1379. #else /* C style interface */
  1380. typedef struct IEKUVtbl
  1381. {
  1382. BEGIN_INTERFACE
  1383. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1384. IEKU * This,
  1385. /* [in] */ REFIID riid,
  1386. /* [iid_is][out] */ void **ppvObject);
  1387. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1388. IEKU * This);
  1389. ULONG ( STDMETHODCALLTYPE *Release )(
  1390. IEKU * This);
  1391. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1392. IEKU * This,
  1393. /* [out] */ UINT *pctinfo);
  1394. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1395. IEKU * This,
  1396. /* [in] */ UINT iTInfo,
  1397. /* [in] */ LCID lcid,
  1398. /* [out] */ ITypeInfo **ppTInfo);
  1399. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1400. IEKU * This,
  1401. /* [in] */ REFIID riid,
  1402. /* [size_is][in] */ LPOLESTR *rgszNames,
  1403. /* [in] */ UINT cNames,
  1404. /* [in] */ LCID lcid,
  1405. /* [size_is][out] */ DISPID *rgDispId);
  1406. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1407. IEKU * This,
  1408. /* [in] */ DISPID dispIdMember,
  1409. /* [in] */ REFIID riid,
  1410. /* [in] */ LCID lcid,
  1411. /* [in] */ WORD wFlags,
  1412. /* [out][in] */ DISPPARAMS *pDispParams,
  1413. /* [out] */ VARIANT *pVarResult,
  1414. /* [out] */ EXCEPINFO *pExcepInfo,
  1415. /* [out] */ UINT *puArgErr);
  1416. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1417. IEKU * This,
  1418. /* [retval][out] */ CAPICOM_EKU *pVal);
  1419. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  1420. IEKU * This,
  1421. /* [in] */ CAPICOM_EKU newVal);
  1422. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OID )(
  1423. IEKU * This,
  1424. /* [retval][out] */ BSTR *pVal);
  1425. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OID )(
  1426. IEKU * This,
  1427. /* [in] */ BSTR newVal);
  1428. END_INTERFACE
  1429. } IEKUVtbl;
  1430. interface IEKU
  1431. {
  1432. CONST_VTBL struct IEKUVtbl *lpVtbl;
  1433. };
  1434. #ifdef COBJMACROS
  1435. #define IEKU_QueryInterface(This,riid,ppvObject) \
  1436. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1437. #define IEKU_AddRef(This) \
  1438. (This)->lpVtbl -> AddRef(This)
  1439. #define IEKU_Release(This) \
  1440. (This)->lpVtbl -> Release(This)
  1441. #define IEKU_GetTypeInfoCount(This,pctinfo) \
  1442. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1443. #define IEKU_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1444. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1445. #define IEKU_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1446. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1447. #define IEKU_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1448. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1449. #define IEKU_get_Name(This,pVal) \
  1450. (This)->lpVtbl -> get_Name(This,pVal)
  1451. #define IEKU_put_Name(This,newVal) \
  1452. (This)->lpVtbl -> put_Name(This,newVal)
  1453. #define IEKU_get_OID(This,pVal) \
  1454. (This)->lpVtbl -> get_OID(This,pVal)
  1455. #define IEKU_put_OID(This,newVal) \
  1456. (This)->lpVtbl -> put_OID(This,newVal)
  1457. #endif /* COBJMACROS */
  1458. #endif /* C style interface */
  1459. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEKU_get_Name_Proxy(
  1460. IEKU * This,
  1461. /* [retval][out] */ CAPICOM_EKU *pVal);
  1462. void __RPC_STUB IEKU_get_Name_Stub(
  1463. IRpcStubBuffer *This,
  1464. IRpcChannelBuffer *_pRpcChannelBuffer,
  1465. PRPC_MESSAGE _pRpcMessage,
  1466. DWORD *_pdwStubPhase);
  1467. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEKU_put_Name_Proxy(
  1468. IEKU * This,
  1469. /* [in] */ CAPICOM_EKU newVal);
  1470. void __RPC_STUB IEKU_put_Name_Stub(
  1471. IRpcStubBuffer *This,
  1472. IRpcChannelBuffer *_pRpcChannelBuffer,
  1473. PRPC_MESSAGE _pRpcMessage,
  1474. DWORD *_pdwStubPhase);
  1475. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEKU_get_OID_Proxy(
  1476. IEKU * This,
  1477. /* [retval][out] */ BSTR *pVal);
  1478. void __RPC_STUB IEKU_get_OID_Stub(
  1479. IRpcStubBuffer *This,
  1480. IRpcChannelBuffer *_pRpcChannelBuffer,
  1481. PRPC_MESSAGE _pRpcMessage,
  1482. DWORD *_pdwStubPhase);
  1483. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEKU_put_OID_Proxy(
  1484. IEKU * This,
  1485. /* [in] */ BSTR newVal);
  1486. void __RPC_STUB IEKU_put_OID_Stub(
  1487. IRpcStubBuffer *This,
  1488. IRpcChannelBuffer *_pRpcChannelBuffer,
  1489. PRPC_MESSAGE _pRpcMessage,
  1490. DWORD *_pdwStubPhase);
  1491. #endif /* __IEKU_INTERFACE_DEFINED__ */
  1492. #ifndef __IEKUs_INTERFACE_DEFINED__
  1493. #define __IEKUs_INTERFACE_DEFINED__
  1494. /* interface IEKUs */
  1495. /* [unique][helpstring][dual][uuid][object] */
  1496. EXTERN_C const IID IID_IEKUs;
  1497. #if defined(__cplusplus) && !defined(CINTERFACE)
  1498. MIDL_INTERFACE("47C87CEC-8C4B-4E3C-8D22-34280274EFD1")
  1499. IEKUs : public IDispatch
  1500. {
  1501. public:
  1502. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  1503. /* [in] */ long Index,
  1504. /* [retval][out] */ VARIANT *pVal) = 0;
  1505. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  1506. /* [retval][out] */ long *pVal) = 0;
  1507. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1508. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  1509. };
  1510. #else /* C style interface */
  1511. typedef struct IEKUsVtbl
  1512. {
  1513. BEGIN_INTERFACE
  1514. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1515. IEKUs * This,
  1516. /* [in] */ REFIID riid,
  1517. /* [iid_is][out] */ void **ppvObject);
  1518. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1519. IEKUs * This);
  1520. ULONG ( STDMETHODCALLTYPE *Release )(
  1521. IEKUs * This);
  1522. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1523. IEKUs * This,
  1524. /* [out] */ UINT *pctinfo);
  1525. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1526. IEKUs * This,
  1527. /* [in] */ UINT iTInfo,
  1528. /* [in] */ LCID lcid,
  1529. /* [out] */ ITypeInfo **ppTInfo);
  1530. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1531. IEKUs * This,
  1532. /* [in] */ REFIID riid,
  1533. /* [size_is][in] */ LPOLESTR *rgszNames,
  1534. /* [in] */ UINT cNames,
  1535. /* [in] */ LCID lcid,
  1536. /* [size_is][out] */ DISPID *rgDispId);
  1537. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1538. IEKUs * This,
  1539. /* [in] */ DISPID dispIdMember,
  1540. /* [in] */ REFIID riid,
  1541. /* [in] */ LCID lcid,
  1542. /* [in] */ WORD wFlags,
  1543. /* [out][in] */ DISPPARAMS *pDispParams,
  1544. /* [out] */ VARIANT *pVarResult,
  1545. /* [out] */ EXCEPINFO *pExcepInfo,
  1546. /* [out] */ UINT *puArgErr);
  1547. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  1548. IEKUs * This,
  1549. /* [in] */ long Index,
  1550. /* [retval][out] */ VARIANT *pVal);
  1551. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  1552. IEKUs * This,
  1553. /* [retval][out] */ long *pVal);
  1554. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  1555. IEKUs * This,
  1556. /* [retval][out] */ LPUNKNOWN *pVal);
  1557. END_INTERFACE
  1558. } IEKUsVtbl;
  1559. interface IEKUs
  1560. {
  1561. CONST_VTBL struct IEKUsVtbl *lpVtbl;
  1562. };
  1563. #ifdef COBJMACROS
  1564. #define IEKUs_QueryInterface(This,riid,ppvObject) \
  1565. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1566. #define IEKUs_AddRef(This) \
  1567. (This)->lpVtbl -> AddRef(This)
  1568. #define IEKUs_Release(This) \
  1569. (This)->lpVtbl -> Release(This)
  1570. #define IEKUs_GetTypeInfoCount(This,pctinfo) \
  1571. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1572. #define IEKUs_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1573. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1574. #define IEKUs_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1575. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1576. #define IEKUs_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1577. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1578. #define IEKUs_get_Item(This,Index,pVal) \
  1579. (This)->lpVtbl -> get_Item(This,Index,pVal)
  1580. #define IEKUs_get_Count(This,pVal) \
  1581. (This)->lpVtbl -> get_Count(This,pVal)
  1582. #define IEKUs_get__NewEnum(This,pVal) \
  1583. (This)->lpVtbl -> get__NewEnum(This,pVal)
  1584. #endif /* COBJMACROS */
  1585. #endif /* C style interface */
  1586. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEKUs_get_Item_Proxy(
  1587. IEKUs * This,
  1588. /* [in] */ long Index,
  1589. /* [retval][out] */ VARIANT *pVal);
  1590. void __RPC_STUB IEKUs_get_Item_Stub(
  1591. IRpcStubBuffer *This,
  1592. IRpcChannelBuffer *_pRpcChannelBuffer,
  1593. PRPC_MESSAGE _pRpcMessage,
  1594. DWORD *_pdwStubPhase);
  1595. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEKUs_get_Count_Proxy(
  1596. IEKUs * This,
  1597. /* [retval][out] */ long *pVal);
  1598. void __RPC_STUB IEKUs_get_Count_Stub(
  1599. IRpcStubBuffer *This,
  1600. IRpcChannelBuffer *_pRpcChannelBuffer,
  1601. PRPC_MESSAGE _pRpcMessage,
  1602. DWORD *_pdwStubPhase);
  1603. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEKUs_get__NewEnum_Proxy(
  1604. IEKUs * This,
  1605. /* [retval][out] */ LPUNKNOWN *pVal);
  1606. void __RPC_STUB IEKUs_get__NewEnum_Stub(
  1607. IRpcStubBuffer *This,
  1608. IRpcChannelBuffer *_pRpcChannelBuffer,
  1609. PRPC_MESSAGE _pRpcMessage,
  1610. DWORD *_pdwStubPhase);
  1611. #endif /* __IEKUs_INTERFACE_DEFINED__ */
  1612. #ifndef __IKeyUsage_INTERFACE_DEFINED__
  1613. #define __IKeyUsage_INTERFACE_DEFINED__
  1614. /* interface IKeyUsage */
  1615. /* [unique][helpstring][dual][uuid][object] */
  1616. EXTERN_C const IID IID_IKeyUsage;
  1617. #if defined(__cplusplus) && !defined(CINTERFACE)
  1618. MIDL_INTERFACE("41DD35A8-9FF9-45A6-9A7C-F65B2F085D1F")
  1619. IKeyUsage : public IDispatch
  1620. {
  1621. public:
  1622. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsPresent(
  1623. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1624. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsCritical(
  1625. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1626. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsDigitalSignatureEnabled(
  1627. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1628. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsNonRepudiationEnabled(
  1629. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1630. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsKeyEnciphermentEnabled(
  1631. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1632. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsDataEnciphermentEnabled(
  1633. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1634. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsKeyAgreementEnabled(
  1635. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1636. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsKeyCertSignEnabled(
  1637. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1638. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsCRLSignEnabled(
  1639. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1640. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsEncipherOnlyEnabled(
  1641. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1642. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsDecipherOnlyEnabled(
  1643. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1644. };
  1645. #else /* C style interface */
  1646. typedef struct IKeyUsageVtbl
  1647. {
  1648. BEGIN_INTERFACE
  1649. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1650. IKeyUsage * This,
  1651. /* [in] */ REFIID riid,
  1652. /* [iid_is][out] */ void **ppvObject);
  1653. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1654. IKeyUsage * This);
  1655. ULONG ( STDMETHODCALLTYPE *Release )(
  1656. IKeyUsage * This);
  1657. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1658. IKeyUsage * This,
  1659. /* [out] */ UINT *pctinfo);
  1660. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1661. IKeyUsage * This,
  1662. /* [in] */ UINT iTInfo,
  1663. /* [in] */ LCID lcid,
  1664. /* [out] */ ITypeInfo **ppTInfo);
  1665. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1666. IKeyUsage * This,
  1667. /* [in] */ REFIID riid,
  1668. /* [size_is][in] */ LPOLESTR *rgszNames,
  1669. /* [in] */ UINT cNames,
  1670. /* [in] */ LCID lcid,
  1671. /* [size_is][out] */ DISPID *rgDispId);
  1672. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1673. IKeyUsage * This,
  1674. /* [in] */ DISPID dispIdMember,
  1675. /* [in] */ REFIID riid,
  1676. /* [in] */ LCID lcid,
  1677. /* [in] */ WORD wFlags,
  1678. /* [out][in] */ DISPPARAMS *pDispParams,
  1679. /* [out] */ VARIANT *pVarResult,
  1680. /* [out] */ EXCEPINFO *pExcepInfo,
  1681. /* [out] */ UINT *puArgErr);
  1682. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsPresent )(
  1683. IKeyUsage * This,
  1684. /* [retval][out] */ VARIANT_BOOL *pVal);
  1685. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsCritical )(
  1686. IKeyUsage * This,
  1687. /* [retval][out] */ VARIANT_BOOL *pVal);
  1688. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsDigitalSignatureEnabled )(
  1689. IKeyUsage * This,
  1690. /* [retval][out] */ VARIANT_BOOL *pVal);
  1691. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsNonRepudiationEnabled )(
  1692. IKeyUsage * This,
  1693. /* [retval][out] */ VARIANT_BOOL *pVal);
  1694. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsKeyEnciphermentEnabled )(
  1695. IKeyUsage * This,
  1696. /* [retval][out] */ VARIANT_BOOL *pVal);
  1697. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsDataEnciphermentEnabled )(
  1698. IKeyUsage * This,
  1699. /* [retval][out] */ VARIANT_BOOL *pVal);
  1700. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsKeyAgreementEnabled )(
  1701. IKeyUsage * This,
  1702. /* [retval][out] */ VARIANT_BOOL *pVal);
  1703. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsKeyCertSignEnabled )(
  1704. IKeyUsage * This,
  1705. /* [retval][out] */ VARIANT_BOOL *pVal);
  1706. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsCRLSignEnabled )(
  1707. IKeyUsage * This,
  1708. /* [retval][out] */ VARIANT_BOOL *pVal);
  1709. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsEncipherOnlyEnabled )(
  1710. IKeyUsage * This,
  1711. /* [retval][out] */ VARIANT_BOOL *pVal);
  1712. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsDecipherOnlyEnabled )(
  1713. IKeyUsage * This,
  1714. /* [retval][out] */ VARIANT_BOOL *pVal);
  1715. END_INTERFACE
  1716. } IKeyUsageVtbl;
  1717. interface IKeyUsage
  1718. {
  1719. CONST_VTBL struct IKeyUsageVtbl *lpVtbl;
  1720. };
  1721. #ifdef COBJMACROS
  1722. #define IKeyUsage_QueryInterface(This,riid,ppvObject) \
  1723. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1724. #define IKeyUsage_AddRef(This) \
  1725. (This)->lpVtbl -> AddRef(This)
  1726. #define IKeyUsage_Release(This) \
  1727. (This)->lpVtbl -> Release(This)
  1728. #define IKeyUsage_GetTypeInfoCount(This,pctinfo) \
  1729. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1730. #define IKeyUsage_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1731. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1732. #define IKeyUsage_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1733. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1734. #define IKeyUsage_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1735. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1736. #define IKeyUsage_get_IsPresent(This,pVal) \
  1737. (This)->lpVtbl -> get_IsPresent(This,pVal)
  1738. #define IKeyUsage_get_IsCritical(This,pVal) \
  1739. (This)->lpVtbl -> get_IsCritical(This,pVal)
  1740. #define IKeyUsage_get_IsDigitalSignatureEnabled(This,pVal) \
  1741. (This)->lpVtbl -> get_IsDigitalSignatureEnabled(This,pVal)
  1742. #define IKeyUsage_get_IsNonRepudiationEnabled(This,pVal) \
  1743. (This)->lpVtbl -> get_IsNonRepudiationEnabled(This,pVal)
  1744. #define IKeyUsage_get_IsKeyEnciphermentEnabled(This,pVal) \
  1745. (This)->lpVtbl -> get_IsKeyEnciphermentEnabled(This,pVal)
  1746. #define IKeyUsage_get_IsDataEnciphermentEnabled(This,pVal) \
  1747. (This)->lpVtbl -> get_IsDataEnciphermentEnabled(This,pVal)
  1748. #define IKeyUsage_get_IsKeyAgreementEnabled(This,pVal) \
  1749. (This)->lpVtbl -> get_IsKeyAgreementEnabled(This,pVal)
  1750. #define IKeyUsage_get_IsKeyCertSignEnabled(This,pVal) \
  1751. (This)->lpVtbl -> get_IsKeyCertSignEnabled(This,pVal)
  1752. #define IKeyUsage_get_IsCRLSignEnabled(This,pVal) \
  1753. (This)->lpVtbl -> get_IsCRLSignEnabled(This,pVal)
  1754. #define IKeyUsage_get_IsEncipherOnlyEnabled(This,pVal) \
  1755. (This)->lpVtbl -> get_IsEncipherOnlyEnabled(This,pVal)
  1756. #define IKeyUsage_get_IsDecipherOnlyEnabled(This,pVal) \
  1757. (This)->lpVtbl -> get_IsDecipherOnlyEnabled(This,pVal)
  1758. #endif /* COBJMACROS */
  1759. #endif /* C style interface */
  1760. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsPresent_Proxy(
  1761. IKeyUsage * This,
  1762. /* [retval][out] */ VARIANT_BOOL *pVal);
  1763. void __RPC_STUB IKeyUsage_get_IsPresent_Stub(
  1764. IRpcStubBuffer *This,
  1765. IRpcChannelBuffer *_pRpcChannelBuffer,
  1766. PRPC_MESSAGE _pRpcMessage,
  1767. DWORD *_pdwStubPhase);
  1768. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsCritical_Proxy(
  1769. IKeyUsage * This,
  1770. /* [retval][out] */ VARIANT_BOOL *pVal);
  1771. void __RPC_STUB IKeyUsage_get_IsCritical_Stub(
  1772. IRpcStubBuffer *This,
  1773. IRpcChannelBuffer *_pRpcChannelBuffer,
  1774. PRPC_MESSAGE _pRpcMessage,
  1775. DWORD *_pdwStubPhase);
  1776. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsDigitalSignatureEnabled_Proxy(
  1777. IKeyUsage * This,
  1778. /* [retval][out] */ VARIANT_BOOL *pVal);
  1779. void __RPC_STUB IKeyUsage_get_IsDigitalSignatureEnabled_Stub(
  1780. IRpcStubBuffer *This,
  1781. IRpcChannelBuffer *_pRpcChannelBuffer,
  1782. PRPC_MESSAGE _pRpcMessage,
  1783. DWORD *_pdwStubPhase);
  1784. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsNonRepudiationEnabled_Proxy(
  1785. IKeyUsage * This,
  1786. /* [retval][out] */ VARIANT_BOOL *pVal);
  1787. void __RPC_STUB IKeyUsage_get_IsNonRepudiationEnabled_Stub(
  1788. IRpcStubBuffer *This,
  1789. IRpcChannelBuffer *_pRpcChannelBuffer,
  1790. PRPC_MESSAGE _pRpcMessage,
  1791. DWORD *_pdwStubPhase);
  1792. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsKeyEnciphermentEnabled_Proxy(
  1793. IKeyUsage * This,
  1794. /* [retval][out] */ VARIANT_BOOL *pVal);
  1795. void __RPC_STUB IKeyUsage_get_IsKeyEnciphermentEnabled_Stub(
  1796. IRpcStubBuffer *This,
  1797. IRpcChannelBuffer *_pRpcChannelBuffer,
  1798. PRPC_MESSAGE _pRpcMessage,
  1799. DWORD *_pdwStubPhase);
  1800. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsDataEnciphermentEnabled_Proxy(
  1801. IKeyUsage * This,
  1802. /* [retval][out] */ VARIANT_BOOL *pVal);
  1803. void __RPC_STUB IKeyUsage_get_IsDataEnciphermentEnabled_Stub(
  1804. IRpcStubBuffer *This,
  1805. IRpcChannelBuffer *_pRpcChannelBuffer,
  1806. PRPC_MESSAGE _pRpcMessage,
  1807. DWORD *_pdwStubPhase);
  1808. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsKeyAgreementEnabled_Proxy(
  1809. IKeyUsage * This,
  1810. /* [retval][out] */ VARIANT_BOOL *pVal);
  1811. void __RPC_STUB IKeyUsage_get_IsKeyAgreementEnabled_Stub(
  1812. IRpcStubBuffer *This,
  1813. IRpcChannelBuffer *_pRpcChannelBuffer,
  1814. PRPC_MESSAGE _pRpcMessage,
  1815. DWORD *_pdwStubPhase);
  1816. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsKeyCertSignEnabled_Proxy(
  1817. IKeyUsage * This,
  1818. /* [retval][out] */ VARIANT_BOOL *pVal);
  1819. void __RPC_STUB IKeyUsage_get_IsKeyCertSignEnabled_Stub(
  1820. IRpcStubBuffer *This,
  1821. IRpcChannelBuffer *_pRpcChannelBuffer,
  1822. PRPC_MESSAGE _pRpcMessage,
  1823. DWORD *_pdwStubPhase);
  1824. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsCRLSignEnabled_Proxy(
  1825. IKeyUsage * This,
  1826. /* [retval][out] */ VARIANT_BOOL *pVal);
  1827. void __RPC_STUB IKeyUsage_get_IsCRLSignEnabled_Stub(
  1828. IRpcStubBuffer *This,
  1829. IRpcChannelBuffer *_pRpcChannelBuffer,
  1830. PRPC_MESSAGE _pRpcMessage,
  1831. DWORD *_pdwStubPhase);
  1832. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsEncipherOnlyEnabled_Proxy(
  1833. IKeyUsage * This,
  1834. /* [retval][out] */ VARIANT_BOOL *pVal);
  1835. void __RPC_STUB IKeyUsage_get_IsEncipherOnlyEnabled_Stub(
  1836. IRpcStubBuffer *This,
  1837. IRpcChannelBuffer *_pRpcChannelBuffer,
  1838. PRPC_MESSAGE _pRpcMessage,
  1839. DWORD *_pdwStubPhase);
  1840. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IKeyUsage_get_IsDecipherOnlyEnabled_Proxy(
  1841. IKeyUsage * This,
  1842. /* [retval][out] */ VARIANT_BOOL *pVal);
  1843. void __RPC_STUB IKeyUsage_get_IsDecipherOnlyEnabled_Stub(
  1844. IRpcStubBuffer *This,
  1845. IRpcChannelBuffer *_pRpcChannelBuffer,
  1846. PRPC_MESSAGE _pRpcMessage,
  1847. DWORD *_pdwStubPhase);
  1848. #endif /* __IKeyUsage_INTERFACE_DEFINED__ */
  1849. #ifndef __IExtendedKeyUsage_INTERFACE_DEFINED__
  1850. #define __IExtendedKeyUsage_INTERFACE_DEFINED__
  1851. /* interface IExtendedKeyUsage */
  1852. /* [unique][helpstring][dual][uuid][object] */
  1853. EXTERN_C const IID IID_IExtendedKeyUsage;
  1854. #if defined(__cplusplus) && !defined(CINTERFACE)
  1855. MIDL_INTERFACE("7289D408-987D-45D1-8DEE-CF9E91C2E90E")
  1856. IExtendedKeyUsage : public IDispatch
  1857. {
  1858. public:
  1859. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsPresent(
  1860. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1861. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsCritical(
  1862. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1863. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EKUs(
  1864. /* [retval][out] */ IEKUs **pVal) = 0;
  1865. };
  1866. #else /* C style interface */
  1867. typedef struct IExtendedKeyUsageVtbl
  1868. {
  1869. BEGIN_INTERFACE
  1870. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1871. IExtendedKeyUsage * This,
  1872. /* [in] */ REFIID riid,
  1873. /* [iid_is][out] */ void **ppvObject);
  1874. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1875. IExtendedKeyUsage * This);
  1876. ULONG ( STDMETHODCALLTYPE *Release )(
  1877. IExtendedKeyUsage * This);
  1878. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1879. IExtendedKeyUsage * This,
  1880. /* [out] */ UINT *pctinfo);
  1881. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1882. IExtendedKeyUsage * This,
  1883. /* [in] */ UINT iTInfo,
  1884. /* [in] */ LCID lcid,
  1885. /* [out] */ ITypeInfo **ppTInfo);
  1886. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1887. IExtendedKeyUsage * This,
  1888. /* [in] */ REFIID riid,
  1889. /* [size_is][in] */ LPOLESTR *rgszNames,
  1890. /* [in] */ UINT cNames,
  1891. /* [in] */ LCID lcid,
  1892. /* [size_is][out] */ DISPID *rgDispId);
  1893. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1894. IExtendedKeyUsage * This,
  1895. /* [in] */ DISPID dispIdMember,
  1896. /* [in] */ REFIID riid,
  1897. /* [in] */ LCID lcid,
  1898. /* [in] */ WORD wFlags,
  1899. /* [out][in] */ DISPPARAMS *pDispParams,
  1900. /* [out] */ VARIANT *pVarResult,
  1901. /* [out] */ EXCEPINFO *pExcepInfo,
  1902. /* [out] */ UINT *puArgErr);
  1903. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsPresent )(
  1904. IExtendedKeyUsage * This,
  1905. /* [retval][out] */ VARIANT_BOOL *pVal);
  1906. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsCritical )(
  1907. IExtendedKeyUsage * This,
  1908. /* [retval][out] */ VARIANT_BOOL *pVal);
  1909. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EKUs )(
  1910. IExtendedKeyUsage * This,
  1911. /* [retval][out] */ IEKUs **pVal);
  1912. END_INTERFACE
  1913. } IExtendedKeyUsageVtbl;
  1914. interface IExtendedKeyUsage
  1915. {
  1916. CONST_VTBL struct IExtendedKeyUsageVtbl *lpVtbl;
  1917. };
  1918. #ifdef COBJMACROS
  1919. #define IExtendedKeyUsage_QueryInterface(This,riid,ppvObject) \
  1920. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1921. #define IExtendedKeyUsage_AddRef(This) \
  1922. (This)->lpVtbl -> AddRef(This)
  1923. #define IExtendedKeyUsage_Release(This) \
  1924. (This)->lpVtbl -> Release(This)
  1925. #define IExtendedKeyUsage_GetTypeInfoCount(This,pctinfo) \
  1926. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1927. #define IExtendedKeyUsage_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1928. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1929. #define IExtendedKeyUsage_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1930. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1931. #define IExtendedKeyUsage_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 IExtendedKeyUsage_get_IsPresent(This,pVal) \
  1934. (This)->lpVtbl -> get_IsPresent(This,pVal)
  1935. #define IExtendedKeyUsage_get_IsCritical(This,pVal) \
  1936. (This)->lpVtbl -> get_IsCritical(This,pVal)
  1937. #define IExtendedKeyUsage_get_EKUs(This,pVal) \
  1938. (This)->lpVtbl -> get_EKUs(This,pVal)
  1939. #endif /* COBJMACROS */
  1940. #endif /* C style interface */
  1941. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtendedKeyUsage_get_IsPresent_Proxy(
  1942. IExtendedKeyUsage * This,
  1943. /* [retval][out] */ VARIANT_BOOL *pVal);
  1944. void __RPC_STUB IExtendedKeyUsage_get_IsPresent_Stub(
  1945. IRpcStubBuffer *This,
  1946. IRpcChannelBuffer *_pRpcChannelBuffer,
  1947. PRPC_MESSAGE _pRpcMessage,
  1948. DWORD *_pdwStubPhase);
  1949. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtendedKeyUsage_get_IsCritical_Proxy(
  1950. IExtendedKeyUsage * This,
  1951. /* [retval][out] */ VARIANT_BOOL *pVal);
  1952. void __RPC_STUB IExtendedKeyUsage_get_IsCritical_Stub(
  1953. IRpcStubBuffer *This,
  1954. IRpcChannelBuffer *_pRpcChannelBuffer,
  1955. PRPC_MESSAGE _pRpcMessage,
  1956. DWORD *_pdwStubPhase);
  1957. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtendedKeyUsage_get_EKUs_Proxy(
  1958. IExtendedKeyUsage * This,
  1959. /* [retval][out] */ IEKUs **pVal);
  1960. void __RPC_STUB IExtendedKeyUsage_get_EKUs_Stub(
  1961. IRpcStubBuffer *This,
  1962. IRpcChannelBuffer *_pRpcChannelBuffer,
  1963. PRPC_MESSAGE _pRpcMessage,
  1964. DWORD *_pdwStubPhase);
  1965. #endif /* __IExtendedKeyUsage_INTERFACE_DEFINED__ */
  1966. #ifndef __IBasicConstraints_INTERFACE_DEFINED__
  1967. #define __IBasicConstraints_INTERFACE_DEFINED__
  1968. /* interface IBasicConstraints */
  1969. /* [unique][helpstring][dual][uuid][object] */
  1970. EXTERN_C const IID IID_IBasicConstraints;
  1971. #if defined(__cplusplus) && !defined(CINTERFACE)
  1972. MIDL_INTERFACE("4E298C47-ABA6-459E-851B-993D6C626EAD")
  1973. IBasicConstraints : public IDispatch
  1974. {
  1975. public:
  1976. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsPresent(
  1977. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1978. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsCritical(
  1979. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1980. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsCertificateAuthority(
  1981. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1982. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsPathLenConstraintPresent(
  1983. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  1984. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PathLenConstraint(
  1985. /* [retval][out] */ long *pVal) = 0;
  1986. };
  1987. #else /* C style interface */
  1988. typedef struct IBasicConstraintsVtbl
  1989. {
  1990. BEGIN_INTERFACE
  1991. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1992. IBasicConstraints * This,
  1993. /* [in] */ REFIID riid,
  1994. /* [iid_is][out] */ void **ppvObject);
  1995. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1996. IBasicConstraints * This);
  1997. ULONG ( STDMETHODCALLTYPE *Release )(
  1998. IBasicConstraints * This);
  1999. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2000. IBasicConstraints * This,
  2001. /* [out] */ UINT *pctinfo);
  2002. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2003. IBasicConstraints * This,
  2004. /* [in] */ UINT iTInfo,
  2005. /* [in] */ LCID lcid,
  2006. /* [out] */ ITypeInfo **ppTInfo);
  2007. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2008. IBasicConstraints * This,
  2009. /* [in] */ REFIID riid,
  2010. /* [size_is][in] */ LPOLESTR *rgszNames,
  2011. /* [in] */ UINT cNames,
  2012. /* [in] */ LCID lcid,
  2013. /* [size_is][out] */ DISPID *rgDispId);
  2014. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2015. IBasicConstraints * This,
  2016. /* [in] */ DISPID dispIdMember,
  2017. /* [in] */ REFIID riid,
  2018. /* [in] */ LCID lcid,
  2019. /* [in] */ WORD wFlags,
  2020. /* [out][in] */ DISPPARAMS *pDispParams,
  2021. /* [out] */ VARIANT *pVarResult,
  2022. /* [out] */ EXCEPINFO *pExcepInfo,
  2023. /* [out] */ UINT *puArgErr);
  2024. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsPresent )(
  2025. IBasicConstraints * This,
  2026. /* [retval][out] */ VARIANT_BOOL *pVal);
  2027. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsCritical )(
  2028. IBasicConstraints * This,
  2029. /* [retval][out] */ VARIANT_BOOL *pVal);
  2030. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsCertificateAuthority )(
  2031. IBasicConstraints * This,
  2032. /* [retval][out] */ VARIANT_BOOL *pVal);
  2033. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsPathLenConstraintPresent )(
  2034. IBasicConstraints * This,
  2035. /* [retval][out] */ VARIANT_BOOL *pVal);
  2036. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PathLenConstraint )(
  2037. IBasicConstraints * This,
  2038. /* [retval][out] */ long *pVal);
  2039. END_INTERFACE
  2040. } IBasicConstraintsVtbl;
  2041. interface IBasicConstraints
  2042. {
  2043. CONST_VTBL struct IBasicConstraintsVtbl *lpVtbl;
  2044. };
  2045. #ifdef COBJMACROS
  2046. #define IBasicConstraints_QueryInterface(This,riid,ppvObject) \
  2047. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2048. #define IBasicConstraints_AddRef(This) \
  2049. (This)->lpVtbl -> AddRef(This)
  2050. #define IBasicConstraints_Release(This) \
  2051. (This)->lpVtbl -> Release(This)
  2052. #define IBasicConstraints_GetTypeInfoCount(This,pctinfo) \
  2053. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2054. #define IBasicConstraints_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2055. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2056. #define IBasicConstraints_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2057. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2058. #define IBasicConstraints_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2059. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2060. #define IBasicConstraints_get_IsPresent(This,pVal) \
  2061. (This)->lpVtbl -> get_IsPresent(This,pVal)
  2062. #define IBasicConstraints_get_IsCritical(This,pVal) \
  2063. (This)->lpVtbl -> get_IsCritical(This,pVal)
  2064. #define IBasicConstraints_get_IsCertificateAuthority(This,pVal) \
  2065. (This)->lpVtbl -> get_IsCertificateAuthority(This,pVal)
  2066. #define IBasicConstraints_get_IsPathLenConstraintPresent(This,pVal) \
  2067. (This)->lpVtbl -> get_IsPathLenConstraintPresent(This,pVal)
  2068. #define IBasicConstraints_get_PathLenConstraint(This,pVal) \
  2069. (This)->lpVtbl -> get_PathLenConstraint(This,pVal)
  2070. #endif /* COBJMACROS */
  2071. #endif /* C style interface */
  2072. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBasicConstraints_get_IsPresent_Proxy(
  2073. IBasicConstraints * This,
  2074. /* [retval][out] */ VARIANT_BOOL *pVal);
  2075. void __RPC_STUB IBasicConstraints_get_IsPresent_Stub(
  2076. IRpcStubBuffer *This,
  2077. IRpcChannelBuffer *_pRpcChannelBuffer,
  2078. PRPC_MESSAGE _pRpcMessage,
  2079. DWORD *_pdwStubPhase);
  2080. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBasicConstraints_get_IsCritical_Proxy(
  2081. IBasicConstraints * This,
  2082. /* [retval][out] */ VARIANT_BOOL *pVal);
  2083. void __RPC_STUB IBasicConstraints_get_IsCritical_Stub(
  2084. IRpcStubBuffer *This,
  2085. IRpcChannelBuffer *_pRpcChannelBuffer,
  2086. PRPC_MESSAGE _pRpcMessage,
  2087. DWORD *_pdwStubPhase);
  2088. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBasicConstraints_get_IsCertificateAuthority_Proxy(
  2089. IBasicConstraints * This,
  2090. /* [retval][out] */ VARIANT_BOOL *pVal);
  2091. void __RPC_STUB IBasicConstraints_get_IsCertificateAuthority_Stub(
  2092. IRpcStubBuffer *This,
  2093. IRpcChannelBuffer *_pRpcChannelBuffer,
  2094. PRPC_MESSAGE _pRpcMessage,
  2095. DWORD *_pdwStubPhase);
  2096. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBasicConstraints_get_IsPathLenConstraintPresent_Proxy(
  2097. IBasicConstraints * This,
  2098. /* [retval][out] */ VARIANT_BOOL *pVal);
  2099. void __RPC_STUB IBasicConstraints_get_IsPathLenConstraintPresent_Stub(
  2100. IRpcStubBuffer *This,
  2101. IRpcChannelBuffer *_pRpcChannelBuffer,
  2102. PRPC_MESSAGE _pRpcMessage,
  2103. DWORD *_pdwStubPhase);
  2104. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBasicConstraints_get_PathLenConstraint_Proxy(
  2105. IBasicConstraints * This,
  2106. /* [retval][out] */ long *pVal);
  2107. void __RPC_STUB IBasicConstraints_get_PathLenConstraint_Stub(
  2108. IRpcStubBuffer *This,
  2109. IRpcChannelBuffer *_pRpcChannelBuffer,
  2110. PRPC_MESSAGE _pRpcMessage,
  2111. DWORD *_pdwStubPhase);
  2112. #endif /* __IBasicConstraints_INTERFACE_DEFINED__ */
  2113. #ifndef __ICertificateStatus_INTERFACE_DEFINED__
  2114. #define __ICertificateStatus_INTERFACE_DEFINED__
  2115. /* interface ICertificateStatus */
  2116. /* [unique][helpstring][dual][uuid][object] */
  2117. EXTERN_C const IID IID_ICertificateStatus;
  2118. #if defined(__cplusplus) && !defined(CINTERFACE)
  2119. MIDL_INTERFACE("AB769053-6D38-49D4-86EF-5FA85ED3AF27")
  2120. ICertificateStatus : public IDispatch
  2121. {
  2122. public:
  2123. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Result(
  2124. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  2125. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CheckFlag(
  2126. /* [retval][out] */ CAPICOM_CHECK_FLAG *pVal) = 0;
  2127. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CheckFlag(
  2128. /* [in] */ CAPICOM_CHECK_FLAG newVal) = 0;
  2129. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EKU(
  2130. /* [retval][out] */ IEKU **pVal) = 0;
  2131. };
  2132. #else /* C style interface */
  2133. typedef struct ICertificateStatusVtbl
  2134. {
  2135. BEGIN_INTERFACE
  2136. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2137. ICertificateStatus * This,
  2138. /* [in] */ REFIID riid,
  2139. /* [iid_is][out] */ void **ppvObject);
  2140. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2141. ICertificateStatus * This);
  2142. ULONG ( STDMETHODCALLTYPE *Release )(
  2143. ICertificateStatus * This);
  2144. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2145. ICertificateStatus * This,
  2146. /* [out] */ UINT *pctinfo);
  2147. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2148. ICertificateStatus * This,
  2149. /* [in] */ UINT iTInfo,
  2150. /* [in] */ LCID lcid,
  2151. /* [out] */ ITypeInfo **ppTInfo);
  2152. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2153. ICertificateStatus * This,
  2154. /* [in] */ REFIID riid,
  2155. /* [size_is][in] */ LPOLESTR *rgszNames,
  2156. /* [in] */ UINT cNames,
  2157. /* [in] */ LCID lcid,
  2158. /* [size_is][out] */ DISPID *rgDispId);
  2159. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2160. ICertificateStatus * This,
  2161. /* [in] */ DISPID dispIdMember,
  2162. /* [in] */ REFIID riid,
  2163. /* [in] */ LCID lcid,
  2164. /* [in] */ WORD wFlags,
  2165. /* [out][in] */ DISPPARAMS *pDispParams,
  2166. /* [out] */ VARIANT *pVarResult,
  2167. /* [out] */ EXCEPINFO *pExcepInfo,
  2168. /* [out] */ UINT *puArgErr);
  2169. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Result )(
  2170. ICertificateStatus * This,
  2171. /* [retval][out] */ VARIANT_BOOL *pVal);
  2172. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CheckFlag )(
  2173. ICertificateStatus * This,
  2174. /* [retval][out] */ CAPICOM_CHECK_FLAG *pVal);
  2175. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CheckFlag )(
  2176. ICertificateStatus * This,
  2177. /* [in] */ CAPICOM_CHECK_FLAG newVal);
  2178. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EKU )(
  2179. ICertificateStatus * This,
  2180. /* [retval][out] */ IEKU **pVal);
  2181. END_INTERFACE
  2182. } ICertificateStatusVtbl;
  2183. interface ICertificateStatus
  2184. {
  2185. CONST_VTBL struct ICertificateStatusVtbl *lpVtbl;
  2186. };
  2187. #ifdef COBJMACROS
  2188. #define ICertificateStatus_QueryInterface(This,riid,ppvObject) \
  2189. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2190. #define ICertificateStatus_AddRef(This) \
  2191. (This)->lpVtbl -> AddRef(This)
  2192. #define ICertificateStatus_Release(This) \
  2193. (This)->lpVtbl -> Release(This)
  2194. #define ICertificateStatus_GetTypeInfoCount(This,pctinfo) \
  2195. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2196. #define ICertificateStatus_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2197. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2198. #define ICertificateStatus_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2199. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2200. #define ICertificateStatus_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2201. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2202. #define ICertificateStatus_get_Result(This,pVal) \
  2203. (This)->lpVtbl -> get_Result(This,pVal)
  2204. #define ICertificateStatus_get_CheckFlag(This,pVal) \
  2205. (This)->lpVtbl -> get_CheckFlag(This,pVal)
  2206. #define ICertificateStatus_put_CheckFlag(This,newVal) \
  2207. (This)->lpVtbl -> put_CheckFlag(This,newVal)
  2208. #define ICertificateStatus_EKU(This,pVal) \
  2209. (This)->lpVtbl -> EKU(This,pVal)
  2210. #endif /* COBJMACROS */
  2211. #endif /* C style interface */
  2212. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificateStatus_get_Result_Proxy(
  2213. ICertificateStatus * This,
  2214. /* [retval][out] */ VARIANT_BOOL *pVal);
  2215. void __RPC_STUB ICertificateStatus_get_Result_Stub(
  2216. IRpcStubBuffer *This,
  2217. IRpcChannelBuffer *_pRpcChannelBuffer,
  2218. PRPC_MESSAGE _pRpcMessage,
  2219. DWORD *_pdwStubPhase);
  2220. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificateStatus_get_CheckFlag_Proxy(
  2221. ICertificateStatus * This,
  2222. /* [retval][out] */ CAPICOM_CHECK_FLAG *pVal);
  2223. void __RPC_STUB ICertificateStatus_get_CheckFlag_Stub(
  2224. IRpcStubBuffer *This,
  2225. IRpcChannelBuffer *_pRpcChannelBuffer,
  2226. PRPC_MESSAGE _pRpcMessage,
  2227. DWORD *_pdwStubPhase);
  2228. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICertificateStatus_put_CheckFlag_Proxy(
  2229. ICertificateStatus * This,
  2230. /* [in] */ CAPICOM_CHECK_FLAG newVal);
  2231. void __RPC_STUB ICertificateStatus_put_CheckFlag_Stub(
  2232. IRpcStubBuffer *This,
  2233. IRpcChannelBuffer *_pRpcChannelBuffer,
  2234. PRPC_MESSAGE _pRpcMessage,
  2235. DWORD *_pdwStubPhase);
  2236. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificateStatus_EKU_Proxy(
  2237. ICertificateStatus * This,
  2238. /* [retval][out] */ IEKU **pVal);
  2239. void __RPC_STUB ICertificateStatus_EKU_Stub(
  2240. IRpcStubBuffer *This,
  2241. IRpcChannelBuffer *_pRpcChannelBuffer,
  2242. PRPC_MESSAGE _pRpcMessage,
  2243. DWORD *_pdwStubPhase);
  2244. #endif /* __ICertificateStatus_INTERFACE_DEFINED__ */
  2245. #ifndef __ICertificate_INTERFACE_DEFINED__
  2246. #define __ICertificate_INTERFACE_DEFINED__
  2247. /* interface ICertificate */
  2248. /* [unique][helpstring][dual][uuid][object] */
  2249. EXTERN_C const IID IID_ICertificate;
  2250. #if defined(__cplusplus) && !defined(CINTERFACE)
  2251. MIDL_INTERFACE("0BBA0B86-766C-4755-A443-243FF2BD8D29")
  2252. ICertificate : public IDispatch
  2253. {
  2254. public:
  2255. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Version(
  2256. /* [retval][out] */ long *pVal) = 0;
  2257. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SerialNumber(
  2258. /* [retval][out] */ BSTR *pVal) = 0;
  2259. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubjectName(
  2260. /* [retval][out] */ BSTR *pVal) = 0;
  2261. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IssuerName(
  2262. /* [retval][out] */ BSTR *pVal) = 0;
  2263. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ValidFromDate(
  2264. /* [retval][out] */ DATE *pVal) = 0;
  2265. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ValidToDate(
  2266. /* [retval][out] */ DATE *pVal) = 0;
  2267. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Thumbprint(
  2268. /* [retval][out] */ BSTR *pVal) = 0;
  2269. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HasPrivateKey(
  2270. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  2271. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetInfo(
  2272. /* [in] */ CAPICOM_CERT_INFO_TYPE InfoType,
  2273. /* [retval][out] */ BSTR *pVal) = 0;
  2274. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsValid(
  2275. /* [retval][out] */ ICertificateStatus **pVal) = 0;
  2276. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE KeyUsage(
  2277. /* [retval][out] */ IKeyUsage **pVal) = 0;
  2278. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExtendedKeyUsage(
  2279. /* [retval][out] */ IExtendedKeyUsage **pVal) = 0;
  2280. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BasicConstraints(
  2281. /* [retval][out] */ IBasicConstraints **pVal) = 0;
  2282. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Export(
  2283. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  2284. /* [retval][out] */ BSTR *pVal) = 0;
  2285. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Import(
  2286. /* [in] */ BSTR EncodedCertificate) = 0;
  2287. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Display( void) = 0;
  2288. };
  2289. #else /* C style interface */
  2290. typedef struct ICertificateVtbl
  2291. {
  2292. BEGIN_INTERFACE
  2293. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2294. ICertificate * This,
  2295. /* [in] */ REFIID riid,
  2296. /* [iid_is][out] */ void **ppvObject);
  2297. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2298. ICertificate * This);
  2299. ULONG ( STDMETHODCALLTYPE *Release )(
  2300. ICertificate * This);
  2301. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2302. ICertificate * This,
  2303. /* [out] */ UINT *pctinfo);
  2304. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2305. ICertificate * This,
  2306. /* [in] */ UINT iTInfo,
  2307. /* [in] */ LCID lcid,
  2308. /* [out] */ ITypeInfo **ppTInfo);
  2309. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2310. ICertificate * This,
  2311. /* [in] */ REFIID riid,
  2312. /* [size_is][in] */ LPOLESTR *rgszNames,
  2313. /* [in] */ UINT cNames,
  2314. /* [in] */ LCID lcid,
  2315. /* [size_is][out] */ DISPID *rgDispId);
  2316. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2317. ICertificate * This,
  2318. /* [in] */ DISPID dispIdMember,
  2319. /* [in] */ REFIID riid,
  2320. /* [in] */ LCID lcid,
  2321. /* [in] */ WORD wFlags,
  2322. /* [out][in] */ DISPPARAMS *pDispParams,
  2323. /* [out] */ VARIANT *pVarResult,
  2324. /* [out] */ EXCEPINFO *pExcepInfo,
  2325. /* [out] */ UINT *puArgErr);
  2326. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Version )(
  2327. ICertificate * This,
  2328. /* [retval][out] */ long *pVal);
  2329. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SerialNumber )(
  2330. ICertificate * This,
  2331. /* [retval][out] */ BSTR *pVal);
  2332. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubjectName )(
  2333. ICertificate * This,
  2334. /* [retval][out] */ BSTR *pVal);
  2335. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IssuerName )(
  2336. ICertificate * This,
  2337. /* [retval][out] */ BSTR *pVal);
  2338. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ValidFromDate )(
  2339. ICertificate * This,
  2340. /* [retval][out] */ DATE *pVal);
  2341. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ValidToDate )(
  2342. ICertificate * This,
  2343. /* [retval][out] */ DATE *pVal);
  2344. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Thumbprint )(
  2345. ICertificate * This,
  2346. /* [retval][out] */ BSTR *pVal);
  2347. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HasPrivateKey )(
  2348. ICertificate * This,
  2349. /* [retval][out] */ VARIANT_BOOL *pVal);
  2350. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  2351. ICertificate * This,
  2352. /* [in] */ CAPICOM_CERT_INFO_TYPE InfoType,
  2353. /* [retval][out] */ BSTR *pVal);
  2354. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsValid )(
  2355. ICertificate * This,
  2356. /* [retval][out] */ ICertificateStatus **pVal);
  2357. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *KeyUsage )(
  2358. ICertificate * This,
  2359. /* [retval][out] */ IKeyUsage **pVal);
  2360. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExtendedKeyUsage )(
  2361. ICertificate * This,
  2362. /* [retval][out] */ IExtendedKeyUsage **pVal);
  2363. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BasicConstraints )(
  2364. ICertificate * This,
  2365. /* [retval][out] */ IBasicConstraints **pVal);
  2366. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Export )(
  2367. ICertificate * This,
  2368. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  2369. /* [retval][out] */ BSTR *pVal);
  2370. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Import )(
  2371. ICertificate * This,
  2372. /* [in] */ BSTR EncodedCertificate);
  2373. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Display )(
  2374. ICertificate * This);
  2375. END_INTERFACE
  2376. } ICertificateVtbl;
  2377. interface ICertificate
  2378. {
  2379. CONST_VTBL struct ICertificateVtbl *lpVtbl;
  2380. };
  2381. #ifdef COBJMACROS
  2382. #define ICertificate_QueryInterface(This,riid,ppvObject) \
  2383. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2384. #define ICertificate_AddRef(This) \
  2385. (This)->lpVtbl -> AddRef(This)
  2386. #define ICertificate_Release(This) \
  2387. (This)->lpVtbl -> Release(This)
  2388. #define ICertificate_GetTypeInfoCount(This,pctinfo) \
  2389. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2390. #define ICertificate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2391. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2392. #define ICertificate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2393. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2394. #define ICertificate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2395. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2396. #define ICertificate_get_Version(This,pVal) \
  2397. (This)->lpVtbl -> get_Version(This,pVal)
  2398. #define ICertificate_get_SerialNumber(This,pVal) \
  2399. (This)->lpVtbl -> get_SerialNumber(This,pVal)
  2400. #define ICertificate_get_SubjectName(This,pVal) \
  2401. (This)->lpVtbl -> get_SubjectName(This,pVal)
  2402. #define ICertificate_get_IssuerName(This,pVal) \
  2403. (This)->lpVtbl -> get_IssuerName(This,pVal)
  2404. #define ICertificate_get_ValidFromDate(This,pVal) \
  2405. (This)->lpVtbl -> get_ValidFromDate(This,pVal)
  2406. #define ICertificate_get_ValidToDate(This,pVal) \
  2407. (This)->lpVtbl -> get_ValidToDate(This,pVal)
  2408. #define ICertificate_get_Thumbprint(This,pVal) \
  2409. (This)->lpVtbl -> get_Thumbprint(This,pVal)
  2410. #define ICertificate_HasPrivateKey(This,pVal) \
  2411. (This)->lpVtbl -> HasPrivateKey(This,pVal)
  2412. #define ICertificate_GetInfo(This,InfoType,pVal) \
  2413. (This)->lpVtbl -> GetInfo(This,InfoType,pVal)
  2414. #define ICertificate_IsValid(This,pVal) \
  2415. (This)->lpVtbl -> IsValid(This,pVal)
  2416. #define ICertificate_KeyUsage(This,pVal) \
  2417. (This)->lpVtbl -> KeyUsage(This,pVal)
  2418. #define ICertificate_ExtendedKeyUsage(This,pVal) \
  2419. (This)->lpVtbl -> ExtendedKeyUsage(This,pVal)
  2420. #define ICertificate_BasicConstraints(This,pVal) \
  2421. (This)->lpVtbl -> BasicConstraints(This,pVal)
  2422. #define ICertificate_Export(This,EncodingType,pVal) \
  2423. (This)->lpVtbl -> Export(This,EncodingType,pVal)
  2424. #define ICertificate_Import(This,EncodedCertificate) \
  2425. (This)->lpVtbl -> Import(This,EncodedCertificate)
  2426. #define ICertificate_Display(This) \
  2427. (This)->lpVtbl -> Display(This)
  2428. #endif /* COBJMACROS */
  2429. #endif /* C style interface */
  2430. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificate_get_Version_Proxy(
  2431. ICertificate * This,
  2432. /* [retval][out] */ long *pVal);
  2433. void __RPC_STUB ICertificate_get_Version_Stub(
  2434. IRpcStubBuffer *This,
  2435. IRpcChannelBuffer *_pRpcChannelBuffer,
  2436. PRPC_MESSAGE _pRpcMessage,
  2437. DWORD *_pdwStubPhase);
  2438. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificate_get_SerialNumber_Proxy(
  2439. ICertificate * This,
  2440. /* [retval][out] */ BSTR *pVal);
  2441. void __RPC_STUB ICertificate_get_SerialNumber_Stub(
  2442. IRpcStubBuffer *This,
  2443. IRpcChannelBuffer *_pRpcChannelBuffer,
  2444. PRPC_MESSAGE _pRpcMessage,
  2445. DWORD *_pdwStubPhase);
  2446. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificate_get_SubjectName_Proxy(
  2447. ICertificate * This,
  2448. /* [retval][out] */ BSTR *pVal);
  2449. void __RPC_STUB ICertificate_get_SubjectName_Stub(
  2450. IRpcStubBuffer *This,
  2451. IRpcChannelBuffer *_pRpcChannelBuffer,
  2452. PRPC_MESSAGE _pRpcMessage,
  2453. DWORD *_pdwStubPhase);
  2454. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificate_get_IssuerName_Proxy(
  2455. ICertificate * This,
  2456. /* [retval][out] */ BSTR *pVal);
  2457. void __RPC_STUB ICertificate_get_IssuerName_Stub(
  2458. IRpcStubBuffer *This,
  2459. IRpcChannelBuffer *_pRpcChannelBuffer,
  2460. PRPC_MESSAGE _pRpcMessage,
  2461. DWORD *_pdwStubPhase);
  2462. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificate_get_ValidFromDate_Proxy(
  2463. ICertificate * This,
  2464. /* [retval][out] */ DATE *pVal);
  2465. void __RPC_STUB ICertificate_get_ValidFromDate_Stub(
  2466. IRpcStubBuffer *This,
  2467. IRpcChannelBuffer *_pRpcChannelBuffer,
  2468. PRPC_MESSAGE _pRpcMessage,
  2469. DWORD *_pdwStubPhase);
  2470. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificate_get_ValidToDate_Proxy(
  2471. ICertificate * This,
  2472. /* [retval][out] */ DATE *pVal);
  2473. void __RPC_STUB ICertificate_get_ValidToDate_Stub(
  2474. IRpcStubBuffer *This,
  2475. IRpcChannelBuffer *_pRpcChannelBuffer,
  2476. PRPC_MESSAGE _pRpcMessage,
  2477. DWORD *_pdwStubPhase);
  2478. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificate_get_Thumbprint_Proxy(
  2479. ICertificate * This,
  2480. /* [retval][out] */ BSTR *pVal);
  2481. void __RPC_STUB ICertificate_get_Thumbprint_Stub(
  2482. IRpcStubBuffer *This,
  2483. IRpcChannelBuffer *_pRpcChannelBuffer,
  2484. PRPC_MESSAGE _pRpcMessage,
  2485. DWORD *_pdwStubPhase);
  2486. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate_HasPrivateKey_Proxy(
  2487. ICertificate * This,
  2488. /* [retval][out] */ VARIANT_BOOL *pVal);
  2489. void __RPC_STUB ICertificate_HasPrivateKey_Stub(
  2490. IRpcStubBuffer *This,
  2491. IRpcChannelBuffer *_pRpcChannelBuffer,
  2492. PRPC_MESSAGE _pRpcMessage,
  2493. DWORD *_pdwStubPhase);
  2494. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate_GetInfo_Proxy(
  2495. ICertificate * This,
  2496. /* [in] */ CAPICOM_CERT_INFO_TYPE InfoType,
  2497. /* [retval][out] */ BSTR *pVal);
  2498. void __RPC_STUB ICertificate_GetInfo_Stub(
  2499. IRpcStubBuffer *This,
  2500. IRpcChannelBuffer *_pRpcChannelBuffer,
  2501. PRPC_MESSAGE _pRpcMessage,
  2502. DWORD *_pdwStubPhase);
  2503. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate_IsValid_Proxy(
  2504. ICertificate * This,
  2505. /* [retval][out] */ ICertificateStatus **pVal);
  2506. void __RPC_STUB ICertificate_IsValid_Stub(
  2507. IRpcStubBuffer *This,
  2508. IRpcChannelBuffer *_pRpcChannelBuffer,
  2509. PRPC_MESSAGE _pRpcMessage,
  2510. DWORD *_pdwStubPhase);
  2511. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate_KeyUsage_Proxy(
  2512. ICertificate * This,
  2513. /* [retval][out] */ IKeyUsage **pVal);
  2514. void __RPC_STUB ICertificate_KeyUsage_Stub(
  2515. IRpcStubBuffer *This,
  2516. IRpcChannelBuffer *_pRpcChannelBuffer,
  2517. PRPC_MESSAGE _pRpcMessage,
  2518. DWORD *_pdwStubPhase);
  2519. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate_ExtendedKeyUsage_Proxy(
  2520. ICertificate * This,
  2521. /* [retval][out] */ IExtendedKeyUsage **pVal);
  2522. void __RPC_STUB ICertificate_ExtendedKeyUsage_Stub(
  2523. IRpcStubBuffer *This,
  2524. IRpcChannelBuffer *_pRpcChannelBuffer,
  2525. PRPC_MESSAGE _pRpcMessage,
  2526. DWORD *_pdwStubPhase);
  2527. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate_BasicConstraints_Proxy(
  2528. ICertificate * This,
  2529. /* [retval][out] */ IBasicConstraints **pVal);
  2530. void __RPC_STUB ICertificate_BasicConstraints_Stub(
  2531. IRpcStubBuffer *This,
  2532. IRpcChannelBuffer *_pRpcChannelBuffer,
  2533. PRPC_MESSAGE _pRpcMessage,
  2534. DWORD *_pdwStubPhase);
  2535. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate_Export_Proxy(
  2536. ICertificate * This,
  2537. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  2538. /* [retval][out] */ BSTR *pVal);
  2539. void __RPC_STUB ICertificate_Export_Stub(
  2540. IRpcStubBuffer *This,
  2541. IRpcChannelBuffer *_pRpcChannelBuffer,
  2542. PRPC_MESSAGE _pRpcMessage,
  2543. DWORD *_pdwStubPhase);
  2544. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate_Import_Proxy(
  2545. ICertificate * This,
  2546. /* [in] */ BSTR EncodedCertificate);
  2547. void __RPC_STUB ICertificate_Import_Stub(
  2548. IRpcStubBuffer *This,
  2549. IRpcChannelBuffer *_pRpcChannelBuffer,
  2550. PRPC_MESSAGE _pRpcMessage,
  2551. DWORD *_pdwStubPhase);
  2552. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate_Display_Proxy(
  2553. ICertificate * This);
  2554. void __RPC_STUB ICertificate_Display_Stub(
  2555. IRpcStubBuffer *This,
  2556. IRpcChannelBuffer *_pRpcChannelBuffer,
  2557. PRPC_MESSAGE _pRpcMessage,
  2558. DWORD *_pdwStubPhase);
  2559. #endif /* __ICertificate_INTERFACE_DEFINED__ */
  2560. #ifndef __ICertificates_INTERFACE_DEFINED__
  2561. #define __ICertificates_INTERFACE_DEFINED__
  2562. /* interface ICertificates */
  2563. /* [unique][helpstring][dual][uuid][object] */
  2564. EXTERN_C const IID IID_ICertificates;
  2565. #if defined(__cplusplus) && !defined(CINTERFACE)
  2566. MIDL_INTERFACE("68646716-BDA0-4046-AB82-4444BC93B84A")
  2567. ICertificates : public IDispatch
  2568. {
  2569. public:
  2570. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  2571. /* [in] */ long Index,
  2572. /* [retval][out] */ VARIANT *pVal) = 0;
  2573. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  2574. /* [retval][out] */ long *pVal) = 0;
  2575. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  2576. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  2577. };
  2578. #else /* C style interface */
  2579. typedef struct ICertificatesVtbl
  2580. {
  2581. BEGIN_INTERFACE
  2582. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2583. ICertificates * This,
  2584. /* [in] */ REFIID riid,
  2585. /* [iid_is][out] */ void **ppvObject);
  2586. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2587. ICertificates * This);
  2588. ULONG ( STDMETHODCALLTYPE *Release )(
  2589. ICertificates * This);
  2590. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2591. ICertificates * This,
  2592. /* [out] */ UINT *pctinfo);
  2593. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2594. ICertificates * This,
  2595. /* [in] */ UINT iTInfo,
  2596. /* [in] */ LCID lcid,
  2597. /* [out] */ ITypeInfo **ppTInfo);
  2598. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2599. ICertificates * This,
  2600. /* [in] */ REFIID riid,
  2601. /* [size_is][in] */ LPOLESTR *rgszNames,
  2602. /* [in] */ UINT cNames,
  2603. /* [in] */ LCID lcid,
  2604. /* [size_is][out] */ DISPID *rgDispId);
  2605. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2606. ICertificates * This,
  2607. /* [in] */ DISPID dispIdMember,
  2608. /* [in] */ REFIID riid,
  2609. /* [in] */ LCID lcid,
  2610. /* [in] */ WORD wFlags,
  2611. /* [out][in] */ DISPPARAMS *pDispParams,
  2612. /* [out] */ VARIANT *pVarResult,
  2613. /* [out] */ EXCEPINFO *pExcepInfo,
  2614. /* [out] */ UINT *puArgErr);
  2615. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  2616. ICertificates * This,
  2617. /* [in] */ long Index,
  2618. /* [retval][out] */ VARIANT *pVal);
  2619. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  2620. ICertificates * This,
  2621. /* [retval][out] */ long *pVal);
  2622. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  2623. ICertificates * This,
  2624. /* [retval][out] */ LPUNKNOWN *pVal);
  2625. END_INTERFACE
  2626. } ICertificatesVtbl;
  2627. interface ICertificates
  2628. {
  2629. CONST_VTBL struct ICertificatesVtbl *lpVtbl;
  2630. };
  2631. #ifdef COBJMACROS
  2632. #define ICertificates_QueryInterface(This,riid,ppvObject) \
  2633. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2634. #define ICertificates_AddRef(This) \
  2635. (This)->lpVtbl -> AddRef(This)
  2636. #define ICertificates_Release(This) \
  2637. (This)->lpVtbl -> Release(This)
  2638. #define ICertificates_GetTypeInfoCount(This,pctinfo) \
  2639. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2640. #define ICertificates_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2641. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2642. #define ICertificates_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2643. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2644. #define ICertificates_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2645. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2646. #define ICertificates_get_Item(This,Index,pVal) \
  2647. (This)->lpVtbl -> get_Item(This,Index,pVal)
  2648. #define ICertificates_get_Count(This,pVal) \
  2649. (This)->lpVtbl -> get_Count(This,pVal)
  2650. #define ICertificates_get__NewEnum(This,pVal) \
  2651. (This)->lpVtbl -> get__NewEnum(This,pVal)
  2652. #endif /* COBJMACROS */
  2653. #endif /* C style interface */
  2654. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificates_get_Item_Proxy(
  2655. ICertificates * This,
  2656. /* [in] */ long Index,
  2657. /* [retval][out] */ VARIANT *pVal);
  2658. void __RPC_STUB ICertificates_get_Item_Stub(
  2659. IRpcStubBuffer *This,
  2660. IRpcChannelBuffer *_pRpcChannelBuffer,
  2661. PRPC_MESSAGE _pRpcMessage,
  2662. DWORD *_pdwStubPhase);
  2663. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificates_get_Count_Proxy(
  2664. ICertificates * This,
  2665. /* [retval][out] */ long *pVal);
  2666. void __RPC_STUB ICertificates_get_Count_Stub(
  2667. IRpcStubBuffer *This,
  2668. IRpcChannelBuffer *_pRpcChannelBuffer,
  2669. PRPC_MESSAGE _pRpcMessage,
  2670. DWORD *_pdwStubPhase);
  2671. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificates_get__NewEnum_Proxy(
  2672. ICertificates * This,
  2673. /* [retval][out] */ LPUNKNOWN *pVal);
  2674. void __RPC_STUB ICertificates_get__NewEnum_Stub(
  2675. IRpcStubBuffer *This,
  2676. IRpcChannelBuffer *_pRpcChannelBuffer,
  2677. PRPC_MESSAGE _pRpcMessage,
  2678. DWORD *_pdwStubPhase);
  2679. #endif /* __ICertificates_INTERFACE_DEFINED__ */
  2680. #ifndef __IChain_INTERFACE_DEFINED__
  2681. #define __IChain_INTERFACE_DEFINED__
  2682. /* interface IChain */
  2683. /* [unique][helpstring][dual][uuid][object] */
  2684. EXTERN_C const IID IID_IChain;
  2685. #if defined(__cplusplus) && !defined(CINTERFACE)
  2686. MIDL_INTERFACE("77F6F881-5D3A-4F2F-AEF0-E4A2F9AA689D")
  2687. IChain : public IDispatch
  2688. {
  2689. public:
  2690. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Certificates(
  2691. /* [retval][out] */ ICertificates **pVal) = 0;
  2692. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status(
  2693. /* [defaultvalue][in] */ long Index,
  2694. /* [retval][out] */ long *pVal) = 0;
  2695. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Build(
  2696. /* [in] */ ICertificate *pICertificate,
  2697. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  2698. };
  2699. #else /* C style interface */
  2700. typedef struct IChainVtbl
  2701. {
  2702. BEGIN_INTERFACE
  2703. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2704. IChain * This,
  2705. /* [in] */ REFIID riid,
  2706. /* [iid_is][out] */ void **ppvObject);
  2707. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2708. IChain * This);
  2709. ULONG ( STDMETHODCALLTYPE *Release )(
  2710. IChain * This);
  2711. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2712. IChain * This,
  2713. /* [out] */ UINT *pctinfo);
  2714. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2715. IChain * This,
  2716. /* [in] */ UINT iTInfo,
  2717. /* [in] */ LCID lcid,
  2718. /* [out] */ ITypeInfo **ppTInfo);
  2719. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2720. IChain * This,
  2721. /* [in] */ REFIID riid,
  2722. /* [size_is][in] */ LPOLESTR *rgszNames,
  2723. /* [in] */ UINT cNames,
  2724. /* [in] */ LCID lcid,
  2725. /* [size_is][out] */ DISPID *rgDispId);
  2726. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2727. IChain * This,
  2728. /* [in] */ DISPID dispIdMember,
  2729. /* [in] */ REFIID riid,
  2730. /* [in] */ LCID lcid,
  2731. /* [in] */ WORD wFlags,
  2732. /* [out][in] */ DISPPARAMS *pDispParams,
  2733. /* [out] */ VARIANT *pVarResult,
  2734. /* [out] */ EXCEPINFO *pExcepInfo,
  2735. /* [out] */ UINT *puArgErr);
  2736. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Certificates )(
  2737. IChain * This,
  2738. /* [retval][out] */ ICertificates **pVal);
  2739. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
  2740. IChain * This,
  2741. /* [defaultvalue][in] */ long Index,
  2742. /* [retval][out] */ long *pVal);
  2743. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Build )(
  2744. IChain * This,
  2745. /* [in] */ ICertificate *pICertificate,
  2746. /* [retval][out] */ VARIANT_BOOL *pVal);
  2747. END_INTERFACE
  2748. } IChainVtbl;
  2749. interface IChain
  2750. {
  2751. CONST_VTBL struct IChainVtbl *lpVtbl;
  2752. };
  2753. #ifdef COBJMACROS
  2754. #define IChain_QueryInterface(This,riid,ppvObject) \
  2755. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2756. #define IChain_AddRef(This) \
  2757. (This)->lpVtbl -> AddRef(This)
  2758. #define IChain_Release(This) \
  2759. (This)->lpVtbl -> Release(This)
  2760. #define IChain_GetTypeInfoCount(This,pctinfo) \
  2761. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2762. #define IChain_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2763. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2764. #define IChain_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2765. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2766. #define IChain_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2767. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2768. #define IChain_get_Certificates(This,pVal) \
  2769. (This)->lpVtbl -> get_Certificates(This,pVal)
  2770. #define IChain_get_Status(This,Index,pVal) \
  2771. (This)->lpVtbl -> get_Status(This,Index,pVal)
  2772. #define IChain_Build(This,pICertificate,pVal) \
  2773. (This)->lpVtbl -> Build(This,pICertificate,pVal)
  2774. #endif /* COBJMACROS */
  2775. #endif /* C style interface */
  2776. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IChain_get_Certificates_Proxy(
  2777. IChain * This,
  2778. /* [retval][out] */ ICertificates **pVal);
  2779. void __RPC_STUB IChain_get_Certificates_Stub(
  2780. IRpcStubBuffer *This,
  2781. IRpcChannelBuffer *_pRpcChannelBuffer,
  2782. PRPC_MESSAGE _pRpcMessage,
  2783. DWORD *_pdwStubPhase);
  2784. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IChain_get_Status_Proxy(
  2785. IChain * This,
  2786. /* [defaultvalue][in] */ long Index,
  2787. /* [retval][out] */ long *pVal);
  2788. void __RPC_STUB IChain_get_Status_Stub(
  2789. IRpcStubBuffer *This,
  2790. IRpcChannelBuffer *_pRpcChannelBuffer,
  2791. PRPC_MESSAGE _pRpcMessage,
  2792. DWORD *_pdwStubPhase);
  2793. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IChain_Build_Proxy(
  2794. IChain * This,
  2795. /* [in] */ ICertificate *pICertificate,
  2796. /* [retval][out] */ VARIANT_BOOL *pVal);
  2797. void __RPC_STUB IChain_Build_Stub(
  2798. IRpcStubBuffer *This,
  2799. IRpcChannelBuffer *_pRpcChannelBuffer,
  2800. PRPC_MESSAGE _pRpcMessage,
  2801. DWORD *_pdwStubPhase);
  2802. #endif /* __IChain_INTERFACE_DEFINED__ */
  2803. #ifndef __IStore_INTERFACE_DEFINED__
  2804. #define __IStore_INTERFACE_DEFINED__
  2805. /* interface IStore */
  2806. /* [unique][helpstring][dual][uuid][object] */
  2807. EXTERN_C const IID IID_IStore;
  2808. #if defined(__cplusplus) && !defined(CINTERFACE)
  2809. MIDL_INTERFACE("E860EF75-1B63-4254-AF47-960DAA3DD337")
  2810. IStore : public IDispatch
  2811. {
  2812. public:
  2813. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Certificates(
  2814. /* [retval][out] */ ICertificates **pVal) = 0;
  2815. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Open(
  2816. /* [defaultvalue][in] */ CAPICOM_STORE_LOCATION StoreLocation = CAPICOM_CURRENT_USER_STORE,
  2817. /* [defaultvalue][in] */ BSTR StoreName = L"My",
  2818. /* [defaultvalue][in] */ CAPICOM_STORE_OPEN_MODE OpenMode = CAPICOM_STORE_OPEN_READ_ONLY) = 0;
  2819. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  2820. /* [in] */ ICertificate *pVal) = 0;
  2821. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  2822. /* [in] */ ICertificate *pVal) = 0;
  2823. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Export(
  2824. /* [defaultvalue][in] */ CAPICOM_STORE_SAVE_AS_TYPE SaveAs,
  2825. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  2826. /* [retval][out] */ BSTR *pVal) = 0;
  2827. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Import(
  2828. /* [in] */ BSTR EncodedStore) = 0;
  2829. };
  2830. #else /* C style interface */
  2831. typedef struct IStoreVtbl
  2832. {
  2833. BEGIN_INTERFACE
  2834. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2835. IStore * This,
  2836. /* [in] */ REFIID riid,
  2837. /* [iid_is][out] */ void **ppvObject);
  2838. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2839. IStore * This);
  2840. ULONG ( STDMETHODCALLTYPE *Release )(
  2841. IStore * This);
  2842. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2843. IStore * This,
  2844. /* [out] */ UINT *pctinfo);
  2845. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2846. IStore * This,
  2847. /* [in] */ UINT iTInfo,
  2848. /* [in] */ LCID lcid,
  2849. /* [out] */ ITypeInfo **ppTInfo);
  2850. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2851. IStore * This,
  2852. /* [in] */ REFIID riid,
  2853. /* [size_is][in] */ LPOLESTR *rgszNames,
  2854. /* [in] */ UINT cNames,
  2855. /* [in] */ LCID lcid,
  2856. /* [size_is][out] */ DISPID *rgDispId);
  2857. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2858. IStore * This,
  2859. /* [in] */ DISPID dispIdMember,
  2860. /* [in] */ REFIID riid,
  2861. /* [in] */ LCID lcid,
  2862. /* [in] */ WORD wFlags,
  2863. /* [out][in] */ DISPPARAMS *pDispParams,
  2864. /* [out] */ VARIANT *pVarResult,
  2865. /* [out] */ EXCEPINFO *pExcepInfo,
  2866. /* [out] */ UINT *puArgErr);
  2867. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Certificates )(
  2868. IStore * This,
  2869. /* [retval][out] */ ICertificates **pVal);
  2870. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  2871. IStore * This,
  2872. /* [defaultvalue][in] */ CAPICOM_STORE_LOCATION StoreLocation,
  2873. /* [defaultvalue][in] */ BSTR StoreName,
  2874. /* [defaultvalue][in] */ CAPICOM_STORE_OPEN_MODE OpenMode);
  2875. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  2876. IStore * This,
  2877. /* [in] */ ICertificate *pVal);
  2878. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  2879. IStore * This,
  2880. /* [in] */ ICertificate *pVal);
  2881. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Export )(
  2882. IStore * This,
  2883. /* [defaultvalue][in] */ CAPICOM_STORE_SAVE_AS_TYPE SaveAs,
  2884. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  2885. /* [retval][out] */ BSTR *pVal);
  2886. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Import )(
  2887. IStore * This,
  2888. /* [in] */ BSTR EncodedStore);
  2889. END_INTERFACE
  2890. } IStoreVtbl;
  2891. interface IStore
  2892. {
  2893. CONST_VTBL struct IStoreVtbl *lpVtbl;
  2894. };
  2895. #ifdef COBJMACROS
  2896. #define IStore_QueryInterface(This,riid,ppvObject) \
  2897. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2898. #define IStore_AddRef(This) \
  2899. (This)->lpVtbl -> AddRef(This)
  2900. #define IStore_Release(This) \
  2901. (This)->lpVtbl -> Release(This)
  2902. #define IStore_GetTypeInfoCount(This,pctinfo) \
  2903. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2904. #define IStore_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2905. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2906. #define IStore_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2907. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2908. #define IStore_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2909. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2910. #define IStore_get_Certificates(This,pVal) \
  2911. (This)->lpVtbl -> get_Certificates(This,pVal)
  2912. #define IStore_Open(This,StoreLocation,StoreName,OpenMode) \
  2913. (This)->lpVtbl -> Open(This,StoreLocation,StoreName,OpenMode)
  2914. #define IStore_Add(This,pVal) \
  2915. (This)->lpVtbl -> Add(This,pVal)
  2916. #define IStore_Remove(This,pVal) \
  2917. (This)->lpVtbl -> Remove(This,pVal)
  2918. #define IStore_Export(This,SaveAs,EncodingType,pVal) \
  2919. (This)->lpVtbl -> Export(This,SaveAs,EncodingType,pVal)
  2920. #define IStore_Import(This,EncodedStore) \
  2921. (This)->lpVtbl -> Import(This,EncodedStore)
  2922. #endif /* COBJMACROS */
  2923. #endif /* C style interface */
  2924. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStore_get_Certificates_Proxy(
  2925. IStore * This,
  2926. /* [retval][out] */ ICertificates **pVal);
  2927. void __RPC_STUB IStore_get_Certificates_Stub(
  2928. IRpcStubBuffer *This,
  2929. IRpcChannelBuffer *_pRpcChannelBuffer,
  2930. PRPC_MESSAGE _pRpcMessage,
  2931. DWORD *_pdwStubPhase);
  2932. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStore_Open_Proxy(
  2933. IStore * This,
  2934. /* [defaultvalue][in] */ CAPICOM_STORE_LOCATION StoreLocation,
  2935. /* [defaultvalue][in] */ BSTR StoreName,
  2936. /* [defaultvalue][in] */ CAPICOM_STORE_OPEN_MODE OpenMode);
  2937. void __RPC_STUB IStore_Open_Stub(
  2938. IRpcStubBuffer *This,
  2939. IRpcChannelBuffer *_pRpcChannelBuffer,
  2940. PRPC_MESSAGE _pRpcMessage,
  2941. DWORD *_pdwStubPhase);
  2942. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStore_Add_Proxy(
  2943. IStore * This,
  2944. /* [in] */ ICertificate *pVal);
  2945. void __RPC_STUB IStore_Add_Stub(
  2946. IRpcStubBuffer *This,
  2947. IRpcChannelBuffer *_pRpcChannelBuffer,
  2948. PRPC_MESSAGE _pRpcMessage,
  2949. DWORD *_pdwStubPhase);
  2950. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStore_Remove_Proxy(
  2951. IStore * This,
  2952. /* [in] */ ICertificate *pVal);
  2953. void __RPC_STUB IStore_Remove_Stub(
  2954. IRpcStubBuffer *This,
  2955. IRpcChannelBuffer *_pRpcChannelBuffer,
  2956. PRPC_MESSAGE _pRpcMessage,
  2957. DWORD *_pdwStubPhase);
  2958. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStore_Export_Proxy(
  2959. IStore * This,
  2960. /* [defaultvalue][in] */ CAPICOM_STORE_SAVE_AS_TYPE SaveAs,
  2961. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  2962. /* [retval][out] */ BSTR *pVal);
  2963. void __RPC_STUB IStore_Export_Stub(
  2964. IRpcStubBuffer *This,
  2965. IRpcChannelBuffer *_pRpcChannelBuffer,
  2966. PRPC_MESSAGE _pRpcMessage,
  2967. DWORD *_pdwStubPhase);
  2968. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStore_Import_Proxy(
  2969. IStore * This,
  2970. /* [in] */ BSTR EncodedStore);
  2971. void __RPC_STUB IStore_Import_Stub(
  2972. IRpcStubBuffer *This,
  2973. IRpcChannelBuffer *_pRpcChannelBuffer,
  2974. PRPC_MESSAGE _pRpcMessage,
  2975. DWORD *_pdwStubPhase);
  2976. #endif /* __IStore_INTERFACE_DEFINED__ */
  2977. #ifndef __IAttribute_INTERFACE_DEFINED__
  2978. #define __IAttribute_INTERFACE_DEFINED__
  2979. /* interface IAttribute */
  2980. /* [unique][helpstring][dual][uuid][object] */
  2981. EXTERN_C const IID IID_IAttribute;
  2982. #if defined(__cplusplus) && !defined(CINTERFACE)
  2983. MIDL_INTERFACE("B17A8D78-B5A6-45F7-BA21-01AB94B08415")
  2984. IAttribute : public IDispatch
  2985. {
  2986. public:
  2987. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  2988. /* [retval][out] */ CAPICOM_ATTRIBUTE *pVal) = 0;
  2989. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  2990. /* [in] */ CAPICOM_ATTRIBUTE newVal) = 0;
  2991. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  2992. /* [retval][out] */ VARIANT *pVal) = 0;
  2993. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value(
  2994. /* [in] */ VARIANT newVal) = 0;
  2995. };
  2996. #else /* C style interface */
  2997. typedef struct IAttributeVtbl
  2998. {
  2999. BEGIN_INTERFACE
  3000. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3001. IAttribute * This,
  3002. /* [in] */ REFIID riid,
  3003. /* [iid_is][out] */ void **ppvObject);
  3004. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3005. IAttribute * This);
  3006. ULONG ( STDMETHODCALLTYPE *Release )(
  3007. IAttribute * This);
  3008. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3009. IAttribute * This,
  3010. /* [out] */ UINT *pctinfo);
  3011. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3012. IAttribute * This,
  3013. /* [in] */ UINT iTInfo,
  3014. /* [in] */ LCID lcid,
  3015. /* [out] */ ITypeInfo **ppTInfo);
  3016. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3017. IAttribute * This,
  3018. /* [in] */ REFIID riid,
  3019. /* [size_is][in] */ LPOLESTR *rgszNames,
  3020. /* [in] */ UINT cNames,
  3021. /* [in] */ LCID lcid,
  3022. /* [size_is][out] */ DISPID *rgDispId);
  3023. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3024. IAttribute * This,
  3025. /* [in] */ DISPID dispIdMember,
  3026. /* [in] */ REFIID riid,
  3027. /* [in] */ LCID lcid,
  3028. /* [in] */ WORD wFlags,
  3029. /* [out][in] */ DISPPARAMS *pDispParams,
  3030. /* [out] */ VARIANT *pVarResult,
  3031. /* [out] */ EXCEPINFO *pExcepInfo,
  3032. /* [out] */ UINT *puArgErr);
  3033. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  3034. IAttribute * This,
  3035. /* [retval][out] */ CAPICOM_ATTRIBUTE *pVal);
  3036. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  3037. IAttribute * This,
  3038. /* [in] */ CAPICOM_ATTRIBUTE newVal);
  3039. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  3040. IAttribute * This,
  3041. /* [retval][out] */ VARIANT *pVal);
  3042. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  3043. IAttribute * This,
  3044. /* [in] */ VARIANT newVal);
  3045. END_INTERFACE
  3046. } IAttributeVtbl;
  3047. interface IAttribute
  3048. {
  3049. CONST_VTBL struct IAttributeVtbl *lpVtbl;
  3050. };
  3051. #ifdef COBJMACROS
  3052. #define IAttribute_QueryInterface(This,riid,ppvObject) \
  3053. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3054. #define IAttribute_AddRef(This) \
  3055. (This)->lpVtbl -> AddRef(This)
  3056. #define IAttribute_Release(This) \
  3057. (This)->lpVtbl -> Release(This)
  3058. #define IAttribute_GetTypeInfoCount(This,pctinfo) \
  3059. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3060. #define IAttribute_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3061. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3062. #define IAttribute_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3063. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3064. #define IAttribute_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3065. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3066. #define IAttribute_get_Name(This,pVal) \
  3067. (This)->lpVtbl -> get_Name(This,pVal)
  3068. #define IAttribute_put_Name(This,newVal) \
  3069. (This)->lpVtbl -> put_Name(This,newVal)
  3070. #define IAttribute_get_Value(This,pVal) \
  3071. (This)->lpVtbl -> get_Value(This,pVal)
  3072. #define IAttribute_put_Value(This,newVal) \
  3073. (This)->lpVtbl -> put_Value(This,newVal)
  3074. #endif /* COBJMACROS */
  3075. #endif /* C style interface */
  3076. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAttribute_get_Name_Proxy(
  3077. IAttribute * This,
  3078. /* [retval][out] */ CAPICOM_ATTRIBUTE *pVal);
  3079. void __RPC_STUB IAttribute_get_Name_Stub(
  3080. IRpcStubBuffer *This,
  3081. IRpcChannelBuffer *_pRpcChannelBuffer,
  3082. PRPC_MESSAGE _pRpcMessage,
  3083. DWORD *_pdwStubPhase);
  3084. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IAttribute_put_Name_Proxy(
  3085. IAttribute * This,
  3086. /* [in] */ CAPICOM_ATTRIBUTE newVal);
  3087. void __RPC_STUB IAttribute_put_Name_Stub(
  3088. IRpcStubBuffer *This,
  3089. IRpcChannelBuffer *_pRpcChannelBuffer,
  3090. PRPC_MESSAGE _pRpcMessage,
  3091. DWORD *_pdwStubPhase);
  3092. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAttribute_get_Value_Proxy(
  3093. IAttribute * This,
  3094. /* [retval][out] */ VARIANT *pVal);
  3095. void __RPC_STUB IAttribute_get_Value_Stub(
  3096. IRpcStubBuffer *This,
  3097. IRpcChannelBuffer *_pRpcChannelBuffer,
  3098. PRPC_MESSAGE _pRpcMessage,
  3099. DWORD *_pdwStubPhase);
  3100. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IAttribute_put_Value_Proxy(
  3101. IAttribute * This,
  3102. /* [in] */ VARIANT newVal);
  3103. void __RPC_STUB IAttribute_put_Value_Stub(
  3104. IRpcStubBuffer *This,
  3105. IRpcChannelBuffer *_pRpcChannelBuffer,
  3106. PRPC_MESSAGE _pRpcMessage,
  3107. DWORD *_pdwStubPhase);
  3108. #endif /* __IAttribute_INTERFACE_DEFINED__ */
  3109. #ifndef __IAttributes_INTERFACE_DEFINED__
  3110. #define __IAttributes_INTERFACE_DEFINED__
  3111. /* interface IAttributes */
  3112. /* [unique][helpstring][dual][uuid][object] */
  3113. EXTERN_C const IID IID_IAttributes;
  3114. #if defined(__cplusplus) && !defined(CINTERFACE)
  3115. MIDL_INTERFACE("6ADC653E-D5B9-422A-991A-A2B0119CEDAC")
  3116. IAttributes : public IDispatch
  3117. {
  3118. public:
  3119. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  3120. /* [in] */ long Index,
  3121. /* [retval][out] */ VARIANT *pVal) = 0;
  3122. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  3123. /* [retval][out] */ long *pVal) = 0;
  3124. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3125. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  3126. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  3127. /* [in] */ IAttribute *pVal) = 0;
  3128. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  3129. /* [in] */ long Index) = 0;
  3130. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  3131. };
  3132. #else /* C style interface */
  3133. typedef struct IAttributesVtbl
  3134. {
  3135. BEGIN_INTERFACE
  3136. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3137. IAttributes * This,
  3138. /* [in] */ REFIID riid,
  3139. /* [iid_is][out] */ void **ppvObject);
  3140. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3141. IAttributes * This);
  3142. ULONG ( STDMETHODCALLTYPE *Release )(
  3143. IAttributes * This);
  3144. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3145. IAttributes * This,
  3146. /* [out] */ UINT *pctinfo);
  3147. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3148. IAttributes * This,
  3149. /* [in] */ UINT iTInfo,
  3150. /* [in] */ LCID lcid,
  3151. /* [out] */ ITypeInfo **ppTInfo);
  3152. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3153. IAttributes * This,
  3154. /* [in] */ REFIID riid,
  3155. /* [size_is][in] */ LPOLESTR *rgszNames,
  3156. /* [in] */ UINT cNames,
  3157. /* [in] */ LCID lcid,
  3158. /* [size_is][out] */ DISPID *rgDispId);
  3159. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3160. IAttributes * This,
  3161. /* [in] */ DISPID dispIdMember,
  3162. /* [in] */ REFIID riid,
  3163. /* [in] */ LCID lcid,
  3164. /* [in] */ WORD wFlags,
  3165. /* [out][in] */ DISPPARAMS *pDispParams,
  3166. /* [out] */ VARIANT *pVarResult,
  3167. /* [out] */ EXCEPINFO *pExcepInfo,
  3168. /* [out] */ UINT *puArgErr);
  3169. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  3170. IAttributes * This,
  3171. /* [in] */ long Index,
  3172. /* [retval][out] */ VARIANT *pVal);
  3173. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  3174. IAttributes * This,
  3175. /* [retval][out] */ long *pVal);
  3176. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  3177. IAttributes * This,
  3178. /* [retval][out] */ LPUNKNOWN *pVal);
  3179. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  3180. IAttributes * This,
  3181. /* [in] */ IAttribute *pVal);
  3182. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  3183. IAttributes * This,
  3184. /* [in] */ long Index);
  3185. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
  3186. IAttributes * This);
  3187. END_INTERFACE
  3188. } IAttributesVtbl;
  3189. interface IAttributes
  3190. {
  3191. CONST_VTBL struct IAttributesVtbl *lpVtbl;
  3192. };
  3193. #ifdef COBJMACROS
  3194. #define IAttributes_QueryInterface(This,riid,ppvObject) \
  3195. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3196. #define IAttributes_AddRef(This) \
  3197. (This)->lpVtbl -> AddRef(This)
  3198. #define IAttributes_Release(This) \
  3199. (This)->lpVtbl -> Release(This)
  3200. #define IAttributes_GetTypeInfoCount(This,pctinfo) \
  3201. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3202. #define IAttributes_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3203. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3204. #define IAttributes_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3205. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3206. #define IAttributes_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3207. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3208. #define IAttributes_get_Item(This,Index,pVal) \
  3209. (This)->lpVtbl -> get_Item(This,Index,pVal)
  3210. #define IAttributes_get_Count(This,pVal) \
  3211. (This)->lpVtbl -> get_Count(This,pVal)
  3212. #define IAttributes_get__NewEnum(This,pVal) \
  3213. (This)->lpVtbl -> get__NewEnum(This,pVal)
  3214. #define IAttributes_Add(This,pVal) \
  3215. (This)->lpVtbl -> Add(This,pVal)
  3216. #define IAttributes_Remove(This,Index) \
  3217. (This)->lpVtbl -> Remove(This,Index)
  3218. #define IAttributes_Clear(This) \
  3219. (This)->lpVtbl -> Clear(This)
  3220. #endif /* COBJMACROS */
  3221. #endif /* C style interface */
  3222. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAttributes_get_Item_Proxy(
  3223. IAttributes * This,
  3224. /* [in] */ long Index,
  3225. /* [retval][out] */ VARIANT *pVal);
  3226. void __RPC_STUB IAttributes_get_Item_Stub(
  3227. IRpcStubBuffer *This,
  3228. IRpcChannelBuffer *_pRpcChannelBuffer,
  3229. PRPC_MESSAGE _pRpcMessage,
  3230. DWORD *_pdwStubPhase);
  3231. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAttributes_get_Count_Proxy(
  3232. IAttributes * This,
  3233. /* [retval][out] */ long *pVal);
  3234. void __RPC_STUB IAttributes_get_Count_Stub(
  3235. IRpcStubBuffer *This,
  3236. IRpcChannelBuffer *_pRpcChannelBuffer,
  3237. PRPC_MESSAGE _pRpcMessage,
  3238. DWORD *_pdwStubPhase);
  3239. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAttributes_get__NewEnum_Proxy(
  3240. IAttributes * This,
  3241. /* [retval][out] */ LPUNKNOWN *pVal);
  3242. void __RPC_STUB IAttributes_get__NewEnum_Stub(
  3243. IRpcStubBuffer *This,
  3244. IRpcChannelBuffer *_pRpcChannelBuffer,
  3245. PRPC_MESSAGE _pRpcMessage,
  3246. DWORD *_pdwStubPhase);
  3247. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAttributes_Add_Proxy(
  3248. IAttributes * This,
  3249. /* [in] */ IAttribute *pVal);
  3250. void __RPC_STUB IAttributes_Add_Stub(
  3251. IRpcStubBuffer *This,
  3252. IRpcChannelBuffer *_pRpcChannelBuffer,
  3253. PRPC_MESSAGE _pRpcMessage,
  3254. DWORD *_pdwStubPhase);
  3255. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAttributes_Remove_Proxy(
  3256. IAttributes * This,
  3257. /* [in] */ long Index);
  3258. void __RPC_STUB IAttributes_Remove_Stub(
  3259. IRpcStubBuffer *This,
  3260. IRpcChannelBuffer *_pRpcChannelBuffer,
  3261. PRPC_MESSAGE _pRpcMessage,
  3262. DWORD *_pdwStubPhase);
  3263. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAttributes_Clear_Proxy(
  3264. IAttributes * This);
  3265. void __RPC_STUB IAttributes_Clear_Stub(
  3266. IRpcStubBuffer *This,
  3267. IRpcChannelBuffer *_pRpcChannelBuffer,
  3268. PRPC_MESSAGE _pRpcMessage,
  3269. DWORD *_pdwStubPhase);
  3270. #endif /* __IAttributes_INTERFACE_DEFINED__ */
  3271. #ifndef __ISigner_INTERFACE_DEFINED__
  3272. #define __ISigner_INTERFACE_DEFINED__
  3273. /* interface ISigner */
  3274. /* [unique][helpstring][dual][uuid][object] */
  3275. EXTERN_C const IID IID_ISigner;
  3276. #if defined(__cplusplus) && !defined(CINTERFACE)
  3277. MIDL_INTERFACE("51017B88-1913-49AD-82BE-6BB7C417DCF2")
  3278. ISigner : public IDispatch
  3279. {
  3280. public:
  3281. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Certificate(
  3282. /* [retval][out] */ ICertificate **pVal) = 0;
  3283. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Certificate(
  3284. /* [in] */ ICertificate *newVal) = 0;
  3285. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AuthenticatedAttributes(
  3286. /* [retval][out] */ IAttributes **pVal) = 0;
  3287. };
  3288. #else /* C style interface */
  3289. typedef struct ISignerVtbl
  3290. {
  3291. BEGIN_INTERFACE
  3292. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3293. ISigner * This,
  3294. /* [in] */ REFIID riid,
  3295. /* [iid_is][out] */ void **ppvObject);
  3296. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3297. ISigner * This);
  3298. ULONG ( STDMETHODCALLTYPE *Release )(
  3299. ISigner * This);
  3300. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3301. ISigner * This,
  3302. /* [out] */ UINT *pctinfo);
  3303. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3304. ISigner * This,
  3305. /* [in] */ UINT iTInfo,
  3306. /* [in] */ LCID lcid,
  3307. /* [out] */ ITypeInfo **ppTInfo);
  3308. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3309. ISigner * This,
  3310. /* [in] */ REFIID riid,
  3311. /* [size_is][in] */ LPOLESTR *rgszNames,
  3312. /* [in] */ UINT cNames,
  3313. /* [in] */ LCID lcid,
  3314. /* [size_is][out] */ DISPID *rgDispId);
  3315. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3316. ISigner * This,
  3317. /* [in] */ DISPID dispIdMember,
  3318. /* [in] */ REFIID riid,
  3319. /* [in] */ LCID lcid,
  3320. /* [in] */ WORD wFlags,
  3321. /* [out][in] */ DISPPARAMS *pDispParams,
  3322. /* [out] */ VARIANT *pVarResult,
  3323. /* [out] */ EXCEPINFO *pExcepInfo,
  3324. /* [out] */ UINT *puArgErr);
  3325. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Certificate )(
  3326. ISigner * This,
  3327. /* [retval][out] */ ICertificate **pVal);
  3328. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Certificate )(
  3329. ISigner * This,
  3330. /* [in] */ ICertificate *newVal);
  3331. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AuthenticatedAttributes )(
  3332. ISigner * This,
  3333. /* [retval][out] */ IAttributes **pVal);
  3334. END_INTERFACE
  3335. } ISignerVtbl;
  3336. interface ISigner
  3337. {
  3338. CONST_VTBL struct ISignerVtbl *lpVtbl;
  3339. };
  3340. #ifdef COBJMACROS
  3341. #define ISigner_QueryInterface(This,riid,ppvObject) \
  3342. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3343. #define ISigner_AddRef(This) \
  3344. (This)->lpVtbl -> AddRef(This)
  3345. #define ISigner_Release(This) \
  3346. (This)->lpVtbl -> Release(This)
  3347. #define ISigner_GetTypeInfoCount(This,pctinfo) \
  3348. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3349. #define ISigner_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3350. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3351. #define ISigner_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3352. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3353. #define ISigner_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3354. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3355. #define ISigner_get_Certificate(This,pVal) \
  3356. (This)->lpVtbl -> get_Certificate(This,pVal)
  3357. #define ISigner_put_Certificate(This,newVal) \
  3358. (This)->lpVtbl -> put_Certificate(This,newVal)
  3359. #define ISigner_get_AuthenticatedAttributes(This,pVal) \
  3360. (This)->lpVtbl -> get_AuthenticatedAttributes(This,pVal)
  3361. #endif /* COBJMACROS */
  3362. #endif /* C style interface */
  3363. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISigner_get_Certificate_Proxy(
  3364. ISigner * This,
  3365. /* [retval][out] */ ICertificate **pVal);
  3366. void __RPC_STUB ISigner_get_Certificate_Stub(
  3367. IRpcStubBuffer *This,
  3368. IRpcChannelBuffer *_pRpcChannelBuffer,
  3369. PRPC_MESSAGE _pRpcMessage,
  3370. DWORD *_pdwStubPhase);
  3371. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISigner_put_Certificate_Proxy(
  3372. ISigner * This,
  3373. /* [in] */ ICertificate *newVal);
  3374. void __RPC_STUB ISigner_put_Certificate_Stub(
  3375. IRpcStubBuffer *This,
  3376. IRpcChannelBuffer *_pRpcChannelBuffer,
  3377. PRPC_MESSAGE _pRpcMessage,
  3378. DWORD *_pdwStubPhase);
  3379. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISigner_get_AuthenticatedAttributes_Proxy(
  3380. ISigner * This,
  3381. /* [retval][out] */ IAttributes **pVal);
  3382. void __RPC_STUB ISigner_get_AuthenticatedAttributes_Stub(
  3383. IRpcStubBuffer *This,
  3384. IRpcChannelBuffer *_pRpcChannelBuffer,
  3385. PRPC_MESSAGE _pRpcMessage,
  3386. DWORD *_pdwStubPhase);
  3387. #endif /* __ISigner_INTERFACE_DEFINED__ */
  3388. #ifndef __ISigners_INTERFACE_DEFINED__
  3389. #define __ISigners_INTERFACE_DEFINED__
  3390. /* interface ISigners */
  3391. /* [unique][helpstring][dual][uuid][object] */
  3392. EXTERN_C const IID IID_ISigners;
  3393. #if defined(__cplusplus) && !defined(CINTERFACE)
  3394. MIDL_INTERFACE("5A0780F8-9E6B-4BB0-BF54-87CD9627A8B4")
  3395. ISigners : public IDispatch
  3396. {
  3397. public:
  3398. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  3399. /* [in] */ long Index,
  3400. /* [retval][out] */ VARIANT *pVal) = 0;
  3401. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  3402. /* [retval][out] */ long *pVal) = 0;
  3403. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3404. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  3405. };
  3406. #else /* C style interface */
  3407. typedef struct ISignersVtbl
  3408. {
  3409. BEGIN_INTERFACE
  3410. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3411. ISigners * This,
  3412. /* [in] */ REFIID riid,
  3413. /* [iid_is][out] */ void **ppvObject);
  3414. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3415. ISigners * This);
  3416. ULONG ( STDMETHODCALLTYPE *Release )(
  3417. ISigners * This);
  3418. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3419. ISigners * This,
  3420. /* [out] */ UINT *pctinfo);
  3421. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3422. ISigners * This,
  3423. /* [in] */ UINT iTInfo,
  3424. /* [in] */ LCID lcid,
  3425. /* [out] */ ITypeInfo **ppTInfo);
  3426. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3427. ISigners * This,
  3428. /* [in] */ REFIID riid,
  3429. /* [size_is][in] */ LPOLESTR *rgszNames,
  3430. /* [in] */ UINT cNames,
  3431. /* [in] */ LCID lcid,
  3432. /* [size_is][out] */ DISPID *rgDispId);
  3433. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3434. ISigners * This,
  3435. /* [in] */ DISPID dispIdMember,
  3436. /* [in] */ REFIID riid,
  3437. /* [in] */ LCID lcid,
  3438. /* [in] */ WORD wFlags,
  3439. /* [out][in] */ DISPPARAMS *pDispParams,
  3440. /* [out] */ VARIANT *pVarResult,
  3441. /* [out] */ EXCEPINFO *pExcepInfo,
  3442. /* [out] */ UINT *puArgErr);
  3443. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  3444. ISigners * This,
  3445. /* [in] */ long Index,
  3446. /* [retval][out] */ VARIANT *pVal);
  3447. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  3448. ISigners * This,
  3449. /* [retval][out] */ long *pVal);
  3450. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  3451. ISigners * This,
  3452. /* [retval][out] */ LPUNKNOWN *pVal);
  3453. END_INTERFACE
  3454. } ISignersVtbl;
  3455. interface ISigners
  3456. {
  3457. CONST_VTBL struct ISignersVtbl *lpVtbl;
  3458. };
  3459. #ifdef COBJMACROS
  3460. #define ISigners_QueryInterface(This,riid,ppvObject) \
  3461. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3462. #define ISigners_AddRef(This) \
  3463. (This)->lpVtbl -> AddRef(This)
  3464. #define ISigners_Release(This) \
  3465. (This)->lpVtbl -> Release(This)
  3466. #define ISigners_GetTypeInfoCount(This,pctinfo) \
  3467. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3468. #define ISigners_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3469. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3470. #define ISigners_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3471. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3472. #define ISigners_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3473. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3474. #define ISigners_get_Item(This,Index,pVal) \
  3475. (This)->lpVtbl -> get_Item(This,Index,pVal)
  3476. #define ISigners_get_Count(This,pVal) \
  3477. (This)->lpVtbl -> get_Count(This,pVal)
  3478. #define ISigners_get__NewEnum(This,pVal) \
  3479. (This)->lpVtbl -> get__NewEnum(This,pVal)
  3480. #endif /* COBJMACROS */
  3481. #endif /* C style interface */
  3482. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISigners_get_Item_Proxy(
  3483. ISigners * This,
  3484. /* [in] */ long Index,
  3485. /* [retval][out] */ VARIANT *pVal);
  3486. void __RPC_STUB ISigners_get_Item_Stub(
  3487. IRpcStubBuffer *This,
  3488. IRpcChannelBuffer *_pRpcChannelBuffer,
  3489. PRPC_MESSAGE _pRpcMessage,
  3490. DWORD *_pdwStubPhase);
  3491. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISigners_get_Count_Proxy(
  3492. ISigners * This,
  3493. /* [retval][out] */ long *pVal);
  3494. void __RPC_STUB ISigners_get_Count_Stub(
  3495. IRpcStubBuffer *This,
  3496. IRpcChannelBuffer *_pRpcChannelBuffer,
  3497. PRPC_MESSAGE _pRpcMessage,
  3498. DWORD *_pdwStubPhase);
  3499. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISigners_get__NewEnum_Proxy(
  3500. ISigners * This,
  3501. /* [retval][out] */ LPUNKNOWN *pVal);
  3502. void __RPC_STUB ISigners_get__NewEnum_Stub(
  3503. IRpcStubBuffer *This,
  3504. IRpcChannelBuffer *_pRpcChannelBuffer,
  3505. PRPC_MESSAGE _pRpcMessage,
  3506. DWORD *_pdwStubPhase);
  3507. #endif /* __ISigners_INTERFACE_DEFINED__ */
  3508. #ifndef __ISignedData_INTERFACE_DEFINED__
  3509. #define __ISignedData_INTERFACE_DEFINED__
  3510. /* interface ISignedData */
  3511. /* [unique][helpstring][dual][uuid][object] */
  3512. EXTERN_C const IID IID_ISignedData;
  3513. #if defined(__cplusplus) && !defined(CINTERFACE)
  3514. MIDL_INTERFACE("AE9C454B-FC65-4C10-B130-CD9B45BA948B")
  3515. ISignedData : public IDispatch
  3516. {
  3517. public:
  3518. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Content(
  3519. /* [in] */ BSTR newVal) = 0;
  3520. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Content(
  3521. /* [retval][out] */ BSTR *pVal) = 0;
  3522. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Signers(
  3523. /* [retval][out] */ ISigners **pVal) = 0;
  3524. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Certificates(
  3525. /* [retval][out] */ ICertificates **pVal) = 0;
  3526. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Sign(
  3527. /* [defaultvalue][in] */ ISigner *pSigner,
  3528. /* [defaultvalue][in] */ VARIANT_BOOL bDetached,
  3529. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  3530. /* [retval][out] */ BSTR *pVal) = 0;
  3531. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CoSign(
  3532. /* [defaultvalue][in] */ ISigner *pSigner,
  3533. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  3534. /* [retval][out] */ BSTR *pVal) = 0;
  3535. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Verify(
  3536. /* [in] */ BSTR SignedMessage,
  3537. /* [defaultvalue][in] */ VARIANT_BOOL bDetached = 0,
  3538. /* [defaultvalue][in] */ CAPICOM_SIGNED_DATA_VERIFY_FLAG VerifyFlag = CAPICOM_VERIFY_SIGNATURE_AND_CERTIFICATE) = 0;
  3539. };
  3540. #else /* C style interface */
  3541. typedef struct ISignedDataVtbl
  3542. {
  3543. BEGIN_INTERFACE
  3544. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3545. ISignedData * This,
  3546. /* [in] */ REFIID riid,
  3547. /* [iid_is][out] */ void **ppvObject);
  3548. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3549. ISignedData * This);
  3550. ULONG ( STDMETHODCALLTYPE *Release )(
  3551. ISignedData * This);
  3552. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3553. ISignedData * This,
  3554. /* [out] */ UINT *pctinfo);
  3555. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3556. ISignedData * This,
  3557. /* [in] */ UINT iTInfo,
  3558. /* [in] */ LCID lcid,
  3559. /* [out] */ ITypeInfo **ppTInfo);
  3560. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3561. ISignedData * This,
  3562. /* [in] */ REFIID riid,
  3563. /* [size_is][in] */ LPOLESTR *rgszNames,
  3564. /* [in] */ UINT cNames,
  3565. /* [in] */ LCID lcid,
  3566. /* [size_is][out] */ DISPID *rgDispId);
  3567. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3568. ISignedData * This,
  3569. /* [in] */ DISPID dispIdMember,
  3570. /* [in] */ REFIID riid,
  3571. /* [in] */ LCID lcid,
  3572. /* [in] */ WORD wFlags,
  3573. /* [out][in] */ DISPPARAMS *pDispParams,
  3574. /* [out] */ VARIANT *pVarResult,
  3575. /* [out] */ EXCEPINFO *pExcepInfo,
  3576. /* [out] */ UINT *puArgErr);
  3577. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Content )(
  3578. ISignedData * This,
  3579. /* [in] */ BSTR newVal);
  3580. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Content )(
  3581. ISignedData * This,
  3582. /* [retval][out] */ BSTR *pVal);
  3583. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Signers )(
  3584. ISignedData * This,
  3585. /* [retval][out] */ ISigners **pVal);
  3586. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Certificates )(
  3587. ISignedData * This,
  3588. /* [retval][out] */ ICertificates **pVal);
  3589. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Sign )(
  3590. ISignedData * This,
  3591. /* [defaultvalue][in] */ ISigner *pSigner,
  3592. /* [defaultvalue][in] */ VARIANT_BOOL bDetached,
  3593. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  3594. /* [retval][out] */ BSTR *pVal);
  3595. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CoSign )(
  3596. ISignedData * This,
  3597. /* [defaultvalue][in] */ ISigner *pSigner,
  3598. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  3599. /* [retval][out] */ BSTR *pVal);
  3600. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Verify )(
  3601. ISignedData * This,
  3602. /* [in] */ BSTR SignedMessage,
  3603. /* [defaultvalue][in] */ VARIANT_BOOL bDetached,
  3604. /* [defaultvalue][in] */ CAPICOM_SIGNED_DATA_VERIFY_FLAG VerifyFlag);
  3605. END_INTERFACE
  3606. } ISignedDataVtbl;
  3607. interface ISignedData
  3608. {
  3609. CONST_VTBL struct ISignedDataVtbl *lpVtbl;
  3610. };
  3611. #ifdef COBJMACROS
  3612. #define ISignedData_QueryInterface(This,riid,ppvObject) \
  3613. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3614. #define ISignedData_AddRef(This) \
  3615. (This)->lpVtbl -> AddRef(This)
  3616. #define ISignedData_Release(This) \
  3617. (This)->lpVtbl -> Release(This)
  3618. #define ISignedData_GetTypeInfoCount(This,pctinfo) \
  3619. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3620. #define ISignedData_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3621. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3622. #define ISignedData_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3623. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3624. #define ISignedData_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3625. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3626. #define ISignedData_put_Content(This,newVal) \
  3627. (This)->lpVtbl -> put_Content(This,newVal)
  3628. #define ISignedData_get_Content(This,pVal) \
  3629. (This)->lpVtbl -> get_Content(This,pVal)
  3630. #define ISignedData_get_Signers(This,pVal) \
  3631. (This)->lpVtbl -> get_Signers(This,pVal)
  3632. #define ISignedData_get_Certificates(This,pVal) \
  3633. (This)->lpVtbl -> get_Certificates(This,pVal)
  3634. #define ISignedData_Sign(This,pSigner,bDetached,EncodingType,pVal) \
  3635. (This)->lpVtbl -> Sign(This,pSigner,bDetached,EncodingType,pVal)
  3636. #define ISignedData_CoSign(This,pSigner,EncodingType,pVal) \
  3637. (This)->lpVtbl -> CoSign(This,pSigner,EncodingType,pVal)
  3638. #define ISignedData_Verify(This,SignedMessage,bDetached,VerifyFlag) \
  3639. (This)->lpVtbl -> Verify(This,SignedMessage,bDetached,VerifyFlag)
  3640. #endif /* COBJMACROS */
  3641. #endif /* C style interface */
  3642. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISignedData_put_Content_Proxy(
  3643. ISignedData * This,
  3644. /* [in] */ BSTR newVal);
  3645. void __RPC_STUB ISignedData_put_Content_Stub(
  3646. IRpcStubBuffer *This,
  3647. IRpcChannelBuffer *_pRpcChannelBuffer,
  3648. PRPC_MESSAGE _pRpcMessage,
  3649. DWORD *_pdwStubPhase);
  3650. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISignedData_get_Content_Proxy(
  3651. ISignedData * This,
  3652. /* [retval][out] */ BSTR *pVal);
  3653. void __RPC_STUB ISignedData_get_Content_Stub(
  3654. IRpcStubBuffer *This,
  3655. IRpcChannelBuffer *_pRpcChannelBuffer,
  3656. PRPC_MESSAGE _pRpcMessage,
  3657. DWORD *_pdwStubPhase);
  3658. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISignedData_get_Signers_Proxy(
  3659. ISignedData * This,
  3660. /* [retval][out] */ ISigners **pVal);
  3661. void __RPC_STUB ISignedData_get_Signers_Stub(
  3662. IRpcStubBuffer *This,
  3663. IRpcChannelBuffer *_pRpcChannelBuffer,
  3664. PRPC_MESSAGE _pRpcMessage,
  3665. DWORD *_pdwStubPhase);
  3666. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISignedData_get_Certificates_Proxy(
  3667. ISignedData * This,
  3668. /* [retval][out] */ ICertificates **pVal);
  3669. void __RPC_STUB ISignedData_get_Certificates_Stub(
  3670. IRpcStubBuffer *This,
  3671. IRpcChannelBuffer *_pRpcChannelBuffer,
  3672. PRPC_MESSAGE _pRpcMessage,
  3673. DWORD *_pdwStubPhase);
  3674. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISignedData_Sign_Proxy(
  3675. ISignedData * This,
  3676. /* [defaultvalue][in] */ ISigner *pSigner,
  3677. /* [defaultvalue][in] */ VARIANT_BOOL bDetached,
  3678. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  3679. /* [retval][out] */ BSTR *pVal);
  3680. void __RPC_STUB ISignedData_Sign_Stub(
  3681. IRpcStubBuffer *This,
  3682. IRpcChannelBuffer *_pRpcChannelBuffer,
  3683. PRPC_MESSAGE _pRpcMessage,
  3684. DWORD *_pdwStubPhase);
  3685. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISignedData_CoSign_Proxy(
  3686. ISignedData * This,
  3687. /* [defaultvalue][in] */ ISigner *pSigner,
  3688. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  3689. /* [retval][out] */ BSTR *pVal);
  3690. void __RPC_STUB ISignedData_CoSign_Stub(
  3691. IRpcStubBuffer *This,
  3692. IRpcChannelBuffer *_pRpcChannelBuffer,
  3693. PRPC_MESSAGE _pRpcMessage,
  3694. DWORD *_pdwStubPhase);
  3695. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISignedData_Verify_Proxy(
  3696. ISignedData * This,
  3697. /* [in] */ BSTR SignedMessage,
  3698. /* [defaultvalue][in] */ VARIANT_BOOL bDetached,
  3699. /* [defaultvalue][in] */ CAPICOM_SIGNED_DATA_VERIFY_FLAG VerifyFlag);
  3700. void __RPC_STUB ISignedData_Verify_Stub(
  3701. IRpcStubBuffer *This,
  3702. IRpcChannelBuffer *_pRpcChannelBuffer,
  3703. PRPC_MESSAGE _pRpcMessage,
  3704. DWORD *_pdwStubPhase);
  3705. #endif /* __ISignedData_INTERFACE_DEFINED__ */
  3706. #ifndef __IAlgorithm_INTERFACE_DEFINED__
  3707. #define __IAlgorithm_INTERFACE_DEFINED__
  3708. /* interface IAlgorithm */
  3709. /* [unique][helpstring][dual][uuid][object] */
  3710. EXTERN_C const IID IID_IAlgorithm;
  3711. #if defined(__cplusplus) && !defined(CINTERFACE)
  3712. MIDL_INTERFACE("BF3D04A9-B0DA-4153-B45E-6CCFA5AC715B")
  3713. IAlgorithm : public IDispatch
  3714. {
  3715. public:
  3716. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  3717. /* [retval][out] */ CAPICOM_ENCRYPTION_ALGORITHM *pVal) = 0;
  3718. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  3719. /* [in] */ CAPICOM_ENCRYPTION_ALGORITHM newVal) = 0;
  3720. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_KeyLength(
  3721. /* [retval][out] */ CAPICOM_ENCRYPTION_KEY_LENGTH *pVal) = 0;
  3722. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_KeyLength(
  3723. /* [in] */ CAPICOM_ENCRYPTION_KEY_LENGTH newVal) = 0;
  3724. };
  3725. #else /* C style interface */
  3726. typedef struct IAlgorithmVtbl
  3727. {
  3728. BEGIN_INTERFACE
  3729. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3730. IAlgorithm * This,
  3731. /* [in] */ REFIID riid,
  3732. /* [iid_is][out] */ void **ppvObject);
  3733. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3734. IAlgorithm * This);
  3735. ULONG ( STDMETHODCALLTYPE *Release )(
  3736. IAlgorithm * This);
  3737. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3738. IAlgorithm * This,
  3739. /* [out] */ UINT *pctinfo);
  3740. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3741. IAlgorithm * This,
  3742. /* [in] */ UINT iTInfo,
  3743. /* [in] */ LCID lcid,
  3744. /* [out] */ ITypeInfo **ppTInfo);
  3745. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3746. IAlgorithm * This,
  3747. /* [in] */ REFIID riid,
  3748. /* [size_is][in] */ LPOLESTR *rgszNames,
  3749. /* [in] */ UINT cNames,
  3750. /* [in] */ LCID lcid,
  3751. /* [size_is][out] */ DISPID *rgDispId);
  3752. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3753. IAlgorithm * This,
  3754. /* [in] */ DISPID dispIdMember,
  3755. /* [in] */ REFIID riid,
  3756. /* [in] */ LCID lcid,
  3757. /* [in] */ WORD wFlags,
  3758. /* [out][in] */ DISPPARAMS *pDispParams,
  3759. /* [out] */ VARIANT *pVarResult,
  3760. /* [out] */ EXCEPINFO *pExcepInfo,
  3761. /* [out] */ UINT *puArgErr);
  3762. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  3763. IAlgorithm * This,
  3764. /* [retval][out] */ CAPICOM_ENCRYPTION_ALGORITHM *pVal);
  3765. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  3766. IAlgorithm * This,
  3767. /* [in] */ CAPICOM_ENCRYPTION_ALGORITHM newVal);
  3768. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_KeyLength )(
  3769. IAlgorithm * This,
  3770. /* [retval][out] */ CAPICOM_ENCRYPTION_KEY_LENGTH *pVal);
  3771. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_KeyLength )(
  3772. IAlgorithm * This,
  3773. /* [in] */ CAPICOM_ENCRYPTION_KEY_LENGTH newVal);
  3774. END_INTERFACE
  3775. } IAlgorithmVtbl;
  3776. interface IAlgorithm
  3777. {
  3778. CONST_VTBL struct IAlgorithmVtbl *lpVtbl;
  3779. };
  3780. #ifdef COBJMACROS
  3781. #define IAlgorithm_QueryInterface(This,riid,ppvObject) \
  3782. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3783. #define IAlgorithm_AddRef(This) \
  3784. (This)->lpVtbl -> AddRef(This)
  3785. #define IAlgorithm_Release(This) \
  3786. (This)->lpVtbl -> Release(This)
  3787. #define IAlgorithm_GetTypeInfoCount(This,pctinfo) \
  3788. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3789. #define IAlgorithm_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3790. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3791. #define IAlgorithm_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3792. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3793. #define IAlgorithm_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3794. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3795. #define IAlgorithm_get_Name(This,pVal) \
  3796. (This)->lpVtbl -> get_Name(This,pVal)
  3797. #define IAlgorithm_put_Name(This,newVal) \
  3798. (This)->lpVtbl -> put_Name(This,newVal)
  3799. #define IAlgorithm_get_KeyLength(This,pVal) \
  3800. (This)->lpVtbl -> get_KeyLength(This,pVal)
  3801. #define IAlgorithm_put_KeyLength(This,newVal) \
  3802. (This)->lpVtbl -> put_KeyLength(This,newVal)
  3803. #endif /* COBJMACROS */
  3804. #endif /* C style interface */
  3805. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAlgorithm_get_Name_Proxy(
  3806. IAlgorithm * This,
  3807. /* [retval][out] */ CAPICOM_ENCRYPTION_ALGORITHM *pVal);
  3808. void __RPC_STUB IAlgorithm_get_Name_Stub(
  3809. IRpcStubBuffer *This,
  3810. IRpcChannelBuffer *_pRpcChannelBuffer,
  3811. PRPC_MESSAGE _pRpcMessage,
  3812. DWORD *_pdwStubPhase);
  3813. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IAlgorithm_put_Name_Proxy(
  3814. IAlgorithm * This,
  3815. /* [in] */ CAPICOM_ENCRYPTION_ALGORITHM newVal);
  3816. void __RPC_STUB IAlgorithm_put_Name_Stub(
  3817. IRpcStubBuffer *This,
  3818. IRpcChannelBuffer *_pRpcChannelBuffer,
  3819. PRPC_MESSAGE _pRpcMessage,
  3820. DWORD *_pdwStubPhase);
  3821. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IAlgorithm_get_KeyLength_Proxy(
  3822. IAlgorithm * This,
  3823. /* [retval][out] */ CAPICOM_ENCRYPTION_KEY_LENGTH *pVal);
  3824. void __RPC_STUB IAlgorithm_get_KeyLength_Stub(
  3825. IRpcStubBuffer *This,
  3826. IRpcChannelBuffer *_pRpcChannelBuffer,
  3827. PRPC_MESSAGE _pRpcMessage,
  3828. DWORD *_pdwStubPhase);
  3829. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IAlgorithm_put_KeyLength_Proxy(
  3830. IAlgorithm * This,
  3831. /* [in] */ CAPICOM_ENCRYPTION_KEY_LENGTH newVal);
  3832. void __RPC_STUB IAlgorithm_put_KeyLength_Stub(
  3833. IRpcStubBuffer *This,
  3834. IRpcChannelBuffer *_pRpcChannelBuffer,
  3835. PRPC_MESSAGE _pRpcMessage,
  3836. DWORD *_pdwStubPhase);
  3837. #endif /* __IAlgorithm_INTERFACE_DEFINED__ */
  3838. #ifndef __IRecipients_INTERFACE_DEFINED__
  3839. #define __IRecipients_INTERFACE_DEFINED__
  3840. /* interface IRecipients */
  3841. /* [unique][helpstring][dual][uuid][object] */
  3842. EXTERN_C const IID IID_IRecipients;
  3843. #if defined(__cplusplus) && !defined(CINTERFACE)
  3844. MIDL_INTERFACE("A694C896-FC38-4C34-AE61-3B1A95984C14")
  3845. IRecipients : public IDispatch
  3846. {
  3847. public:
  3848. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  3849. /* [in] */ long Index,
  3850. /* [retval][out] */ VARIANT *pVal) = 0;
  3851. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  3852. /* [retval][out] */ long *pVal) = 0;
  3853. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  3854. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  3855. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  3856. /* [in] */ ICertificate *pVal) = 0;
  3857. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  3858. /* [in] */ long Index) = 0;
  3859. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  3860. };
  3861. #else /* C style interface */
  3862. typedef struct IRecipientsVtbl
  3863. {
  3864. BEGIN_INTERFACE
  3865. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3866. IRecipients * This,
  3867. /* [in] */ REFIID riid,
  3868. /* [iid_is][out] */ void **ppvObject);
  3869. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3870. IRecipients * This);
  3871. ULONG ( STDMETHODCALLTYPE *Release )(
  3872. IRecipients * This);
  3873. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3874. IRecipients * This,
  3875. /* [out] */ UINT *pctinfo);
  3876. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3877. IRecipients * This,
  3878. /* [in] */ UINT iTInfo,
  3879. /* [in] */ LCID lcid,
  3880. /* [out] */ ITypeInfo **ppTInfo);
  3881. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3882. IRecipients * This,
  3883. /* [in] */ REFIID riid,
  3884. /* [size_is][in] */ LPOLESTR *rgszNames,
  3885. /* [in] */ UINT cNames,
  3886. /* [in] */ LCID lcid,
  3887. /* [size_is][out] */ DISPID *rgDispId);
  3888. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3889. IRecipients * This,
  3890. /* [in] */ DISPID dispIdMember,
  3891. /* [in] */ REFIID riid,
  3892. /* [in] */ LCID lcid,
  3893. /* [in] */ WORD wFlags,
  3894. /* [out][in] */ DISPPARAMS *pDispParams,
  3895. /* [out] */ VARIANT *pVarResult,
  3896. /* [out] */ EXCEPINFO *pExcepInfo,
  3897. /* [out] */ UINT *puArgErr);
  3898. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  3899. IRecipients * This,
  3900. /* [in] */ long Index,
  3901. /* [retval][out] */ VARIANT *pVal);
  3902. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  3903. IRecipients * This,
  3904. /* [retval][out] */ long *pVal);
  3905. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  3906. IRecipients * This,
  3907. /* [retval][out] */ LPUNKNOWN *pVal);
  3908. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  3909. IRecipients * This,
  3910. /* [in] */ ICertificate *pVal);
  3911. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  3912. IRecipients * This,
  3913. /* [in] */ long Index);
  3914. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
  3915. IRecipients * This);
  3916. END_INTERFACE
  3917. } IRecipientsVtbl;
  3918. interface IRecipients
  3919. {
  3920. CONST_VTBL struct IRecipientsVtbl *lpVtbl;
  3921. };
  3922. #ifdef COBJMACROS
  3923. #define IRecipients_QueryInterface(This,riid,ppvObject) \
  3924. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3925. #define IRecipients_AddRef(This) \
  3926. (This)->lpVtbl -> AddRef(This)
  3927. #define IRecipients_Release(This) \
  3928. (This)->lpVtbl -> Release(This)
  3929. #define IRecipients_GetTypeInfoCount(This,pctinfo) \
  3930. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3931. #define IRecipients_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3932. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3933. #define IRecipients_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3934. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3935. #define IRecipients_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3936. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3937. #define IRecipients_get_Item(This,Index,pVal) \
  3938. (This)->lpVtbl -> get_Item(This,Index,pVal)
  3939. #define IRecipients_get_Count(This,pVal) \
  3940. (This)->lpVtbl -> get_Count(This,pVal)
  3941. #define IRecipients_get__NewEnum(This,pVal) \
  3942. (This)->lpVtbl -> get__NewEnum(This,pVal)
  3943. #define IRecipients_Add(This,pVal) \
  3944. (This)->lpVtbl -> Add(This,pVal)
  3945. #define IRecipients_Remove(This,Index) \
  3946. (This)->lpVtbl -> Remove(This,Index)
  3947. #define IRecipients_Clear(This) \
  3948. (This)->lpVtbl -> Clear(This)
  3949. #endif /* COBJMACROS */
  3950. #endif /* C style interface */
  3951. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IRecipients_get_Item_Proxy(
  3952. IRecipients * This,
  3953. /* [in] */ long Index,
  3954. /* [retval][out] */ VARIANT *pVal);
  3955. void __RPC_STUB IRecipients_get_Item_Stub(
  3956. IRpcStubBuffer *This,
  3957. IRpcChannelBuffer *_pRpcChannelBuffer,
  3958. PRPC_MESSAGE _pRpcMessage,
  3959. DWORD *_pdwStubPhase);
  3960. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IRecipients_get_Count_Proxy(
  3961. IRecipients * This,
  3962. /* [retval][out] */ long *pVal);
  3963. void __RPC_STUB IRecipients_get_Count_Stub(
  3964. IRpcStubBuffer *This,
  3965. IRpcChannelBuffer *_pRpcChannelBuffer,
  3966. PRPC_MESSAGE _pRpcMessage,
  3967. DWORD *_pdwStubPhase);
  3968. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IRecipients_get__NewEnum_Proxy(
  3969. IRecipients * This,
  3970. /* [retval][out] */ LPUNKNOWN *pVal);
  3971. void __RPC_STUB IRecipients_get__NewEnum_Stub(
  3972. IRpcStubBuffer *This,
  3973. IRpcChannelBuffer *_pRpcChannelBuffer,
  3974. PRPC_MESSAGE _pRpcMessage,
  3975. DWORD *_pdwStubPhase);
  3976. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRecipients_Add_Proxy(
  3977. IRecipients * This,
  3978. /* [in] */ ICertificate *pVal);
  3979. void __RPC_STUB IRecipients_Add_Stub(
  3980. IRpcStubBuffer *This,
  3981. IRpcChannelBuffer *_pRpcChannelBuffer,
  3982. PRPC_MESSAGE _pRpcMessage,
  3983. DWORD *_pdwStubPhase);
  3984. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRecipients_Remove_Proxy(
  3985. IRecipients * This,
  3986. /* [in] */ long Index);
  3987. void __RPC_STUB IRecipients_Remove_Stub(
  3988. IRpcStubBuffer *This,
  3989. IRpcChannelBuffer *_pRpcChannelBuffer,
  3990. PRPC_MESSAGE _pRpcMessage,
  3991. DWORD *_pdwStubPhase);
  3992. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRecipients_Clear_Proxy(
  3993. IRecipients * This);
  3994. void __RPC_STUB IRecipients_Clear_Stub(
  3995. IRpcStubBuffer *This,
  3996. IRpcChannelBuffer *_pRpcChannelBuffer,
  3997. PRPC_MESSAGE _pRpcMessage,
  3998. DWORD *_pdwStubPhase);
  3999. #endif /* __IRecipients_INTERFACE_DEFINED__ */
  4000. #ifndef __IEnvelopedData_INTERFACE_DEFINED__
  4001. #define __IEnvelopedData_INTERFACE_DEFINED__
  4002. /* interface IEnvelopedData */
  4003. /* [unique][helpstring][dual][uuid][object] */
  4004. EXTERN_C const IID IID_IEnvelopedData;
  4005. #if defined(__cplusplus) && !defined(CINTERFACE)
  4006. MIDL_INTERFACE("F6CB6A20-CC18-4424-AE57-6F2AA3DC2059")
  4007. IEnvelopedData : public IDispatch
  4008. {
  4009. public:
  4010. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Content(
  4011. /* [in] */ BSTR newVal) = 0;
  4012. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Content(
  4013. /* [retval][out] */ BSTR *pVal) = 0;
  4014. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Algorithm(
  4015. /* [retval][out] */ IAlgorithm **pVal) = 0;
  4016. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Recipients(
  4017. /* [retval][out] */ IRecipients **pVal) = 0;
  4018. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Encrypt(
  4019. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  4020. /* [retval][out] */ BSTR *pVal) = 0;
  4021. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Decrypt(
  4022. /* [in] */ BSTR EnvelopedMessage) = 0;
  4023. };
  4024. #else /* C style interface */
  4025. typedef struct IEnvelopedDataVtbl
  4026. {
  4027. BEGIN_INTERFACE
  4028. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4029. IEnvelopedData * This,
  4030. /* [in] */ REFIID riid,
  4031. /* [iid_is][out] */ void **ppvObject);
  4032. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4033. IEnvelopedData * This);
  4034. ULONG ( STDMETHODCALLTYPE *Release )(
  4035. IEnvelopedData * This);
  4036. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4037. IEnvelopedData * This,
  4038. /* [out] */ UINT *pctinfo);
  4039. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4040. IEnvelopedData * This,
  4041. /* [in] */ UINT iTInfo,
  4042. /* [in] */ LCID lcid,
  4043. /* [out] */ ITypeInfo **ppTInfo);
  4044. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4045. IEnvelopedData * This,
  4046. /* [in] */ REFIID riid,
  4047. /* [size_is][in] */ LPOLESTR *rgszNames,
  4048. /* [in] */ UINT cNames,
  4049. /* [in] */ LCID lcid,
  4050. /* [size_is][out] */ DISPID *rgDispId);
  4051. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4052. IEnvelopedData * This,
  4053. /* [in] */ DISPID dispIdMember,
  4054. /* [in] */ REFIID riid,
  4055. /* [in] */ LCID lcid,
  4056. /* [in] */ WORD wFlags,
  4057. /* [out][in] */ DISPPARAMS *pDispParams,
  4058. /* [out] */ VARIANT *pVarResult,
  4059. /* [out] */ EXCEPINFO *pExcepInfo,
  4060. /* [out] */ UINT *puArgErr);
  4061. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Content )(
  4062. IEnvelopedData * This,
  4063. /* [in] */ BSTR newVal);
  4064. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Content )(
  4065. IEnvelopedData * This,
  4066. /* [retval][out] */ BSTR *pVal);
  4067. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Algorithm )(
  4068. IEnvelopedData * This,
  4069. /* [retval][out] */ IAlgorithm **pVal);
  4070. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Recipients )(
  4071. IEnvelopedData * This,
  4072. /* [retval][out] */ IRecipients **pVal);
  4073. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Encrypt )(
  4074. IEnvelopedData * This,
  4075. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  4076. /* [retval][out] */ BSTR *pVal);
  4077. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Decrypt )(
  4078. IEnvelopedData * This,
  4079. /* [in] */ BSTR EnvelopedMessage);
  4080. END_INTERFACE
  4081. } IEnvelopedDataVtbl;
  4082. interface IEnvelopedData
  4083. {
  4084. CONST_VTBL struct IEnvelopedDataVtbl *lpVtbl;
  4085. };
  4086. #ifdef COBJMACROS
  4087. #define IEnvelopedData_QueryInterface(This,riid,ppvObject) \
  4088. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4089. #define IEnvelopedData_AddRef(This) \
  4090. (This)->lpVtbl -> AddRef(This)
  4091. #define IEnvelopedData_Release(This) \
  4092. (This)->lpVtbl -> Release(This)
  4093. #define IEnvelopedData_GetTypeInfoCount(This,pctinfo) \
  4094. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4095. #define IEnvelopedData_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4096. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4097. #define IEnvelopedData_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4098. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4099. #define IEnvelopedData_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4100. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4101. #define IEnvelopedData_put_Content(This,newVal) \
  4102. (This)->lpVtbl -> put_Content(This,newVal)
  4103. #define IEnvelopedData_get_Content(This,pVal) \
  4104. (This)->lpVtbl -> get_Content(This,pVal)
  4105. #define IEnvelopedData_get_Algorithm(This,pVal) \
  4106. (This)->lpVtbl -> get_Algorithm(This,pVal)
  4107. #define IEnvelopedData_get_Recipients(This,pVal) \
  4108. (This)->lpVtbl -> get_Recipients(This,pVal)
  4109. #define IEnvelopedData_Encrypt(This,EncodingType,pVal) \
  4110. (This)->lpVtbl -> Encrypt(This,EncodingType,pVal)
  4111. #define IEnvelopedData_Decrypt(This,EnvelopedMessage) \
  4112. (This)->lpVtbl -> Decrypt(This,EnvelopedMessage)
  4113. #endif /* COBJMACROS */
  4114. #endif /* C style interface */
  4115. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEnvelopedData_put_Content_Proxy(
  4116. IEnvelopedData * This,
  4117. /* [in] */ BSTR newVal);
  4118. void __RPC_STUB IEnvelopedData_put_Content_Stub(
  4119. IRpcStubBuffer *This,
  4120. IRpcChannelBuffer *_pRpcChannelBuffer,
  4121. PRPC_MESSAGE _pRpcMessage,
  4122. DWORD *_pdwStubPhase);
  4123. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEnvelopedData_get_Content_Proxy(
  4124. IEnvelopedData * This,
  4125. /* [retval][out] */ BSTR *pVal);
  4126. void __RPC_STUB IEnvelopedData_get_Content_Stub(
  4127. IRpcStubBuffer *This,
  4128. IRpcChannelBuffer *_pRpcChannelBuffer,
  4129. PRPC_MESSAGE _pRpcMessage,
  4130. DWORD *_pdwStubPhase);
  4131. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEnvelopedData_get_Algorithm_Proxy(
  4132. IEnvelopedData * This,
  4133. /* [retval][out] */ IAlgorithm **pVal);
  4134. void __RPC_STUB IEnvelopedData_get_Algorithm_Stub(
  4135. IRpcStubBuffer *This,
  4136. IRpcChannelBuffer *_pRpcChannelBuffer,
  4137. PRPC_MESSAGE _pRpcMessage,
  4138. DWORD *_pdwStubPhase);
  4139. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEnvelopedData_get_Recipients_Proxy(
  4140. IEnvelopedData * This,
  4141. /* [retval][out] */ IRecipients **pVal);
  4142. void __RPC_STUB IEnvelopedData_get_Recipients_Stub(
  4143. IRpcStubBuffer *This,
  4144. IRpcChannelBuffer *_pRpcChannelBuffer,
  4145. PRPC_MESSAGE _pRpcMessage,
  4146. DWORD *_pdwStubPhase);
  4147. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEnvelopedData_Encrypt_Proxy(
  4148. IEnvelopedData * This,
  4149. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  4150. /* [retval][out] */ BSTR *pVal);
  4151. void __RPC_STUB IEnvelopedData_Encrypt_Stub(
  4152. IRpcStubBuffer *This,
  4153. IRpcChannelBuffer *_pRpcChannelBuffer,
  4154. PRPC_MESSAGE _pRpcMessage,
  4155. DWORD *_pdwStubPhase);
  4156. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEnvelopedData_Decrypt_Proxy(
  4157. IEnvelopedData * This,
  4158. /* [in] */ BSTR EnvelopedMessage);
  4159. void __RPC_STUB IEnvelopedData_Decrypt_Stub(
  4160. IRpcStubBuffer *This,
  4161. IRpcChannelBuffer *_pRpcChannelBuffer,
  4162. PRPC_MESSAGE _pRpcMessage,
  4163. DWORD *_pdwStubPhase);
  4164. #endif /* __IEnvelopedData_INTERFACE_DEFINED__ */
  4165. #ifndef __IEncryptedData_INTERFACE_DEFINED__
  4166. #define __IEncryptedData_INTERFACE_DEFINED__
  4167. /* interface IEncryptedData */
  4168. /* [unique][helpstring][dual][uuid][object] */
  4169. EXTERN_C const IID IID_IEncryptedData;
  4170. #if defined(__cplusplus) && !defined(CINTERFACE)
  4171. MIDL_INTERFACE("C4778A66-972F-42E4-87C5-5CC16F7931CA")
  4172. IEncryptedData : public IDispatch
  4173. {
  4174. public:
  4175. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Content(
  4176. /* [in] */ BSTR newVal) = 0;
  4177. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Content(
  4178. /* [retval][out] */ BSTR *pVal) = 0;
  4179. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Algorithm(
  4180. /* [retval][out] */ IAlgorithm **pVal) = 0;
  4181. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetSecret(
  4182. /* [in] */ BSTR newVal,
  4183. /* [defaultvalue][in] */ CAPICOM_SECRET_TYPE SecretType = CAPICOM_SECRET_PASSWORD) = 0;
  4184. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Encrypt(
  4185. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  4186. /* [retval][out] */ BSTR *pVal) = 0;
  4187. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Decrypt(
  4188. /* [in] */ BSTR EncryptedMessage) = 0;
  4189. };
  4190. #else /* C style interface */
  4191. typedef struct IEncryptedDataVtbl
  4192. {
  4193. BEGIN_INTERFACE
  4194. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4195. IEncryptedData * This,
  4196. /* [in] */ REFIID riid,
  4197. /* [iid_is][out] */ void **ppvObject);
  4198. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4199. IEncryptedData * This);
  4200. ULONG ( STDMETHODCALLTYPE *Release )(
  4201. IEncryptedData * This);
  4202. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4203. IEncryptedData * This,
  4204. /* [out] */ UINT *pctinfo);
  4205. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4206. IEncryptedData * This,
  4207. /* [in] */ UINT iTInfo,
  4208. /* [in] */ LCID lcid,
  4209. /* [out] */ ITypeInfo **ppTInfo);
  4210. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4211. IEncryptedData * This,
  4212. /* [in] */ REFIID riid,
  4213. /* [size_is][in] */ LPOLESTR *rgszNames,
  4214. /* [in] */ UINT cNames,
  4215. /* [in] */ LCID lcid,
  4216. /* [size_is][out] */ DISPID *rgDispId);
  4217. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4218. IEncryptedData * This,
  4219. /* [in] */ DISPID dispIdMember,
  4220. /* [in] */ REFIID riid,
  4221. /* [in] */ LCID lcid,
  4222. /* [in] */ WORD wFlags,
  4223. /* [out][in] */ DISPPARAMS *pDispParams,
  4224. /* [out] */ VARIANT *pVarResult,
  4225. /* [out] */ EXCEPINFO *pExcepInfo,
  4226. /* [out] */ UINT *puArgErr);
  4227. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Content )(
  4228. IEncryptedData * This,
  4229. /* [in] */ BSTR newVal);
  4230. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Content )(
  4231. IEncryptedData * This,
  4232. /* [retval][out] */ BSTR *pVal);
  4233. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Algorithm )(
  4234. IEncryptedData * This,
  4235. /* [retval][out] */ IAlgorithm **pVal);
  4236. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetSecret )(
  4237. IEncryptedData * This,
  4238. /* [in] */ BSTR newVal,
  4239. /* [defaultvalue][in] */ CAPICOM_SECRET_TYPE SecretType);
  4240. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Encrypt )(
  4241. IEncryptedData * This,
  4242. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  4243. /* [retval][out] */ BSTR *pVal);
  4244. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Decrypt )(
  4245. IEncryptedData * This,
  4246. /* [in] */ BSTR EncryptedMessage);
  4247. END_INTERFACE
  4248. } IEncryptedDataVtbl;
  4249. interface IEncryptedData
  4250. {
  4251. CONST_VTBL struct IEncryptedDataVtbl *lpVtbl;
  4252. };
  4253. #ifdef COBJMACROS
  4254. #define IEncryptedData_QueryInterface(This,riid,ppvObject) \
  4255. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4256. #define IEncryptedData_AddRef(This) \
  4257. (This)->lpVtbl -> AddRef(This)
  4258. #define IEncryptedData_Release(This) \
  4259. (This)->lpVtbl -> Release(This)
  4260. #define IEncryptedData_GetTypeInfoCount(This,pctinfo) \
  4261. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4262. #define IEncryptedData_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4263. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4264. #define IEncryptedData_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4265. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4266. #define IEncryptedData_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4267. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4268. #define IEncryptedData_put_Content(This,newVal) \
  4269. (This)->lpVtbl -> put_Content(This,newVal)
  4270. #define IEncryptedData_get_Content(This,pVal) \
  4271. (This)->lpVtbl -> get_Content(This,pVal)
  4272. #define IEncryptedData_get_Algorithm(This,pVal) \
  4273. (This)->lpVtbl -> get_Algorithm(This,pVal)
  4274. #define IEncryptedData_SetSecret(This,newVal,SecretType) \
  4275. (This)->lpVtbl -> SetSecret(This,newVal,SecretType)
  4276. #define IEncryptedData_Encrypt(This,EncodingType,pVal) \
  4277. (This)->lpVtbl -> Encrypt(This,EncodingType,pVal)
  4278. #define IEncryptedData_Decrypt(This,EncryptedMessage) \
  4279. (This)->lpVtbl -> Decrypt(This,EncryptedMessage)
  4280. #endif /* COBJMACROS */
  4281. #endif /* C style interface */
  4282. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IEncryptedData_put_Content_Proxy(
  4283. IEncryptedData * This,
  4284. /* [in] */ BSTR newVal);
  4285. void __RPC_STUB IEncryptedData_put_Content_Stub(
  4286. IRpcStubBuffer *This,
  4287. IRpcChannelBuffer *_pRpcChannelBuffer,
  4288. PRPC_MESSAGE _pRpcMessage,
  4289. DWORD *_pdwStubPhase);
  4290. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEncryptedData_get_Content_Proxy(
  4291. IEncryptedData * This,
  4292. /* [retval][out] */ BSTR *pVal);
  4293. void __RPC_STUB IEncryptedData_get_Content_Stub(
  4294. IRpcStubBuffer *This,
  4295. IRpcChannelBuffer *_pRpcChannelBuffer,
  4296. PRPC_MESSAGE _pRpcMessage,
  4297. DWORD *_pdwStubPhase);
  4298. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEncryptedData_get_Algorithm_Proxy(
  4299. IEncryptedData * This,
  4300. /* [retval][out] */ IAlgorithm **pVal);
  4301. void __RPC_STUB IEncryptedData_get_Algorithm_Stub(
  4302. IRpcStubBuffer *This,
  4303. IRpcChannelBuffer *_pRpcChannelBuffer,
  4304. PRPC_MESSAGE _pRpcMessage,
  4305. DWORD *_pdwStubPhase);
  4306. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEncryptedData_SetSecret_Proxy(
  4307. IEncryptedData * This,
  4308. /* [in] */ BSTR newVal,
  4309. /* [defaultvalue][in] */ CAPICOM_SECRET_TYPE SecretType);
  4310. void __RPC_STUB IEncryptedData_SetSecret_Stub(
  4311. IRpcStubBuffer *This,
  4312. IRpcChannelBuffer *_pRpcChannelBuffer,
  4313. PRPC_MESSAGE _pRpcMessage,
  4314. DWORD *_pdwStubPhase);
  4315. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEncryptedData_Encrypt_Proxy(
  4316. IEncryptedData * This,
  4317. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  4318. /* [retval][out] */ BSTR *pVal);
  4319. void __RPC_STUB IEncryptedData_Encrypt_Stub(
  4320. IRpcStubBuffer *This,
  4321. IRpcChannelBuffer *_pRpcChannelBuffer,
  4322. PRPC_MESSAGE _pRpcMessage,
  4323. DWORD *_pdwStubPhase);
  4324. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEncryptedData_Decrypt_Proxy(
  4325. IEncryptedData * This,
  4326. /* [in] */ BSTR EncryptedMessage);
  4327. void __RPC_STUB IEncryptedData_Decrypt_Stub(
  4328. IRpcStubBuffer *This,
  4329. IRpcChannelBuffer *_pRpcChannelBuffer,
  4330. PRPC_MESSAGE _pRpcMessage,
  4331. DWORD *_pdwStubPhase);
  4332. #endif /* __IEncryptedData_INTERFACE_DEFINED__ */
  4333. #ifndef __IOID_INTERFACE_DEFINED__
  4334. #define __IOID_INTERFACE_DEFINED__
  4335. /* interface IOID */
  4336. /* [unique][helpstring][dual][uuid][object] */
  4337. EXTERN_C const IID IID_IOID;
  4338. #if defined(__cplusplus) && !defined(CINTERFACE)
  4339. MIDL_INTERFACE("208E5E9B-58B1-4086-970F-161B582A846F")
  4340. IOID : public IDispatch
  4341. {
  4342. public:
  4343. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  4344. /* [retval][out] */ CAPICOM_OID *pVal) = 0;
  4345. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  4346. /* [in] */ CAPICOM_OID newVal) = 0;
  4347. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FriendlyName(
  4348. /* [retval][out] */ BSTR *pVal) = 0;
  4349. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FriendlyName(
  4350. /* [in] */ BSTR newVal) = 0;
  4351. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  4352. /* [retval][out] */ BSTR *pVal) = 0;
  4353. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value(
  4354. /* [in] */ BSTR newVal) = 0;
  4355. };
  4356. #else /* C style interface */
  4357. typedef struct IOIDVtbl
  4358. {
  4359. BEGIN_INTERFACE
  4360. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4361. IOID * This,
  4362. /* [in] */ REFIID riid,
  4363. /* [iid_is][out] */ void **ppvObject);
  4364. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4365. IOID * This);
  4366. ULONG ( STDMETHODCALLTYPE *Release )(
  4367. IOID * This);
  4368. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4369. IOID * This,
  4370. /* [out] */ UINT *pctinfo);
  4371. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4372. IOID * This,
  4373. /* [in] */ UINT iTInfo,
  4374. /* [in] */ LCID lcid,
  4375. /* [out] */ ITypeInfo **ppTInfo);
  4376. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4377. IOID * This,
  4378. /* [in] */ REFIID riid,
  4379. /* [size_is][in] */ LPOLESTR *rgszNames,
  4380. /* [in] */ UINT cNames,
  4381. /* [in] */ LCID lcid,
  4382. /* [size_is][out] */ DISPID *rgDispId);
  4383. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4384. IOID * This,
  4385. /* [in] */ DISPID dispIdMember,
  4386. /* [in] */ REFIID riid,
  4387. /* [in] */ LCID lcid,
  4388. /* [in] */ WORD wFlags,
  4389. /* [out][in] */ DISPPARAMS *pDispParams,
  4390. /* [out] */ VARIANT *pVarResult,
  4391. /* [out] */ EXCEPINFO *pExcepInfo,
  4392. /* [out] */ UINT *puArgErr);
  4393. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  4394. IOID * This,
  4395. /* [retval][out] */ CAPICOM_OID *pVal);
  4396. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  4397. IOID * This,
  4398. /* [in] */ CAPICOM_OID newVal);
  4399. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FriendlyName )(
  4400. IOID * This,
  4401. /* [retval][out] */ BSTR *pVal);
  4402. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FriendlyName )(
  4403. IOID * This,
  4404. /* [in] */ BSTR newVal);
  4405. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  4406. IOID * This,
  4407. /* [retval][out] */ BSTR *pVal);
  4408. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  4409. IOID * This,
  4410. /* [in] */ BSTR newVal);
  4411. END_INTERFACE
  4412. } IOIDVtbl;
  4413. interface IOID
  4414. {
  4415. CONST_VTBL struct IOIDVtbl *lpVtbl;
  4416. };
  4417. #ifdef COBJMACROS
  4418. #define IOID_QueryInterface(This,riid,ppvObject) \
  4419. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4420. #define IOID_AddRef(This) \
  4421. (This)->lpVtbl -> AddRef(This)
  4422. #define IOID_Release(This) \
  4423. (This)->lpVtbl -> Release(This)
  4424. #define IOID_GetTypeInfoCount(This,pctinfo) \
  4425. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4426. #define IOID_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4427. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4428. #define IOID_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4429. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4430. #define IOID_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4431. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4432. #define IOID_get_Name(This,pVal) \
  4433. (This)->lpVtbl -> get_Name(This,pVal)
  4434. #define IOID_put_Name(This,newVal) \
  4435. (This)->lpVtbl -> put_Name(This,newVal)
  4436. #define IOID_get_FriendlyName(This,pVal) \
  4437. (This)->lpVtbl -> get_FriendlyName(This,pVal)
  4438. #define IOID_put_FriendlyName(This,newVal) \
  4439. (This)->lpVtbl -> put_FriendlyName(This,newVal)
  4440. #define IOID_get_Value(This,pVal) \
  4441. (This)->lpVtbl -> get_Value(This,pVal)
  4442. #define IOID_put_Value(This,newVal) \
  4443. (This)->lpVtbl -> put_Value(This,newVal)
  4444. #endif /* COBJMACROS */
  4445. #endif /* C style interface */
  4446. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IOID_get_Name_Proxy(
  4447. IOID * This,
  4448. /* [retval][out] */ CAPICOM_OID *pVal);
  4449. void __RPC_STUB IOID_get_Name_Stub(
  4450. IRpcStubBuffer *This,
  4451. IRpcChannelBuffer *_pRpcChannelBuffer,
  4452. PRPC_MESSAGE _pRpcMessage,
  4453. DWORD *_pdwStubPhase);
  4454. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IOID_put_Name_Proxy(
  4455. IOID * This,
  4456. /* [in] */ CAPICOM_OID newVal);
  4457. void __RPC_STUB IOID_put_Name_Stub(
  4458. IRpcStubBuffer *This,
  4459. IRpcChannelBuffer *_pRpcChannelBuffer,
  4460. PRPC_MESSAGE _pRpcMessage,
  4461. DWORD *_pdwStubPhase);
  4462. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IOID_get_FriendlyName_Proxy(
  4463. IOID * This,
  4464. /* [retval][out] */ BSTR *pVal);
  4465. void __RPC_STUB IOID_get_FriendlyName_Stub(
  4466. IRpcStubBuffer *This,
  4467. IRpcChannelBuffer *_pRpcChannelBuffer,
  4468. PRPC_MESSAGE _pRpcMessage,
  4469. DWORD *_pdwStubPhase);
  4470. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IOID_put_FriendlyName_Proxy(
  4471. IOID * This,
  4472. /* [in] */ BSTR newVal);
  4473. void __RPC_STUB IOID_put_FriendlyName_Stub(
  4474. IRpcStubBuffer *This,
  4475. IRpcChannelBuffer *_pRpcChannelBuffer,
  4476. PRPC_MESSAGE _pRpcMessage,
  4477. DWORD *_pdwStubPhase);
  4478. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IOID_get_Value_Proxy(
  4479. IOID * This,
  4480. /* [retval][out] */ BSTR *pVal);
  4481. void __RPC_STUB IOID_get_Value_Stub(
  4482. IRpcStubBuffer *This,
  4483. IRpcChannelBuffer *_pRpcChannelBuffer,
  4484. PRPC_MESSAGE _pRpcMessage,
  4485. DWORD *_pdwStubPhase);
  4486. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IOID_put_Value_Proxy(
  4487. IOID * This,
  4488. /* [in] */ BSTR newVal);
  4489. void __RPC_STUB IOID_put_Value_Stub(
  4490. IRpcStubBuffer *This,
  4491. IRpcChannelBuffer *_pRpcChannelBuffer,
  4492. PRPC_MESSAGE _pRpcMessage,
  4493. DWORD *_pdwStubPhase);
  4494. #endif /* __IOID_INTERFACE_DEFINED__ */
  4495. #ifndef __IOIDs_INTERFACE_DEFINED__
  4496. #define __IOIDs_INTERFACE_DEFINED__
  4497. /* interface IOIDs */
  4498. /* [unique][helpstring][dual][uuid][object] */
  4499. EXTERN_C const IID IID_IOIDs;
  4500. #if defined(__cplusplus) && !defined(CINTERFACE)
  4501. MIDL_INTERFACE("DA55E8FC-8E27-451B-AEA8-1470D80FAD42")
  4502. IOIDs : public IDispatch
  4503. {
  4504. public:
  4505. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  4506. /* [in] */ VARIANT Index,
  4507. /* [retval][out] */ VARIANT *pVal) = 0;
  4508. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  4509. /* [retval][out] */ long *pVal) = 0;
  4510. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  4511. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  4512. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  4513. /* [in] */ IOID *pVal) = 0;
  4514. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  4515. /* [in] */ VARIANT Index) = 0;
  4516. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  4517. };
  4518. #else /* C style interface */
  4519. typedef struct IOIDsVtbl
  4520. {
  4521. BEGIN_INTERFACE
  4522. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4523. IOIDs * This,
  4524. /* [in] */ REFIID riid,
  4525. /* [iid_is][out] */ void **ppvObject);
  4526. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4527. IOIDs * This);
  4528. ULONG ( STDMETHODCALLTYPE *Release )(
  4529. IOIDs * This);
  4530. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4531. IOIDs * This,
  4532. /* [out] */ UINT *pctinfo);
  4533. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4534. IOIDs * This,
  4535. /* [in] */ UINT iTInfo,
  4536. /* [in] */ LCID lcid,
  4537. /* [out] */ ITypeInfo **ppTInfo);
  4538. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4539. IOIDs * This,
  4540. /* [in] */ REFIID riid,
  4541. /* [size_is][in] */ LPOLESTR *rgszNames,
  4542. /* [in] */ UINT cNames,
  4543. /* [in] */ LCID lcid,
  4544. /* [size_is][out] */ DISPID *rgDispId);
  4545. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4546. IOIDs * This,
  4547. /* [in] */ DISPID dispIdMember,
  4548. /* [in] */ REFIID riid,
  4549. /* [in] */ LCID lcid,
  4550. /* [in] */ WORD wFlags,
  4551. /* [out][in] */ DISPPARAMS *pDispParams,
  4552. /* [out] */ VARIANT *pVarResult,
  4553. /* [out] */ EXCEPINFO *pExcepInfo,
  4554. /* [out] */ UINT *puArgErr);
  4555. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  4556. IOIDs * This,
  4557. /* [in] */ VARIANT Index,
  4558. /* [retval][out] */ VARIANT *pVal);
  4559. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  4560. IOIDs * This,
  4561. /* [retval][out] */ long *pVal);
  4562. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  4563. IOIDs * This,
  4564. /* [retval][out] */ LPUNKNOWN *pVal);
  4565. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  4566. IOIDs * This,
  4567. /* [in] */ IOID *pVal);
  4568. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  4569. IOIDs * This,
  4570. /* [in] */ VARIANT Index);
  4571. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
  4572. IOIDs * This);
  4573. END_INTERFACE
  4574. } IOIDsVtbl;
  4575. interface IOIDs
  4576. {
  4577. CONST_VTBL struct IOIDsVtbl *lpVtbl;
  4578. };
  4579. #ifdef COBJMACROS
  4580. #define IOIDs_QueryInterface(This,riid,ppvObject) \
  4581. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4582. #define IOIDs_AddRef(This) \
  4583. (This)->lpVtbl -> AddRef(This)
  4584. #define IOIDs_Release(This) \
  4585. (This)->lpVtbl -> Release(This)
  4586. #define IOIDs_GetTypeInfoCount(This,pctinfo) \
  4587. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4588. #define IOIDs_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4589. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4590. #define IOIDs_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4591. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4592. #define IOIDs_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4593. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4594. #define IOIDs_get_Item(This,Index,pVal) \
  4595. (This)->lpVtbl -> get_Item(This,Index,pVal)
  4596. #define IOIDs_get_Count(This,pVal) \
  4597. (This)->lpVtbl -> get_Count(This,pVal)
  4598. #define IOIDs_get__NewEnum(This,pVal) \
  4599. (This)->lpVtbl -> get__NewEnum(This,pVal)
  4600. #define IOIDs_Add(This,pVal) \
  4601. (This)->lpVtbl -> Add(This,pVal)
  4602. #define IOIDs_Remove(This,Index) \
  4603. (This)->lpVtbl -> Remove(This,Index)
  4604. #define IOIDs_Clear(This) \
  4605. (This)->lpVtbl -> Clear(This)
  4606. #endif /* COBJMACROS */
  4607. #endif /* C style interface */
  4608. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IOIDs_get_Item_Proxy(
  4609. IOIDs * This,
  4610. /* [in] */ VARIANT Index,
  4611. /* [retval][out] */ VARIANT *pVal);
  4612. void __RPC_STUB IOIDs_get_Item_Stub(
  4613. IRpcStubBuffer *This,
  4614. IRpcChannelBuffer *_pRpcChannelBuffer,
  4615. PRPC_MESSAGE _pRpcMessage,
  4616. DWORD *_pdwStubPhase);
  4617. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IOIDs_get_Count_Proxy(
  4618. IOIDs * This,
  4619. /* [retval][out] */ long *pVal);
  4620. void __RPC_STUB IOIDs_get_Count_Stub(
  4621. IRpcStubBuffer *This,
  4622. IRpcChannelBuffer *_pRpcChannelBuffer,
  4623. PRPC_MESSAGE _pRpcMessage,
  4624. DWORD *_pdwStubPhase);
  4625. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IOIDs_get__NewEnum_Proxy(
  4626. IOIDs * This,
  4627. /* [retval][out] */ LPUNKNOWN *pVal);
  4628. void __RPC_STUB IOIDs_get__NewEnum_Stub(
  4629. IRpcStubBuffer *This,
  4630. IRpcChannelBuffer *_pRpcChannelBuffer,
  4631. PRPC_MESSAGE _pRpcMessage,
  4632. DWORD *_pdwStubPhase);
  4633. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IOIDs_Add_Proxy(
  4634. IOIDs * This,
  4635. /* [in] */ IOID *pVal);
  4636. void __RPC_STUB IOIDs_Add_Stub(
  4637. IRpcStubBuffer *This,
  4638. IRpcChannelBuffer *_pRpcChannelBuffer,
  4639. PRPC_MESSAGE _pRpcMessage,
  4640. DWORD *_pdwStubPhase);
  4641. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IOIDs_Remove_Proxy(
  4642. IOIDs * This,
  4643. /* [in] */ VARIANT Index);
  4644. void __RPC_STUB IOIDs_Remove_Stub(
  4645. IRpcStubBuffer *This,
  4646. IRpcChannelBuffer *_pRpcChannelBuffer,
  4647. PRPC_MESSAGE _pRpcMessage,
  4648. DWORD *_pdwStubPhase);
  4649. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IOIDs_Clear_Proxy(
  4650. IOIDs * This);
  4651. void __RPC_STUB IOIDs_Clear_Stub(
  4652. IRpcStubBuffer *This,
  4653. IRpcChannelBuffer *_pRpcChannelBuffer,
  4654. PRPC_MESSAGE _pRpcMessage,
  4655. DWORD *_pdwStubPhase);
  4656. #endif /* __IOIDs_INTERFACE_DEFINED__ */
  4657. #ifndef __INoticeNumbers_INTERFACE_DEFINED__
  4658. #define __INoticeNumbers_INTERFACE_DEFINED__
  4659. /* interface INoticeNumbers */
  4660. /* [unique][helpstring][dual][uuid][object] */
  4661. EXTERN_C const IID IID_INoticeNumbers;
  4662. #if defined(__cplusplus) && !defined(CINTERFACE)
  4663. MIDL_INTERFACE("EE2C051D-33A1-4157-86B4-9280E29782F2")
  4664. INoticeNumbers : public IDispatch
  4665. {
  4666. public:
  4667. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  4668. /* [in] */ long Index,
  4669. /* [retval][out] */ VARIANT *pVal) = 0;
  4670. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  4671. /* [retval][out] */ long *pVal) = 0;
  4672. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  4673. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  4674. };
  4675. #else /* C style interface */
  4676. typedef struct INoticeNumbersVtbl
  4677. {
  4678. BEGIN_INTERFACE
  4679. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4680. INoticeNumbers * This,
  4681. /* [in] */ REFIID riid,
  4682. /* [iid_is][out] */ void **ppvObject);
  4683. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4684. INoticeNumbers * This);
  4685. ULONG ( STDMETHODCALLTYPE *Release )(
  4686. INoticeNumbers * This);
  4687. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4688. INoticeNumbers * This,
  4689. /* [out] */ UINT *pctinfo);
  4690. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4691. INoticeNumbers * This,
  4692. /* [in] */ UINT iTInfo,
  4693. /* [in] */ LCID lcid,
  4694. /* [out] */ ITypeInfo **ppTInfo);
  4695. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4696. INoticeNumbers * This,
  4697. /* [in] */ REFIID riid,
  4698. /* [size_is][in] */ LPOLESTR *rgszNames,
  4699. /* [in] */ UINT cNames,
  4700. /* [in] */ LCID lcid,
  4701. /* [size_is][out] */ DISPID *rgDispId);
  4702. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4703. INoticeNumbers * This,
  4704. /* [in] */ DISPID dispIdMember,
  4705. /* [in] */ REFIID riid,
  4706. /* [in] */ LCID lcid,
  4707. /* [in] */ WORD wFlags,
  4708. /* [out][in] */ DISPPARAMS *pDispParams,
  4709. /* [out] */ VARIANT *pVarResult,
  4710. /* [out] */ EXCEPINFO *pExcepInfo,
  4711. /* [out] */ UINT *puArgErr);
  4712. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  4713. INoticeNumbers * This,
  4714. /* [in] */ long Index,
  4715. /* [retval][out] */ VARIANT *pVal);
  4716. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  4717. INoticeNumbers * This,
  4718. /* [retval][out] */ long *pVal);
  4719. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  4720. INoticeNumbers * This,
  4721. /* [retval][out] */ LPUNKNOWN *pVal);
  4722. END_INTERFACE
  4723. } INoticeNumbersVtbl;
  4724. interface INoticeNumbers
  4725. {
  4726. CONST_VTBL struct INoticeNumbersVtbl *lpVtbl;
  4727. };
  4728. #ifdef COBJMACROS
  4729. #define INoticeNumbers_QueryInterface(This,riid,ppvObject) \
  4730. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4731. #define INoticeNumbers_AddRef(This) \
  4732. (This)->lpVtbl -> AddRef(This)
  4733. #define INoticeNumbers_Release(This) \
  4734. (This)->lpVtbl -> Release(This)
  4735. #define INoticeNumbers_GetTypeInfoCount(This,pctinfo) \
  4736. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4737. #define INoticeNumbers_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4738. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4739. #define INoticeNumbers_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4740. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4741. #define INoticeNumbers_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4742. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4743. #define INoticeNumbers_get_Item(This,Index,pVal) \
  4744. (This)->lpVtbl -> get_Item(This,Index,pVal)
  4745. #define INoticeNumbers_get_Count(This,pVal) \
  4746. (This)->lpVtbl -> get_Count(This,pVal)
  4747. #define INoticeNumbers_get__NewEnum(This,pVal) \
  4748. (This)->lpVtbl -> get__NewEnum(This,pVal)
  4749. #endif /* COBJMACROS */
  4750. #endif /* C style interface */
  4751. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INoticeNumbers_get_Item_Proxy(
  4752. INoticeNumbers * This,
  4753. /* [in] */ long Index,
  4754. /* [retval][out] */ VARIANT *pVal);
  4755. void __RPC_STUB INoticeNumbers_get_Item_Stub(
  4756. IRpcStubBuffer *This,
  4757. IRpcChannelBuffer *_pRpcChannelBuffer,
  4758. PRPC_MESSAGE _pRpcMessage,
  4759. DWORD *_pdwStubPhase);
  4760. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INoticeNumbers_get_Count_Proxy(
  4761. INoticeNumbers * This,
  4762. /* [retval][out] */ long *pVal);
  4763. void __RPC_STUB INoticeNumbers_get_Count_Stub(
  4764. IRpcStubBuffer *This,
  4765. IRpcChannelBuffer *_pRpcChannelBuffer,
  4766. PRPC_MESSAGE _pRpcMessage,
  4767. DWORD *_pdwStubPhase);
  4768. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INoticeNumbers_get__NewEnum_Proxy(
  4769. INoticeNumbers * This,
  4770. /* [retval][out] */ LPUNKNOWN *pVal);
  4771. void __RPC_STUB INoticeNumbers_get__NewEnum_Stub(
  4772. IRpcStubBuffer *This,
  4773. IRpcChannelBuffer *_pRpcChannelBuffer,
  4774. PRPC_MESSAGE _pRpcMessage,
  4775. DWORD *_pdwStubPhase);
  4776. #endif /* __INoticeNumbers_INTERFACE_DEFINED__ */
  4777. #ifndef __IQualifier_INTERFACE_DEFINED__
  4778. #define __IQualifier_INTERFACE_DEFINED__
  4779. /* interface IQualifier */
  4780. /* [unique][helpstring][dual][uuid][object] */
  4781. EXTERN_C const IID IID_IQualifier;
  4782. #if defined(__cplusplus) && !defined(CINTERFACE)
  4783. MIDL_INTERFACE("3604C9DD-A22E-4A15-A469-8181C0C113DE")
  4784. IQualifier : public IDispatch
  4785. {
  4786. public:
  4787. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OID(
  4788. /* [retval][out] */ IOID **pVal) = 0;
  4789. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CPSPointer(
  4790. /* [retval][out] */ BSTR *pVal) = 0;
  4791. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OrganizationName(
  4792. /* [retval][out] */ BSTR *pVal) = 0;
  4793. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NoticeNumbers(
  4794. /* [retval][out] */ INoticeNumbers **pVal) = 0;
  4795. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExplicitText(
  4796. /* [retval][out] */ BSTR *pVal) = 0;
  4797. };
  4798. #else /* C style interface */
  4799. typedef struct IQualifierVtbl
  4800. {
  4801. BEGIN_INTERFACE
  4802. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4803. IQualifier * This,
  4804. /* [in] */ REFIID riid,
  4805. /* [iid_is][out] */ void **ppvObject);
  4806. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4807. IQualifier * This);
  4808. ULONG ( STDMETHODCALLTYPE *Release )(
  4809. IQualifier * This);
  4810. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4811. IQualifier * This,
  4812. /* [out] */ UINT *pctinfo);
  4813. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4814. IQualifier * This,
  4815. /* [in] */ UINT iTInfo,
  4816. /* [in] */ LCID lcid,
  4817. /* [out] */ ITypeInfo **ppTInfo);
  4818. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4819. IQualifier * This,
  4820. /* [in] */ REFIID riid,
  4821. /* [size_is][in] */ LPOLESTR *rgszNames,
  4822. /* [in] */ UINT cNames,
  4823. /* [in] */ LCID lcid,
  4824. /* [size_is][out] */ DISPID *rgDispId);
  4825. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4826. IQualifier * This,
  4827. /* [in] */ DISPID dispIdMember,
  4828. /* [in] */ REFIID riid,
  4829. /* [in] */ LCID lcid,
  4830. /* [in] */ WORD wFlags,
  4831. /* [out][in] */ DISPPARAMS *pDispParams,
  4832. /* [out] */ VARIANT *pVarResult,
  4833. /* [out] */ EXCEPINFO *pExcepInfo,
  4834. /* [out] */ UINT *puArgErr);
  4835. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OID )(
  4836. IQualifier * This,
  4837. /* [retval][out] */ IOID **pVal);
  4838. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CPSPointer )(
  4839. IQualifier * This,
  4840. /* [retval][out] */ BSTR *pVal);
  4841. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OrganizationName )(
  4842. IQualifier * This,
  4843. /* [retval][out] */ BSTR *pVal);
  4844. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NoticeNumbers )(
  4845. IQualifier * This,
  4846. /* [retval][out] */ INoticeNumbers **pVal);
  4847. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExplicitText )(
  4848. IQualifier * This,
  4849. /* [retval][out] */ BSTR *pVal);
  4850. END_INTERFACE
  4851. } IQualifierVtbl;
  4852. interface IQualifier
  4853. {
  4854. CONST_VTBL struct IQualifierVtbl *lpVtbl;
  4855. };
  4856. #ifdef COBJMACROS
  4857. #define IQualifier_QueryInterface(This,riid,ppvObject) \
  4858. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4859. #define IQualifier_AddRef(This) \
  4860. (This)->lpVtbl -> AddRef(This)
  4861. #define IQualifier_Release(This) \
  4862. (This)->lpVtbl -> Release(This)
  4863. #define IQualifier_GetTypeInfoCount(This,pctinfo) \
  4864. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4865. #define IQualifier_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4866. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4867. #define IQualifier_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4868. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4869. #define IQualifier_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4870. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4871. #define IQualifier_get_OID(This,pVal) \
  4872. (This)->lpVtbl -> get_OID(This,pVal)
  4873. #define IQualifier_get_CPSPointer(This,pVal) \
  4874. (This)->lpVtbl -> get_CPSPointer(This,pVal)
  4875. #define IQualifier_get_OrganizationName(This,pVal) \
  4876. (This)->lpVtbl -> get_OrganizationName(This,pVal)
  4877. #define IQualifier_get_NoticeNumbers(This,pVal) \
  4878. (This)->lpVtbl -> get_NoticeNumbers(This,pVal)
  4879. #define IQualifier_get_ExplicitText(This,pVal) \
  4880. (This)->lpVtbl -> get_ExplicitText(This,pVal)
  4881. #endif /* COBJMACROS */
  4882. #endif /* C style interface */
  4883. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IQualifier_get_OID_Proxy(
  4884. IQualifier * This,
  4885. /* [retval][out] */ IOID **pVal);
  4886. void __RPC_STUB IQualifier_get_OID_Stub(
  4887. IRpcStubBuffer *This,
  4888. IRpcChannelBuffer *_pRpcChannelBuffer,
  4889. PRPC_MESSAGE _pRpcMessage,
  4890. DWORD *_pdwStubPhase);
  4891. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IQualifier_get_CPSPointer_Proxy(
  4892. IQualifier * This,
  4893. /* [retval][out] */ BSTR *pVal);
  4894. void __RPC_STUB IQualifier_get_CPSPointer_Stub(
  4895. IRpcStubBuffer *This,
  4896. IRpcChannelBuffer *_pRpcChannelBuffer,
  4897. PRPC_MESSAGE _pRpcMessage,
  4898. DWORD *_pdwStubPhase);
  4899. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IQualifier_get_OrganizationName_Proxy(
  4900. IQualifier * This,
  4901. /* [retval][out] */ BSTR *pVal);
  4902. void __RPC_STUB IQualifier_get_OrganizationName_Stub(
  4903. IRpcStubBuffer *This,
  4904. IRpcChannelBuffer *_pRpcChannelBuffer,
  4905. PRPC_MESSAGE _pRpcMessage,
  4906. DWORD *_pdwStubPhase);
  4907. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IQualifier_get_NoticeNumbers_Proxy(
  4908. IQualifier * This,
  4909. /* [retval][out] */ INoticeNumbers **pVal);
  4910. void __RPC_STUB IQualifier_get_NoticeNumbers_Stub(
  4911. IRpcStubBuffer *This,
  4912. IRpcChannelBuffer *_pRpcChannelBuffer,
  4913. PRPC_MESSAGE _pRpcMessage,
  4914. DWORD *_pdwStubPhase);
  4915. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IQualifier_get_ExplicitText_Proxy(
  4916. IQualifier * This,
  4917. /* [retval][out] */ BSTR *pVal);
  4918. void __RPC_STUB IQualifier_get_ExplicitText_Stub(
  4919. IRpcStubBuffer *This,
  4920. IRpcChannelBuffer *_pRpcChannelBuffer,
  4921. PRPC_MESSAGE _pRpcMessage,
  4922. DWORD *_pdwStubPhase);
  4923. #endif /* __IQualifier_INTERFACE_DEFINED__ */
  4924. #ifndef __IQualifiers_INTERFACE_DEFINED__
  4925. #define __IQualifiers_INTERFACE_DEFINED__
  4926. /* interface IQualifiers */
  4927. /* [unique][helpstring][dual][uuid][object] */
  4928. EXTERN_C const IID IID_IQualifiers;
  4929. #if defined(__cplusplus) && !defined(CINTERFACE)
  4930. MIDL_INTERFACE("6B5A8AB6-597D-4398-AC63-1036EF546348")
  4931. IQualifiers : public IDispatch
  4932. {
  4933. public:
  4934. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  4935. /* [in] */ long Index,
  4936. /* [retval][out] */ VARIANT *pVal) = 0;
  4937. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  4938. /* [retval][out] */ long *pVal) = 0;
  4939. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  4940. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  4941. };
  4942. #else /* C style interface */
  4943. typedef struct IQualifiersVtbl
  4944. {
  4945. BEGIN_INTERFACE
  4946. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4947. IQualifiers * This,
  4948. /* [in] */ REFIID riid,
  4949. /* [iid_is][out] */ void **ppvObject);
  4950. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4951. IQualifiers * This);
  4952. ULONG ( STDMETHODCALLTYPE *Release )(
  4953. IQualifiers * This);
  4954. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4955. IQualifiers * This,
  4956. /* [out] */ UINT *pctinfo);
  4957. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4958. IQualifiers * This,
  4959. /* [in] */ UINT iTInfo,
  4960. /* [in] */ LCID lcid,
  4961. /* [out] */ ITypeInfo **ppTInfo);
  4962. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4963. IQualifiers * This,
  4964. /* [in] */ REFIID riid,
  4965. /* [size_is][in] */ LPOLESTR *rgszNames,
  4966. /* [in] */ UINT cNames,
  4967. /* [in] */ LCID lcid,
  4968. /* [size_is][out] */ DISPID *rgDispId);
  4969. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4970. IQualifiers * This,
  4971. /* [in] */ DISPID dispIdMember,
  4972. /* [in] */ REFIID riid,
  4973. /* [in] */ LCID lcid,
  4974. /* [in] */ WORD wFlags,
  4975. /* [out][in] */ DISPPARAMS *pDispParams,
  4976. /* [out] */ VARIANT *pVarResult,
  4977. /* [out] */ EXCEPINFO *pExcepInfo,
  4978. /* [out] */ UINT *puArgErr);
  4979. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  4980. IQualifiers * This,
  4981. /* [in] */ long Index,
  4982. /* [retval][out] */ VARIANT *pVal);
  4983. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  4984. IQualifiers * This,
  4985. /* [retval][out] */ long *pVal);
  4986. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  4987. IQualifiers * This,
  4988. /* [retval][out] */ LPUNKNOWN *pVal);
  4989. END_INTERFACE
  4990. } IQualifiersVtbl;
  4991. interface IQualifiers
  4992. {
  4993. CONST_VTBL struct IQualifiersVtbl *lpVtbl;
  4994. };
  4995. #ifdef COBJMACROS
  4996. #define IQualifiers_QueryInterface(This,riid,ppvObject) \
  4997. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4998. #define IQualifiers_AddRef(This) \
  4999. (This)->lpVtbl -> AddRef(This)
  5000. #define IQualifiers_Release(This) \
  5001. (This)->lpVtbl -> Release(This)
  5002. #define IQualifiers_GetTypeInfoCount(This,pctinfo) \
  5003. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5004. #define IQualifiers_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5005. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5006. #define IQualifiers_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5007. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5008. #define IQualifiers_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5009. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5010. #define IQualifiers_get_Item(This,Index,pVal) \
  5011. (This)->lpVtbl -> get_Item(This,Index,pVal)
  5012. #define IQualifiers_get_Count(This,pVal) \
  5013. (This)->lpVtbl -> get_Count(This,pVal)
  5014. #define IQualifiers_get__NewEnum(This,pVal) \
  5015. (This)->lpVtbl -> get__NewEnum(This,pVal)
  5016. #endif /* COBJMACROS */
  5017. #endif /* C style interface */
  5018. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IQualifiers_get_Item_Proxy(
  5019. IQualifiers * This,
  5020. /* [in] */ long Index,
  5021. /* [retval][out] */ VARIANT *pVal);
  5022. void __RPC_STUB IQualifiers_get_Item_Stub(
  5023. IRpcStubBuffer *This,
  5024. IRpcChannelBuffer *_pRpcChannelBuffer,
  5025. PRPC_MESSAGE _pRpcMessage,
  5026. DWORD *_pdwStubPhase);
  5027. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IQualifiers_get_Count_Proxy(
  5028. IQualifiers * This,
  5029. /* [retval][out] */ long *pVal);
  5030. void __RPC_STUB IQualifiers_get_Count_Stub(
  5031. IRpcStubBuffer *This,
  5032. IRpcChannelBuffer *_pRpcChannelBuffer,
  5033. PRPC_MESSAGE _pRpcMessage,
  5034. DWORD *_pdwStubPhase);
  5035. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IQualifiers_get__NewEnum_Proxy(
  5036. IQualifiers * This,
  5037. /* [retval][out] */ LPUNKNOWN *pVal);
  5038. void __RPC_STUB IQualifiers_get__NewEnum_Stub(
  5039. IRpcStubBuffer *This,
  5040. IRpcChannelBuffer *_pRpcChannelBuffer,
  5041. PRPC_MESSAGE _pRpcMessage,
  5042. DWORD *_pdwStubPhase);
  5043. #endif /* __IQualifiers_INTERFACE_DEFINED__ */
  5044. #ifndef __IPolicyInformation_INTERFACE_DEFINED__
  5045. #define __IPolicyInformation_INTERFACE_DEFINED__
  5046. /* interface IPolicyInformation */
  5047. /* [unique][helpstring][dual][uuid][object] */
  5048. EXTERN_C const IID IID_IPolicyInformation;
  5049. #if defined(__cplusplus) && !defined(CINTERFACE)
  5050. MIDL_INTERFACE("8973710C-8411-4951-9E65-D45FD524FFDF")
  5051. IPolicyInformation : public IDispatch
  5052. {
  5053. public:
  5054. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OID(
  5055. /* [retval][out] */ IOID **pVal) = 0;
  5056. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Qualifiers(
  5057. /* [retval][out] */ IQualifiers **pVal) = 0;
  5058. };
  5059. #else /* C style interface */
  5060. typedef struct IPolicyInformationVtbl
  5061. {
  5062. BEGIN_INTERFACE
  5063. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5064. IPolicyInformation * This,
  5065. /* [in] */ REFIID riid,
  5066. /* [iid_is][out] */ void **ppvObject);
  5067. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5068. IPolicyInformation * This);
  5069. ULONG ( STDMETHODCALLTYPE *Release )(
  5070. IPolicyInformation * This);
  5071. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5072. IPolicyInformation * This,
  5073. /* [out] */ UINT *pctinfo);
  5074. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5075. IPolicyInformation * This,
  5076. /* [in] */ UINT iTInfo,
  5077. /* [in] */ LCID lcid,
  5078. /* [out] */ ITypeInfo **ppTInfo);
  5079. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5080. IPolicyInformation * This,
  5081. /* [in] */ REFIID riid,
  5082. /* [size_is][in] */ LPOLESTR *rgszNames,
  5083. /* [in] */ UINT cNames,
  5084. /* [in] */ LCID lcid,
  5085. /* [size_is][out] */ DISPID *rgDispId);
  5086. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5087. IPolicyInformation * This,
  5088. /* [in] */ DISPID dispIdMember,
  5089. /* [in] */ REFIID riid,
  5090. /* [in] */ LCID lcid,
  5091. /* [in] */ WORD wFlags,
  5092. /* [out][in] */ DISPPARAMS *pDispParams,
  5093. /* [out] */ VARIANT *pVarResult,
  5094. /* [out] */ EXCEPINFO *pExcepInfo,
  5095. /* [out] */ UINT *puArgErr);
  5096. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OID )(
  5097. IPolicyInformation * This,
  5098. /* [retval][out] */ IOID **pVal);
  5099. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Qualifiers )(
  5100. IPolicyInformation * This,
  5101. /* [retval][out] */ IQualifiers **pVal);
  5102. END_INTERFACE
  5103. } IPolicyInformationVtbl;
  5104. interface IPolicyInformation
  5105. {
  5106. CONST_VTBL struct IPolicyInformationVtbl *lpVtbl;
  5107. };
  5108. #ifdef COBJMACROS
  5109. #define IPolicyInformation_QueryInterface(This,riid,ppvObject) \
  5110. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5111. #define IPolicyInformation_AddRef(This) \
  5112. (This)->lpVtbl -> AddRef(This)
  5113. #define IPolicyInformation_Release(This) \
  5114. (This)->lpVtbl -> Release(This)
  5115. #define IPolicyInformation_GetTypeInfoCount(This,pctinfo) \
  5116. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5117. #define IPolicyInformation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5118. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5119. #define IPolicyInformation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5120. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5121. #define IPolicyInformation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5122. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5123. #define IPolicyInformation_get_OID(This,pVal) \
  5124. (This)->lpVtbl -> get_OID(This,pVal)
  5125. #define IPolicyInformation_get_Qualifiers(This,pVal) \
  5126. (This)->lpVtbl -> get_Qualifiers(This,pVal)
  5127. #endif /* COBJMACROS */
  5128. #endif /* C style interface */
  5129. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPolicyInformation_get_OID_Proxy(
  5130. IPolicyInformation * This,
  5131. /* [retval][out] */ IOID **pVal);
  5132. void __RPC_STUB IPolicyInformation_get_OID_Stub(
  5133. IRpcStubBuffer *This,
  5134. IRpcChannelBuffer *_pRpcChannelBuffer,
  5135. PRPC_MESSAGE _pRpcMessage,
  5136. DWORD *_pdwStubPhase);
  5137. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPolicyInformation_get_Qualifiers_Proxy(
  5138. IPolicyInformation * This,
  5139. /* [retval][out] */ IQualifiers **pVal);
  5140. void __RPC_STUB IPolicyInformation_get_Qualifiers_Stub(
  5141. IRpcStubBuffer *This,
  5142. IRpcChannelBuffer *_pRpcChannelBuffer,
  5143. PRPC_MESSAGE _pRpcMessage,
  5144. DWORD *_pdwStubPhase);
  5145. #endif /* __IPolicyInformation_INTERFACE_DEFINED__ */
  5146. #ifndef __ICertificatePolicies_INTERFACE_DEFINED__
  5147. #define __ICertificatePolicies_INTERFACE_DEFINED__
  5148. /* interface ICertificatePolicies */
  5149. /* [unique][helpstring][dual][uuid][object] */
  5150. EXTERN_C const IID IID_ICertificatePolicies;
  5151. #if defined(__cplusplus) && !defined(CINTERFACE)
  5152. MIDL_INTERFACE("CC7A72A7-C83A-4049-85F4-4292DE9DBFD3")
  5153. ICertificatePolicies : public IDispatch
  5154. {
  5155. public:
  5156. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  5157. /* [in] */ long Index,
  5158. /* [retval][out] */ VARIANT *pVal) = 0;
  5159. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  5160. /* [retval][out] */ long *pVal) = 0;
  5161. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  5162. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  5163. };
  5164. #else /* C style interface */
  5165. typedef struct ICertificatePoliciesVtbl
  5166. {
  5167. BEGIN_INTERFACE
  5168. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5169. ICertificatePolicies * This,
  5170. /* [in] */ REFIID riid,
  5171. /* [iid_is][out] */ void **ppvObject);
  5172. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5173. ICertificatePolicies * This);
  5174. ULONG ( STDMETHODCALLTYPE *Release )(
  5175. ICertificatePolicies * This);
  5176. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5177. ICertificatePolicies * This,
  5178. /* [out] */ UINT *pctinfo);
  5179. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5180. ICertificatePolicies * This,
  5181. /* [in] */ UINT iTInfo,
  5182. /* [in] */ LCID lcid,
  5183. /* [out] */ ITypeInfo **ppTInfo);
  5184. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5185. ICertificatePolicies * This,
  5186. /* [in] */ REFIID riid,
  5187. /* [size_is][in] */ LPOLESTR *rgszNames,
  5188. /* [in] */ UINT cNames,
  5189. /* [in] */ LCID lcid,
  5190. /* [size_is][out] */ DISPID *rgDispId);
  5191. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5192. ICertificatePolicies * This,
  5193. /* [in] */ DISPID dispIdMember,
  5194. /* [in] */ REFIID riid,
  5195. /* [in] */ LCID lcid,
  5196. /* [in] */ WORD wFlags,
  5197. /* [out][in] */ DISPPARAMS *pDispParams,
  5198. /* [out] */ VARIANT *pVarResult,
  5199. /* [out] */ EXCEPINFO *pExcepInfo,
  5200. /* [out] */ UINT *puArgErr);
  5201. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  5202. ICertificatePolicies * This,
  5203. /* [in] */ long Index,
  5204. /* [retval][out] */ VARIANT *pVal);
  5205. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  5206. ICertificatePolicies * This,
  5207. /* [retval][out] */ long *pVal);
  5208. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  5209. ICertificatePolicies * This,
  5210. /* [retval][out] */ LPUNKNOWN *pVal);
  5211. END_INTERFACE
  5212. } ICertificatePoliciesVtbl;
  5213. interface ICertificatePolicies
  5214. {
  5215. CONST_VTBL struct ICertificatePoliciesVtbl *lpVtbl;
  5216. };
  5217. #ifdef COBJMACROS
  5218. #define ICertificatePolicies_QueryInterface(This,riid,ppvObject) \
  5219. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5220. #define ICertificatePolicies_AddRef(This) \
  5221. (This)->lpVtbl -> AddRef(This)
  5222. #define ICertificatePolicies_Release(This) \
  5223. (This)->lpVtbl -> Release(This)
  5224. #define ICertificatePolicies_GetTypeInfoCount(This,pctinfo) \
  5225. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5226. #define ICertificatePolicies_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5227. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5228. #define ICertificatePolicies_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5229. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5230. #define ICertificatePolicies_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5231. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5232. #define ICertificatePolicies_get_Item(This,Index,pVal) \
  5233. (This)->lpVtbl -> get_Item(This,Index,pVal)
  5234. #define ICertificatePolicies_get_Count(This,pVal) \
  5235. (This)->lpVtbl -> get_Count(This,pVal)
  5236. #define ICertificatePolicies_get__NewEnum(This,pVal) \
  5237. (This)->lpVtbl -> get__NewEnum(This,pVal)
  5238. #endif /* COBJMACROS */
  5239. #endif /* C style interface */
  5240. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificatePolicies_get_Item_Proxy(
  5241. ICertificatePolicies * This,
  5242. /* [in] */ long Index,
  5243. /* [retval][out] */ VARIANT *pVal);
  5244. void __RPC_STUB ICertificatePolicies_get_Item_Stub(
  5245. IRpcStubBuffer *This,
  5246. IRpcChannelBuffer *_pRpcChannelBuffer,
  5247. PRPC_MESSAGE _pRpcMessage,
  5248. DWORD *_pdwStubPhase);
  5249. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificatePolicies_get_Count_Proxy(
  5250. ICertificatePolicies * This,
  5251. /* [retval][out] */ long *pVal);
  5252. void __RPC_STUB ICertificatePolicies_get_Count_Stub(
  5253. IRpcStubBuffer *This,
  5254. IRpcChannelBuffer *_pRpcChannelBuffer,
  5255. PRPC_MESSAGE _pRpcMessage,
  5256. DWORD *_pdwStubPhase);
  5257. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificatePolicies_get__NewEnum_Proxy(
  5258. ICertificatePolicies * This,
  5259. /* [retval][out] */ LPUNKNOWN *pVal);
  5260. void __RPC_STUB ICertificatePolicies_get__NewEnum_Stub(
  5261. IRpcStubBuffer *This,
  5262. IRpcChannelBuffer *_pRpcChannelBuffer,
  5263. PRPC_MESSAGE _pRpcMessage,
  5264. DWORD *_pdwStubPhase);
  5265. #endif /* __ICertificatePolicies_INTERFACE_DEFINED__ */
  5266. #ifndef __IEncodedData_INTERFACE_DEFINED__
  5267. #define __IEncodedData_INTERFACE_DEFINED__
  5268. /* interface IEncodedData */
  5269. /* [unique][helpstring][dual][uuid][object] */
  5270. EXTERN_C const IID IID_IEncodedData;
  5271. #if defined(__cplusplus) && !defined(CINTERFACE)
  5272. MIDL_INTERFACE("D3D460F2-E7F3-4AF3-8EC6-8EB68C61C567")
  5273. IEncodedData : public IDispatch
  5274. {
  5275. public:
  5276. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  5277. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  5278. /* [retval][out] */ BSTR *pVal) = 0;
  5279. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Format(
  5280. /* [defaultvalue][in] */ VARIANT_BOOL bMultiLines,
  5281. /* [retval][out] */ BSTR *pVal) = 0;
  5282. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Decoder(
  5283. /* [retval][out] */ IDispatch **pVal) = 0;
  5284. };
  5285. #else /* C style interface */
  5286. typedef struct IEncodedDataVtbl
  5287. {
  5288. BEGIN_INTERFACE
  5289. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5290. IEncodedData * This,
  5291. /* [in] */ REFIID riid,
  5292. /* [iid_is][out] */ void **ppvObject);
  5293. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5294. IEncodedData * This);
  5295. ULONG ( STDMETHODCALLTYPE *Release )(
  5296. IEncodedData * This);
  5297. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5298. IEncodedData * This,
  5299. /* [out] */ UINT *pctinfo);
  5300. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5301. IEncodedData * This,
  5302. /* [in] */ UINT iTInfo,
  5303. /* [in] */ LCID lcid,
  5304. /* [out] */ ITypeInfo **ppTInfo);
  5305. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5306. IEncodedData * This,
  5307. /* [in] */ REFIID riid,
  5308. /* [size_is][in] */ LPOLESTR *rgszNames,
  5309. /* [in] */ UINT cNames,
  5310. /* [in] */ LCID lcid,
  5311. /* [size_is][out] */ DISPID *rgDispId);
  5312. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5313. IEncodedData * This,
  5314. /* [in] */ DISPID dispIdMember,
  5315. /* [in] */ REFIID riid,
  5316. /* [in] */ LCID lcid,
  5317. /* [in] */ WORD wFlags,
  5318. /* [out][in] */ DISPPARAMS *pDispParams,
  5319. /* [out] */ VARIANT *pVarResult,
  5320. /* [out] */ EXCEPINFO *pExcepInfo,
  5321. /* [out] */ UINT *puArgErr);
  5322. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  5323. IEncodedData * This,
  5324. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  5325. /* [retval][out] */ BSTR *pVal);
  5326. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Format )(
  5327. IEncodedData * This,
  5328. /* [defaultvalue][in] */ VARIANT_BOOL bMultiLines,
  5329. /* [retval][out] */ BSTR *pVal);
  5330. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Decoder )(
  5331. IEncodedData * This,
  5332. /* [retval][out] */ IDispatch **pVal);
  5333. END_INTERFACE
  5334. } IEncodedDataVtbl;
  5335. interface IEncodedData
  5336. {
  5337. CONST_VTBL struct IEncodedDataVtbl *lpVtbl;
  5338. };
  5339. #ifdef COBJMACROS
  5340. #define IEncodedData_QueryInterface(This,riid,ppvObject) \
  5341. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5342. #define IEncodedData_AddRef(This) \
  5343. (This)->lpVtbl -> AddRef(This)
  5344. #define IEncodedData_Release(This) \
  5345. (This)->lpVtbl -> Release(This)
  5346. #define IEncodedData_GetTypeInfoCount(This,pctinfo) \
  5347. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5348. #define IEncodedData_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5349. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5350. #define IEncodedData_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5351. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5352. #define IEncodedData_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5353. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5354. #define IEncodedData_get_Value(This,EncodingType,pVal) \
  5355. (This)->lpVtbl -> get_Value(This,EncodingType,pVal)
  5356. #define IEncodedData_Format(This,bMultiLines,pVal) \
  5357. (This)->lpVtbl -> Format(This,bMultiLines,pVal)
  5358. #define IEncodedData_Decoder(This,pVal) \
  5359. (This)->lpVtbl -> Decoder(This,pVal)
  5360. #endif /* COBJMACROS */
  5361. #endif /* C style interface */
  5362. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEncodedData_get_Value_Proxy(
  5363. IEncodedData * This,
  5364. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  5365. /* [retval][out] */ BSTR *pVal);
  5366. void __RPC_STUB IEncodedData_get_Value_Stub(
  5367. IRpcStubBuffer *This,
  5368. IRpcChannelBuffer *_pRpcChannelBuffer,
  5369. PRPC_MESSAGE _pRpcMessage,
  5370. DWORD *_pdwStubPhase);
  5371. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEncodedData_Format_Proxy(
  5372. IEncodedData * This,
  5373. /* [defaultvalue][in] */ VARIANT_BOOL bMultiLines,
  5374. /* [retval][out] */ BSTR *pVal);
  5375. void __RPC_STUB IEncodedData_Format_Stub(
  5376. IRpcStubBuffer *This,
  5377. IRpcChannelBuffer *_pRpcChannelBuffer,
  5378. PRPC_MESSAGE _pRpcMessage,
  5379. DWORD *_pdwStubPhase);
  5380. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IEncodedData_Decoder_Proxy(
  5381. IEncodedData * This,
  5382. /* [retval][out] */ IDispatch **pVal);
  5383. void __RPC_STUB IEncodedData_Decoder_Stub(
  5384. IRpcStubBuffer *This,
  5385. IRpcChannelBuffer *_pRpcChannelBuffer,
  5386. PRPC_MESSAGE _pRpcMessage,
  5387. DWORD *_pdwStubPhase);
  5388. #endif /* __IEncodedData_INTERFACE_DEFINED__ */
  5389. #ifndef __IExtension_INTERFACE_DEFINED__
  5390. #define __IExtension_INTERFACE_DEFINED__
  5391. /* interface IExtension */
  5392. /* [unique][helpstring][dual][uuid][object] */
  5393. EXTERN_C const IID IID_IExtension;
  5394. #if defined(__cplusplus) && !defined(CINTERFACE)
  5395. MIDL_INTERFACE("ED4E4ED4-FDD8-476E-AED9-5239E7948257")
  5396. IExtension : public IDispatch
  5397. {
  5398. public:
  5399. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OID(
  5400. /* [retval][out] */ IOID **pVal) = 0;
  5401. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsCritical(
  5402. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  5403. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EncodedData(
  5404. /* [retval][out] */ IEncodedData **pVal) = 0;
  5405. };
  5406. #else /* C style interface */
  5407. typedef struct IExtensionVtbl
  5408. {
  5409. BEGIN_INTERFACE
  5410. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5411. IExtension * This,
  5412. /* [in] */ REFIID riid,
  5413. /* [iid_is][out] */ void **ppvObject);
  5414. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5415. IExtension * This);
  5416. ULONG ( STDMETHODCALLTYPE *Release )(
  5417. IExtension * This);
  5418. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5419. IExtension * This,
  5420. /* [out] */ UINT *pctinfo);
  5421. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5422. IExtension * This,
  5423. /* [in] */ UINT iTInfo,
  5424. /* [in] */ LCID lcid,
  5425. /* [out] */ ITypeInfo **ppTInfo);
  5426. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5427. IExtension * This,
  5428. /* [in] */ REFIID riid,
  5429. /* [size_is][in] */ LPOLESTR *rgszNames,
  5430. /* [in] */ UINT cNames,
  5431. /* [in] */ LCID lcid,
  5432. /* [size_is][out] */ DISPID *rgDispId);
  5433. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5434. IExtension * This,
  5435. /* [in] */ DISPID dispIdMember,
  5436. /* [in] */ REFIID riid,
  5437. /* [in] */ LCID lcid,
  5438. /* [in] */ WORD wFlags,
  5439. /* [out][in] */ DISPPARAMS *pDispParams,
  5440. /* [out] */ VARIANT *pVarResult,
  5441. /* [out] */ EXCEPINFO *pExcepInfo,
  5442. /* [out] */ UINT *puArgErr);
  5443. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OID )(
  5444. IExtension * This,
  5445. /* [retval][out] */ IOID **pVal);
  5446. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsCritical )(
  5447. IExtension * This,
  5448. /* [retval][out] */ VARIANT_BOOL *pVal);
  5449. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EncodedData )(
  5450. IExtension * This,
  5451. /* [retval][out] */ IEncodedData **pVal);
  5452. END_INTERFACE
  5453. } IExtensionVtbl;
  5454. interface IExtension
  5455. {
  5456. CONST_VTBL struct IExtensionVtbl *lpVtbl;
  5457. };
  5458. #ifdef COBJMACROS
  5459. #define IExtension_QueryInterface(This,riid,ppvObject) \
  5460. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5461. #define IExtension_AddRef(This) \
  5462. (This)->lpVtbl -> AddRef(This)
  5463. #define IExtension_Release(This) \
  5464. (This)->lpVtbl -> Release(This)
  5465. #define IExtension_GetTypeInfoCount(This,pctinfo) \
  5466. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5467. #define IExtension_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5468. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5469. #define IExtension_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5470. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5471. #define IExtension_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5472. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5473. #define IExtension_get_OID(This,pVal) \
  5474. (This)->lpVtbl -> get_OID(This,pVal)
  5475. #define IExtension_get_IsCritical(This,pVal) \
  5476. (This)->lpVtbl -> get_IsCritical(This,pVal)
  5477. #define IExtension_get_EncodedData(This,pVal) \
  5478. (This)->lpVtbl -> get_EncodedData(This,pVal)
  5479. #endif /* COBJMACROS */
  5480. #endif /* C style interface */
  5481. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtension_get_OID_Proxy(
  5482. IExtension * This,
  5483. /* [retval][out] */ IOID **pVal);
  5484. void __RPC_STUB IExtension_get_OID_Stub(
  5485. IRpcStubBuffer *This,
  5486. IRpcChannelBuffer *_pRpcChannelBuffer,
  5487. PRPC_MESSAGE _pRpcMessage,
  5488. DWORD *_pdwStubPhase);
  5489. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtension_get_IsCritical_Proxy(
  5490. IExtension * This,
  5491. /* [retval][out] */ VARIANT_BOOL *pVal);
  5492. void __RPC_STUB IExtension_get_IsCritical_Stub(
  5493. IRpcStubBuffer *This,
  5494. IRpcChannelBuffer *_pRpcChannelBuffer,
  5495. PRPC_MESSAGE _pRpcMessage,
  5496. DWORD *_pdwStubPhase);
  5497. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtension_get_EncodedData_Proxy(
  5498. IExtension * This,
  5499. /* [retval][out] */ IEncodedData **pVal);
  5500. void __RPC_STUB IExtension_get_EncodedData_Stub(
  5501. IRpcStubBuffer *This,
  5502. IRpcChannelBuffer *_pRpcChannelBuffer,
  5503. PRPC_MESSAGE _pRpcMessage,
  5504. DWORD *_pdwStubPhase);
  5505. #endif /* __IExtension_INTERFACE_DEFINED__ */
  5506. #ifndef __IExtensions_INTERFACE_DEFINED__
  5507. #define __IExtensions_INTERFACE_DEFINED__
  5508. /* interface IExtensions */
  5509. /* [unique][helpstring][dual][uuid][object] */
  5510. EXTERN_C const IID IID_IExtensions;
  5511. #if defined(__cplusplus) && !defined(CINTERFACE)
  5512. MIDL_INTERFACE("BC530D61-E692-4225-9E7A-07B90B45856A")
  5513. IExtensions : public IDispatch
  5514. {
  5515. public:
  5516. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  5517. /* [in] */ VARIANT Index,
  5518. /* [retval][out] */ VARIANT *pVal) = 0;
  5519. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  5520. /* [retval][out] */ long *pVal) = 0;
  5521. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  5522. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  5523. };
  5524. #else /* C style interface */
  5525. typedef struct IExtensionsVtbl
  5526. {
  5527. BEGIN_INTERFACE
  5528. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5529. IExtensions * This,
  5530. /* [in] */ REFIID riid,
  5531. /* [iid_is][out] */ void **ppvObject);
  5532. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5533. IExtensions * This);
  5534. ULONG ( STDMETHODCALLTYPE *Release )(
  5535. IExtensions * This);
  5536. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5537. IExtensions * This,
  5538. /* [out] */ UINT *pctinfo);
  5539. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5540. IExtensions * This,
  5541. /* [in] */ UINT iTInfo,
  5542. /* [in] */ LCID lcid,
  5543. /* [out] */ ITypeInfo **ppTInfo);
  5544. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5545. IExtensions * This,
  5546. /* [in] */ REFIID riid,
  5547. /* [size_is][in] */ LPOLESTR *rgszNames,
  5548. /* [in] */ UINT cNames,
  5549. /* [in] */ LCID lcid,
  5550. /* [size_is][out] */ DISPID *rgDispId);
  5551. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5552. IExtensions * This,
  5553. /* [in] */ DISPID dispIdMember,
  5554. /* [in] */ REFIID riid,
  5555. /* [in] */ LCID lcid,
  5556. /* [in] */ WORD wFlags,
  5557. /* [out][in] */ DISPPARAMS *pDispParams,
  5558. /* [out] */ VARIANT *pVarResult,
  5559. /* [out] */ EXCEPINFO *pExcepInfo,
  5560. /* [out] */ UINT *puArgErr);
  5561. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  5562. IExtensions * This,
  5563. /* [in] */ VARIANT Index,
  5564. /* [retval][out] */ VARIANT *pVal);
  5565. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  5566. IExtensions * This,
  5567. /* [retval][out] */ long *pVal);
  5568. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  5569. IExtensions * This,
  5570. /* [retval][out] */ LPUNKNOWN *pVal);
  5571. END_INTERFACE
  5572. } IExtensionsVtbl;
  5573. interface IExtensions
  5574. {
  5575. CONST_VTBL struct IExtensionsVtbl *lpVtbl;
  5576. };
  5577. #ifdef COBJMACROS
  5578. #define IExtensions_QueryInterface(This,riid,ppvObject) \
  5579. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5580. #define IExtensions_AddRef(This) \
  5581. (This)->lpVtbl -> AddRef(This)
  5582. #define IExtensions_Release(This) \
  5583. (This)->lpVtbl -> Release(This)
  5584. #define IExtensions_GetTypeInfoCount(This,pctinfo) \
  5585. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5586. #define IExtensions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5587. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5588. #define IExtensions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5589. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5590. #define IExtensions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5591. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5592. #define IExtensions_get_Item(This,Index,pVal) \
  5593. (This)->lpVtbl -> get_Item(This,Index,pVal)
  5594. #define IExtensions_get_Count(This,pVal) \
  5595. (This)->lpVtbl -> get_Count(This,pVal)
  5596. #define IExtensions_get__NewEnum(This,pVal) \
  5597. (This)->lpVtbl -> get__NewEnum(This,pVal)
  5598. #endif /* COBJMACROS */
  5599. #endif /* C style interface */
  5600. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtensions_get_Item_Proxy(
  5601. IExtensions * This,
  5602. /* [in] */ VARIANT Index,
  5603. /* [retval][out] */ VARIANT *pVal);
  5604. void __RPC_STUB IExtensions_get_Item_Stub(
  5605. IRpcStubBuffer *This,
  5606. IRpcChannelBuffer *_pRpcChannelBuffer,
  5607. PRPC_MESSAGE _pRpcMessage,
  5608. DWORD *_pdwStubPhase);
  5609. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtensions_get_Count_Proxy(
  5610. IExtensions * This,
  5611. /* [retval][out] */ long *pVal);
  5612. void __RPC_STUB IExtensions_get_Count_Stub(
  5613. IRpcStubBuffer *This,
  5614. IRpcChannelBuffer *_pRpcChannelBuffer,
  5615. PRPC_MESSAGE _pRpcMessage,
  5616. DWORD *_pdwStubPhase);
  5617. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtensions_get__NewEnum_Proxy(
  5618. IExtensions * This,
  5619. /* [retval][out] */ LPUNKNOWN *pVal);
  5620. void __RPC_STUB IExtensions_get__NewEnum_Stub(
  5621. IRpcStubBuffer *This,
  5622. IRpcChannelBuffer *_pRpcChannelBuffer,
  5623. PRPC_MESSAGE _pRpcMessage,
  5624. DWORD *_pdwStubPhase);
  5625. #endif /* __IExtensions_INTERFACE_DEFINED__ */
  5626. #ifndef __IExtendedProperty_INTERFACE_DEFINED__
  5627. #define __IExtendedProperty_INTERFACE_DEFINED__
  5628. /* interface IExtendedProperty */
  5629. /* [unique][helpstring][dual][uuid][object] */
  5630. EXTERN_C const IID IID_IExtendedProperty;
  5631. #if defined(__cplusplus) && !defined(CINTERFACE)
  5632. MIDL_INTERFACE("ECB8A5C8-562C-4989-B49D-FA37D40F8FC4")
  5633. IExtendedProperty : public IDispatch
  5634. {
  5635. public:
  5636. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropID(
  5637. /* [retval][out] */ CAPICOM_PROPID *pVal) = 0;
  5638. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PropID(
  5639. /* [in] */ CAPICOM_PROPID newVal) = 0;
  5640. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  5641. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  5642. /* [retval][out] */ BSTR *pVal) = 0;
  5643. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value(
  5644. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  5645. /* [in] */ BSTR newVal) = 0;
  5646. };
  5647. #else /* C style interface */
  5648. typedef struct IExtendedPropertyVtbl
  5649. {
  5650. BEGIN_INTERFACE
  5651. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5652. IExtendedProperty * This,
  5653. /* [in] */ REFIID riid,
  5654. /* [iid_is][out] */ void **ppvObject);
  5655. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5656. IExtendedProperty * This);
  5657. ULONG ( STDMETHODCALLTYPE *Release )(
  5658. IExtendedProperty * This);
  5659. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5660. IExtendedProperty * This,
  5661. /* [out] */ UINT *pctinfo);
  5662. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5663. IExtendedProperty * This,
  5664. /* [in] */ UINT iTInfo,
  5665. /* [in] */ LCID lcid,
  5666. /* [out] */ ITypeInfo **ppTInfo);
  5667. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5668. IExtendedProperty * This,
  5669. /* [in] */ REFIID riid,
  5670. /* [size_is][in] */ LPOLESTR *rgszNames,
  5671. /* [in] */ UINT cNames,
  5672. /* [in] */ LCID lcid,
  5673. /* [size_is][out] */ DISPID *rgDispId);
  5674. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5675. IExtendedProperty * This,
  5676. /* [in] */ DISPID dispIdMember,
  5677. /* [in] */ REFIID riid,
  5678. /* [in] */ LCID lcid,
  5679. /* [in] */ WORD wFlags,
  5680. /* [out][in] */ DISPPARAMS *pDispParams,
  5681. /* [out] */ VARIANT *pVarResult,
  5682. /* [out] */ EXCEPINFO *pExcepInfo,
  5683. /* [out] */ UINT *puArgErr);
  5684. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropID )(
  5685. IExtendedProperty * This,
  5686. /* [retval][out] */ CAPICOM_PROPID *pVal);
  5687. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PropID )(
  5688. IExtendedProperty * This,
  5689. /* [in] */ CAPICOM_PROPID newVal);
  5690. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  5691. IExtendedProperty * This,
  5692. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  5693. /* [retval][out] */ BSTR *pVal);
  5694. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  5695. IExtendedProperty * This,
  5696. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  5697. /* [in] */ BSTR newVal);
  5698. END_INTERFACE
  5699. } IExtendedPropertyVtbl;
  5700. interface IExtendedProperty
  5701. {
  5702. CONST_VTBL struct IExtendedPropertyVtbl *lpVtbl;
  5703. };
  5704. #ifdef COBJMACROS
  5705. #define IExtendedProperty_QueryInterface(This,riid,ppvObject) \
  5706. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5707. #define IExtendedProperty_AddRef(This) \
  5708. (This)->lpVtbl -> AddRef(This)
  5709. #define IExtendedProperty_Release(This) \
  5710. (This)->lpVtbl -> Release(This)
  5711. #define IExtendedProperty_GetTypeInfoCount(This,pctinfo) \
  5712. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5713. #define IExtendedProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5714. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5715. #define IExtendedProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5716. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5717. #define IExtendedProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5718. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5719. #define IExtendedProperty_get_PropID(This,pVal) \
  5720. (This)->lpVtbl -> get_PropID(This,pVal)
  5721. #define IExtendedProperty_put_PropID(This,newVal) \
  5722. (This)->lpVtbl -> put_PropID(This,newVal)
  5723. #define IExtendedProperty_get_Value(This,EncodingType,pVal) \
  5724. (This)->lpVtbl -> get_Value(This,EncodingType,pVal)
  5725. #define IExtendedProperty_put_Value(This,EncodingType,newVal) \
  5726. (This)->lpVtbl -> put_Value(This,EncodingType,newVal)
  5727. #endif /* COBJMACROS */
  5728. #endif /* C style interface */
  5729. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtendedProperty_get_PropID_Proxy(
  5730. IExtendedProperty * This,
  5731. /* [retval][out] */ CAPICOM_PROPID *pVal);
  5732. void __RPC_STUB IExtendedProperty_get_PropID_Stub(
  5733. IRpcStubBuffer *This,
  5734. IRpcChannelBuffer *_pRpcChannelBuffer,
  5735. PRPC_MESSAGE _pRpcMessage,
  5736. DWORD *_pdwStubPhase);
  5737. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IExtendedProperty_put_PropID_Proxy(
  5738. IExtendedProperty * This,
  5739. /* [in] */ CAPICOM_PROPID newVal);
  5740. void __RPC_STUB IExtendedProperty_put_PropID_Stub(
  5741. IRpcStubBuffer *This,
  5742. IRpcChannelBuffer *_pRpcChannelBuffer,
  5743. PRPC_MESSAGE _pRpcMessage,
  5744. DWORD *_pdwStubPhase);
  5745. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtendedProperty_get_Value_Proxy(
  5746. IExtendedProperty * This,
  5747. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  5748. /* [retval][out] */ BSTR *pVal);
  5749. void __RPC_STUB IExtendedProperty_get_Value_Stub(
  5750. IRpcStubBuffer *This,
  5751. IRpcChannelBuffer *_pRpcChannelBuffer,
  5752. PRPC_MESSAGE _pRpcMessage,
  5753. DWORD *_pdwStubPhase);
  5754. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IExtendedProperty_put_Value_Proxy(
  5755. IExtendedProperty * This,
  5756. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  5757. /* [in] */ BSTR newVal);
  5758. void __RPC_STUB IExtendedProperty_put_Value_Stub(
  5759. IRpcStubBuffer *This,
  5760. IRpcChannelBuffer *_pRpcChannelBuffer,
  5761. PRPC_MESSAGE _pRpcMessage,
  5762. DWORD *_pdwStubPhase);
  5763. #endif /* __IExtendedProperty_INTERFACE_DEFINED__ */
  5764. #ifndef __IExtendedProperties_INTERFACE_DEFINED__
  5765. #define __IExtendedProperties_INTERFACE_DEFINED__
  5766. /* interface IExtendedProperties */
  5767. /* [unique][helpstring][dual][uuid][object] */
  5768. EXTERN_C const IID IID_IExtendedProperties;
  5769. #if defined(__cplusplus) && !defined(CINTERFACE)
  5770. MIDL_INTERFACE("3B096E87-6218-4A3B-A880-F6CB951E7805")
  5771. IExtendedProperties : public IDispatch
  5772. {
  5773. public:
  5774. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  5775. /* [in] */ long Index,
  5776. /* [retval][out] */ VARIANT *pVal) = 0;
  5777. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  5778. /* [retval][out] */ long *pVal) = 0;
  5779. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  5780. /* [retval][out] */ LPUNKNOWN *pVal) = 0;
  5781. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  5782. /* [in] */ IExtendedProperty *pVal) = 0;
  5783. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  5784. /* [in] */ CAPICOM_PROPID PropId) = 0;
  5785. };
  5786. #else /* C style interface */
  5787. typedef struct IExtendedPropertiesVtbl
  5788. {
  5789. BEGIN_INTERFACE
  5790. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5791. IExtendedProperties * This,
  5792. /* [in] */ REFIID riid,
  5793. /* [iid_is][out] */ void **ppvObject);
  5794. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5795. IExtendedProperties * This);
  5796. ULONG ( STDMETHODCALLTYPE *Release )(
  5797. IExtendedProperties * This);
  5798. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5799. IExtendedProperties * This,
  5800. /* [out] */ UINT *pctinfo);
  5801. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5802. IExtendedProperties * This,
  5803. /* [in] */ UINT iTInfo,
  5804. /* [in] */ LCID lcid,
  5805. /* [out] */ ITypeInfo **ppTInfo);
  5806. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5807. IExtendedProperties * This,
  5808. /* [in] */ REFIID riid,
  5809. /* [size_is][in] */ LPOLESTR *rgszNames,
  5810. /* [in] */ UINT cNames,
  5811. /* [in] */ LCID lcid,
  5812. /* [size_is][out] */ DISPID *rgDispId);
  5813. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5814. IExtendedProperties * This,
  5815. /* [in] */ DISPID dispIdMember,
  5816. /* [in] */ REFIID riid,
  5817. /* [in] */ LCID lcid,
  5818. /* [in] */ WORD wFlags,
  5819. /* [out][in] */ DISPPARAMS *pDispParams,
  5820. /* [out] */ VARIANT *pVarResult,
  5821. /* [out] */ EXCEPINFO *pExcepInfo,
  5822. /* [out] */ UINT *puArgErr);
  5823. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  5824. IExtendedProperties * This,
  5825. /* [in] */ long Index,
  5826. /* [retval][out] */ VARIANT *pVal);
  5827. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  5828. IExtendedProperties * This,
  5829. /* [retval][out] */ long *pVal);
  5830. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  5831. IExtendedProperties * This,
  5832. /* [retval][out] */ LPUNKNOWN *pVal);
  5833. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  5834. IExtendedProperties * This,
  5835. /* [in] */ IExtendedProperty *pVal);
  5836. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  5837. IExtendedProperties * This,
  5838. /* [in] */ CAPICOM_PROPID PropId);
  5839. END_INTERFACE
  5840. } IExtendedPropertiesVtbl;
  5841. interface IExtendedProperties
  5842. {
  5843. CONST_VTBL struct IExtendedPropertiesVtbl *lpVtbl;
  5844. };
  5845. #ifdef COBJMACROS
  5846. #define IExtendedProperties_QueryInterface(This,riid,ppvObject) \
  5847. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5848. #define IExtendedProperties_AddRef(This) \
  5849. (This)->lpVtbl -> AddRef(This)
  5850. #define IExtendedProperties_Release(This) \
  5851. (This)->lpVtbl -> Release(This)
  5852. #define IExtendedProperties_GetTypeInfoCount(This,pctinfo) \
  5853. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5854. #define IExtendedProperties_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5855. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5856. #define IExtendedProperties_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5857. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5858. #define IExtendedProperties_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5859. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5860. #define IExtendedProperties_get_Item(This,Index,pVal) \
  5861. (This)->lpVtbl -> get_Item(This,Index,pVal)
  5862. #define IExtendedProperties_get_Count(This,pVal) \
  5863. (This)->lpVtbl -> get_Count(This,pVal)
  5864. #define IExtendedProperties_get__NewEnum(This,pVal) \
  5865. (This)->lpVtbl -> get__NewEnum(This,pVal)
  5866. #define IExtendedProperties_Add(This,pVal) \
  5867. (This)->lpVtbl -> Add(This,pVal)
  5868. #define IExtendedProperties_Remove(This,PropId) \
  5869. (This)->lpVtbl -> Remove(This,PropId)
  5870. #endif /* COBJMACROS */
  5871. #endif /* C style interface */
  5872. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtendedProperties_get_Item_Proxy(
  5873. IExtendedProperties * This,
  5874. /* [in] */ long Index,
  5875. /* [retval][out] */ VARIANT *pVal);
  5876. void __RPC_STUB IExtendedProperties_get_Item_Stub(
  5877. IRpcStubBuffer *This,
  5878. IRpcChannelBuffer *_pRpcChannelBuffer,
  5879. PRPC_MESSAGE _pRpcMessage,
  5880. DWORD *_pdwStubPhase);
  5881. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtendedProperties_get_Count_Proxy(
  5882. IExtendedProperties * This,
  5883. /* [retval][out] */ long *pVal);
  5884. void __RPC_STUB IExtendedProperties_get_Count_Stub(
  5885. IRpcStubBuffer *This,
  5886. IRpcChannelBuffer *_pRpcChannelBuffer,
  5887. PRPC_MESSAGE _pRpcMessage,
  5888. DWORD *_pdwStubPhase);
  5889. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IExtendedProperties_get__NewEnum_Proxy(
  5890. IExtendedProperties * This,
  5891. /* [retval][out] */ LPUNKNOWN *pVal);
  5892. void __RPC_STUB IExtendedProperties_get__NewEnum_Stub(
  5893. IRpcStubBuffer *This,
  5894. IRpcChannelBuffer *_pRpcChannelBuffer,
  5895. PRPC_MESSAGE _pRpcMessage,
  5896. DWORD *_pdwStubPhase);
  5897. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IExtendedProperties_Add_Proxy(
  5898. IExtendedProperties * This,
  5899. /* [in] */ IExtendedProperty *pVal);
  5900. void __RPC_STUB IExtendedProperties_Add_Stub(
  5901. IRpcStubBuffer *This,
  5902. IRpcChannelBuffer *_pRpcChannelBuffer,
  5903. PRPC_MESSAGE _pRpcMessage,
  5904. DWORD *_pdwStubPhase);
  5905. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IExtendedProperties_Remove_Proxy(
  5906. IExtendedProperties * This,
  5907. /* [in] */ CAPICOM_PROPID PropId);
  5908. void __RPC_STUB IExtendedProperties_Remove_Stub(
  5909. IRpcStubBuffer *This,
  5910. IRpcChannelBuffer *_pRpcChannelBuffer,
  5911. PRPC_MESSAGE _pRpcMessage,
  5912. DWORD *_pdwStubPhase);
  5913. #endif /* __IExtendedProperties_INTERFACE_DEFINED__ */
  5914. #ifndef __ITemplate_INTERFACE_DEFINED__
  5915. #define __ITemplate_INTERFACE_DEFINED__
  5916. /* interface ITemplate */
  5917. /* [unique][helpstring][dual][uuid][object] */
  5918. EXTERN_C const IID IID_ITemplate;
  5919. #if defined(__cplusplus) && !defined(CINTERFACE)
  5920. MIDL_INTERFACE("5F10FFCE-C922-476F-AA76-DF99D5BDFA2C")
  5921. ITemplate : public IDispatch
  5922. {
  5923. public:
  5924. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsPresent(
  5925. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  5926. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsCritical(
  5927. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  5928. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  5929. /* [retval][out] */ BSTR *pVal) = 0;
  5930. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OID(
  5931. /* [retval][out] */ IOID **pVal) = 0;
  5932. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorVersion(
  5933. /* [retval][out] */ long *pVal) = 0;
  5934. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorVersion(
  5935. /* [retval][out] */ long *pVal) = 0;
  5936. };
  5937. #else /* C style interface */
  5938. typedef struct ITemplateVtbl
  5939. {
  5940. BEGIN_INTERFACE
  5941. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5942. ITemplate * This,
  5943. /* [in] */ REFIID riid,
  5944. /* [iid_is][out] */ void **ppvObject);
  5945. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5946. ITemplate * This);
  5947. ULONG ( STDMETHODCALLTYPE *Release )(
  5948. ITemplate * This);
  5949. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5950. ITemplate * This,
  5951. /* [out] */ UINT *pctinfo);
  5952. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5953. ITemplate * This,
  5954. /* [in] */ UINT iTInfo,
  5955. /* [in] */ LCID lcid,
  5956. /* [out] */ ITypeInfo **ppTInfo);
  5957. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5958. ITemplate * This,
  5959. /* [in] */ REFIID riid,
  5960. /* [size_is][in] */ LPOLESTR *rgszNames,
  5961. /* [in] */ UINT cNames,
  5962. /* [in] */ LCID lcid,
  5963. /* [size_is][out] */ DISPID *rgDispId);
  5964. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5965. ITemplate * This,
  5966. /* [in] */ DISPID dispIdMember,
  5967. /* [in] */ REFIID riid,
  5968. /* [in] */ LCID lcid,
  5969. /* [in] */ WORD wFlags,
  5970. /* [out][in] */ DISPPARAMS *pDispParams,
  5971. /* [out] */ VARIANT *pVarResult,
  5972. /* [out] */ EXCEPINFO *pExcepInfo,
  5973. /* [out] */ UINT *puArgErr);
  5974. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsPresent )(
  5975. ITemplate * This,
  5976. /* [retval][out] */ VARIANT_BOOL *pVal);
  5977. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsCritical )(
  5978. ITemplate * This,
  5979. /* [retval][out] */ VARIANT_BOOL *pVal);
  5980. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  5981. ITemplate * This,
  5982. /* [retval][out] */ BSTR *pVal);
  5983. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OID )(
  5984. ITemplate * This,
  5985. /* [retval][out] */ IOID **pVal);
  5986. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorVersion )(
  5987. ITemplate * This,
  5988. /* [retval][out] */ long *pVal);
  5989. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorVersion )(
  5990. ITemplate * This,
  5991. /* [retval][out] */ long *pVal);
  5992. END_INTERFACE
  5993. } ITemplateVtbl;
  5994. interface ITemplate
  5995. {
  5996. CONST_VTBL struct ITemplateVtbl *lpVtbl;
  5997. };
  5998. #ifdef COBJMACROS
  5999. #define ITemplate_QueryInterface(This,riid,ppvObject) \
  6000. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6001. #define ITemplate_AddRef(This) \
  6002. (This)->lpVtbl -> AddRef(This)
  6003. #define ITemplate_Release(This) \
  6004. (This)->lpVtbl -> Release(This)
  6005. #define ITemplate_GetTypeInfoCount(This,pctinfo) \
  6006. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6007. #define ITemplate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6008. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6009. #define ITemplate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6010. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6011. #define ITemplate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6012. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6013. #define ITemplate_get_IsPresent(This,pVal) \
  6014. (This)->lpVtbl -> get_IsPresent(This,pVal)
  6015. #define ITemplate_get_IsCritical(This,pVal) \
  6016. (This)->lpVtbl -> get_IsCritical(This,pVal)
  6017. #define ITemplate_get_Name(This,pVal) \
  6018. (This)->lpVtbl -> get_Name(This,pVal)
  6019. #define ITemplate_get_OID(This,pVal) \
  6020. (This)->lpVtbl -> get_OID(This,pVal)
  6021. #define ITemplate_get_MajorVersion(This,pVal) \
  6022. (This)->lpVtbl -> get_MajorVersion(This,pVal)
  6023. #define ITemplate_get_MinorVersion(This,pVal) \
  6024. (This)->lpVtbl -> get_MinorVersion(This,pVal)
  6025. #endif /* COBJMACROS */
  6026. #endif /* C style interface */
  6027. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITemplate_get_IsPresent_Proxy(
  6028. ITemplate * This,
  6029. /* [retval][out] */ VARIANT_BOOL *pVal);
  6030. void __RPC_STUB ITemplate_get_IsPresent_Stub(
  6031. IRpcStubBuffer *This,
  6032. IRpcChannelBuffer *_pRpcChannelBuffer,
  6033. PRPC_MESSAGE _pRpcMessage,
  6034. DWORD *_pdwStubPhase);
  6035. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITemplate_get_IsCritical_Proxy(
  6036. ITemplate * This,
  6037. /* [retval][out] */ VARIANT_BOOL *pVal);
  6038. void __RPC_STUB ITemplate_get_IsCritical_Stub(
  6039. IRpcStubBuffer *This,
  6040. IRpcChannelBuffer *_pRpcChannelBuffer,
  6041. PRPC_MESSAGE _pRpcMessage,
  6042. DWORD *_pdwStubPhase);
  6043. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITemplate_get_Name_Proxy(
  6044. ITemplate * This,
  6045. /* [retval][out] */ BSTR *pVal);
  6046. void __RPC_STUB ITemplate_get_Name_Stub(
  6047. IRpcStubBuffer *This,
  6048. IRpcChannelBuffer *_pRpcChannelBuffer,
  6049. PRPC_MESSAGE _pRpcMessage,
  6050. DWORD *_pdwStubPhase);
  6051. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITemplate_get_OID_Proxy(
  6052. ITemplate * This,
  6053. /* [retval][out] */ IOID **pVal);
  6054. void __RPC_STUB ITemplate_get_OID_Stub(
  6055. IRpcStubBuffer *This,
  6056. IRpcChannelBuffer *_pRpcChannelBuffer,
  6057. PRPC_MESSAGE _pRpcMessage,
  6058. DWORD *_pdwStubPhase);
  6059. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITemplate_get_MajorVersion_Proxy(
  6060. ITemplate * This,
  6061. /* [retval][out] */ long *pVal);
  6062. void __RPC_STUB ITemplate_get_MajorVersion_Stub(
  6063. IRpcStubBuffer *This,
  6064. IRpcChannelBuffer *_pRpcChannelBuffer,
  6065. PRPC_MESSAGE _pRpcMessage,
  6066. DWORD *_pdwStubPhase);
  6067. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITemplate_get_MinorVersion_Proxy(
  6068. ITemplate * This,
  6069. /* [retval][out] */ long *pVal);
  6070. void __RPC_STUB ITemplate_get_MinorVersion_Stub(
  6071. IRpcStubBuffer *This,
  6072. IRpcChannelBuffer *_pRpcChannelBuffer,
  6073. PRPC_MESSAGE _pRpcMessage,
  6074. DWORD *_pdwStubPhase);
  6075. #endif /* __ITemplate_INTERFACE_DEFINED__ */
  6076. #ifndef __IPublicKey_INTERFACE_DEFINED__
  6077. #define __IPublicKey_INTERFACE_DEFINED__
  6078. /* interface IPublicKey */
  6079. /* [unique][helpstring][dual][uuid][object] */
  6080. EXTERN_C const IID IID_IPublicKey;
  6081. #if defined(__cplusplus) && !defined(CINTERFACE)
  6082. MIDL_INTERFACE("72BF9ADA-6817-4C31-B43E-25F7C7B091F4")
  6083. IPublicKey : public IDispatch
  6084. {
  6085. public:
  6086. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Algorithm(
  6087. /* [retval][out] */ IOID **pVal) = 0;
  6088. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Length(
  6089. /* [retval][out] */ long *pVal) = 0;
  6090. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EncodedKey(
  6091. /* [retval][out] */ IEncodedData **pVal) = 0;
  6092. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EncodedParameters(
  6093. /* [retval][out] */ IEncodedData **pVal) = 0;
  6094. };
  6095. #else /* C style interface */
  6096. typedef struct IPublicKeyVtbl
  6097. {
  6098. BEGIN_INTERFACE
  6099. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6100. IPublicKey * This,
  6101. /* [in] */ REFIID riid,
  6102. /* [iid_is][out] */ void **ppvObject);
  6103. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6104. IPublicKey * This);
  6105. ULONG ( STDMETHODCALLTYPE *Release )(
  6106. IPublicKey * This);
  6107. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6108. IPublicKey * This,
  6109. /* [out] */ UINT *pctinfo);
  6110. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6111. IPublicKey * This,
  6112. /* [in] */ UINT iTInfo,
  6113. /* [in] */ LCID lcid,
  6114. /* [out] */ ITypeInfo **ppTInfo);
  6115. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6116. IPublicKey * This,
  6117. /* [in] */ REFIID riid,
  6118. /* [size_is][in] */ LPOLESTR *rgszNames,
  6119. /* [in] */ UINT cNames,
  6120. /* [in] */ LCID lcid,
  6121. /* [size_is][out] */ DISPID *rgDispId);
  6122. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6123. IPublicKey * This,
  6124. /* [in] */ DISPID dispIdMember,
  6125. /* [in] */ REFIID riid,
  6126. /* [in] */ LCID lcid,
  6127. /* [in] */ WORD wFlags,
  6128. /* [out][in] */ DISPPARAMS *pDispParams,
  6129. /* [out] */ VARIANT *pVarResult,
  6130. /* [out] */ EXCEPINFO *pExcepInfo,
  6131. /* [out] */ UINT *puArgErr);
  6132. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Algorithm )(
  6133. IPublicKey * This,
  6134. /* [retval][out] */ IOID **pVal);
  6135. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Length )(
  6136. IPublicKey * This,
  6137. /* [retval][out] */ long *pVal);
  6138. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EncodedKey )(
  6139. IPublicKey * This,
  6140. /* [retval][out] */ IEncodedData **pVal);
  6141. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EncodedParameters )(
  6142. IPublicKey * This,
  6143. /* [retval][out] */ IEncodedData **pVal);
  6144. END_INTERFACE
  6145. } IPublicKeyVtbl;
  6146. interface IPublicKey
  6147. {
  6148. CONST_VTBL struct IPublicKeyVtbl *lpVtbl;
  6149. };
  6150. #ifdef COBJMACROS
  6151. #define IPublicKey_QueryInterface(This,riid,ppvObject) \
  6152. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6153. #define IPublicKey_AddRef(This) \
  6154. (This)->lpVtbl -> AddRef(This)
  6155. #define IPublicKey_Release(This) \
  6156. (This)->lpVtbl -> Release(This)
  6157. #define IPublicKey_GetTypeInfoCount(This,pctinfo) \
  6158. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6159. #define IPublicKey_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6160. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6161. #define IPublicKey_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6162. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6163. #define IPublicKey_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6164. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6165. #define IPublicKey_get_Algorithm(This,pVal) \
  6166. (This)->lpVtbl -> get_Algorithm(This,pVal)
  6167. #define IPublicKey_get_Length(This,pVal) \
  6168. (This)->lpVtbl -> get_Length(This,pVal)
  6169. #define IPublicKey_get_EncodedKey(This,pVal) \
  6170. (This)->lpVtbl -> get_EncodedKey(This,pVal)
  6171. #define IPublicKey_get_EncodedParameters(This,pVal) \
  6172. (This)->lpVtbl -> get_EncodedParameters(This,pVal)
  6173. #endif /* COBJMACROS */
  6174. #endif /* C style interface */
  6175. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPublicKey_get_Algorithm_Proxy(
  6176. IPublicKey * This,
  6177. /* [retval][out] */ IOID **pVal);
  6178. void __RPC_STUB IPublicKey_get_Algorithm_Stub(
  6179. IRpcStubBuffer *This,
  6180. IRpcChannelBuffer *_pRpcChannelBuffer,
  6181. PRPC_MESSAGE _pRpcMessage,
  6182. DWORD *_pdwStubPhase);
  6183. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPublicKey_get_Length_Proxy(
  6184. IPublicKey * This,
  6185. /* [retval][out] */ long *pVal);
  6186. void __RPC_STUB IPublicKey_get_Length_Stub(
  6187. IRpcStubBuffer *This,
  6188. IRpcChannelBuffer *_pRpcChannelBuffer,
  6189. PRPC_MESSAGE _pRpcMessage,
  6190. DWORD *_pdwStubPhase);
  6191. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPublicKey_get_EncodedKey_Proxy(
  6192. IPublicKey * This,
  6193. /* [retval][out] */ IEncodedData **pVal);
  6194. void __RPC_STUB IPublicKey_get_EncodedKey_Stub(
  6195. IRpcStubBuffer *This,
  6196. IRpcChannelBuffer *_pRpcChannelBuffer,
  6197. PRPC_MESSAGE _pRpcMessage,
  6198. DWORD *_pdwStubPhase);
  6199. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPublicKey_get_EncodedParameters_Proxy(
  6200. IPublicKey * This,
  6201. /* [retval][out] */ IEncodedData **pVal);
  6202. void __RPC_STUB IPublicKey_get_EncodedParameters_Stub(
  6203. IRpcStubBuffer *This,
  6204. IRpcChannelBuffer *_pRpcChannelBuffer,
  6205. PRPC_MESSAGE _pRpcMessage,
  6206. DWORD *_pdwStubPhase);
  6207. #endif /* __IPublicKey_INTERFACE_DEFINED__ */
  6208. #ifndef __IPrivateKey_INTERFACE_DEFINED__
  6209. #define __IPrivateKey_INTERFACE_DEFINED__
  6210. /* interface IPrivateKey */
  6211. /* [unique][helpstring][dual][uuid][object] */
  6212. EXTERN_C const IID IID_IPrivateKey;
  6213. #if defined(__cplusplus) && !defined(CINTERFACE)
  6214. MIDL_INTERFACE("659DEDC3-6C85-42DB-8527-EFCB21742862")
  6215. IPrivateKey : public IDispatch
  6216. {
  6217. public:
  6218. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ContainerName(
  6219. /* [retval][out] */ BSTR *pVal) = 0;
  6220. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UniqueContainerName(
  6221. /* [retval][out] */ BSTR *pVal) = 0;
  6222. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ProviderName(
  6223. /* [retval][out] */ BSTR *pVal) = 0;
  6224. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ProviderType(
  6225. /* [retval][out] */ CAPICOM_PROV_TYPE *pVal) = 0;
  6226. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_KeySpec(
  6227. /* [retval][out] */ CAPICOM_KEY_SPEC *pVal) = 0;
  6228. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsAccessible(
  6229. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  6230. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsProtected(
  6231. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  6232. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsExportable(
  6233. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  6234. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsRemovable(
  6235. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  6236. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsMachineKeyset(
  6237. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  6238. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsHardwareDevice(
  6239. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  6240. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Open(
  6241. /* [in] */ BSTR ContainerName,
  6242. /* [defaultvalue][in] */ BSTR ProviderName = L"Microsoft Enhanced Cryptographic Provider v1.0",
  6243. /* [defaultvalue][in] */ CAPICOM_PROV_TYPE ProviderType = CAPICOM_PROV_RSA_FULL,
  6244. /* [defaultvalue][in] */ CAPICOM_KEY_SPEC KeySpec = CAPICOM_KEY_SPEC_SIGNATURE,
  6245. /* [defaultvalue][in] */ CAPICOM_STORE_LOCATION StoreLocation = CAPICOM_CURRENT_USER_STORE,
  6246. /* [defaultvalue][in] */ VARIANT_BOOL bCheckExistence = 0) = 0;
  6247. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  6248. };
  6249. #else /* C style interface */
  6250. typedef struct IPrivateKeyVtbl
  6251. {
  6252. BEGIN_INTERFACE
  6253. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6254. IPrivateKey * This,
  6255. /* [in] */ REFIID riid,
  6256. /* [iid_is][out] */ void **ppvObject);
  6257. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6258. IPrivateKey * This);
  6259. ULONG ( STDMETHODCALLTYPE *Release )(
  6260. IPrivateKey * This);
  6261. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6262. IPrivateKey * This,
  6263. /* [out] */ UINT *pctinfo);
  6264. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6265. IPrivateKey * This,
  6266. /* [in] */ UINT iTInfo,
  6267. /* [in] */ LCID lcid,
  6268. /* [out] */ ITypeInfo **ppTInfo);
  6269. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6270. IPrivateKey * This,
  6271. /* [in] */ REFIID riid,
  6272. /* [size_is][in] */ LPOLESTR *rgszNames,
  6273. /* [in] */ UINT cNames,
  6274. /* [in] */ LCID lcid,
  6275. /* [size_is][out] */ DISPID *rgDispId);
  6276. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6277. IPrivateKey * This,
  6278. /* [in] */ DISPID dispIdMember,
  6279. /* [in] */ REFIID riid,
  6280. /* [in] */ LCID lcid,
  6281. /* [in] */ WORD wFlags,
  6282. /* [out][in] */ DISPPARAMS *pDispParams,
  6283. /* [out] */ VARIANT *pVarResult,
  6284. /* [out] */ EXCEPINFO *pExcepInfo,
  6285. /* [out] */ UINT *puArgErr);
  6286. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ContainerName )(
  6287. IPrivateKey * This,
  6288. /* [retval][out] */ BSTR *pVal);
  6289. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UniqueContainerName )(
  6290. IPrivateKey * This,
  6291. /* [retval][out] */ BSTR *pVal);
  6292. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProviderName )(
  6293. IPrivateKey * This,
  6294. /* [retval][out] */ BSTR *pVal);
  6295. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProviderType )(
  6296. IPrivateKey * This,
  6297. /* [retval][out] */ CAPICOM_PROV_TYPE *pVal);
  6298. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_KeySpec )(
  6299. IPrivateKey * This,
  6300. /* [retval][out] */ CAPICOM_KEY_SPEC *pVal);
  6301. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsAccessible )(
  6302. IPrivateKey * This,
  6303. /* [retval][out] */ VARIANT_BOOL *pVal);
  6304. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsProtected )(
  6305. IPrivateKey * This,
  6306. /* [retval][out] */ VARIANT_BOOL *pVal);
  6307. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsExportable )(
  6308. IPrivateKey * This,
  6309. /* [retval][out] */ VARIANT_BOOL *pVal);
  6310. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsRemovable )(
  6311. IPrivateKey * This,
  6312. /* [retval][out] */ VARIANT_BOOL *pVal);
  6313. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsMachineKeyset )(
  6314. IPrivateKey * This,
  6315. /* [retval][out] */ VARIANT_BOOL *pVal);
  6316. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsHardwareDevice )(
  6317. IPrivateKey * This,
  6318. /* [retval][out] */ VARIANT_BOOL *pVal);
  6319. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  6320. IPrivateKey * This,
  6321. /* [in] */ BSTR ContainerName,
  6322. /* [defaultvalue][in] */ BSTR ProviderName,
  6323. /* [defaultvalue][in] */ CAPICOM_PROV_TYPE ProviderType,
  6324. /* [defaultvalue][in] */ CAPICOM_KEY_SPEC KeySpec,
  6325. /* [defaultvalue][in] */ CAPICOM_STORE_LOCATION StoreLocation,
  6326. /* [defaultvalue][in] */ VARIANT_BOOL bCheckExistence);
  6327. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  6328. IPrivateKey * This);
  6329. END_INTERFACE
  6330. } IPrivateKeyVtbl;
  6331. interface IPrivateKey
  6332. {
  6333. CONST_VTBL struct IPrivateKeyVtbl *lpVtbl;
  6334. };
  6335. #ifdef COBJMACROS
  6336. #define IPrivateKey_QueryInterface(This,riid,ppvObject) \
  6337. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6338. #define IPrivateKey_AddRef(This) \
  6339. (This)->lpVtbl -> AddRef(This)
  6340. #define IPrivateKey_Release(This) \
  6341. (This)->lpVtbl -> Release(This)
  6342. #define IPrivateKey_GetTypeInfoCount(This,pctinfo) \
  6343. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6344. #define IPrivateKey_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6345. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6346. #define IPrivateKey_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6347. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6348. #define IPrivateKey_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6349. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6350. #define IPrivateKey_get_ContainerName(This,pVal) \
  6351. (This)->lpVtbl -> get_ContainerName(This,pVal)
  6352. #define IPrivateKey_get_UniqueContainerName(This,pVal) \
  6353. (This)->lpVtbl -> get_UniqueContainerName(This,pVal)
  6354. #define IPrivateKey_get_ProviderName(This,pVal) \
  6355. (This)->lpVtbl -> get_ProviderName(This,pVal)
  6356. #define IPrivateKey_get_ProviderType(This,pVal) \
  6357. (This)->lpVtbl -> get_ProviderType(This,pVal)
  6358. #define IPrivateKey_get_KeySpec(This,pVal) \
  6359. (This)->lpVtbl -> get_KeySpec(This,pVal)
  6360. #define IPrivateKey_IsAccessible(This,pVal) \
  6361. (This)->lpVtbl -> IsAccessible(This,pVal)
  6362. #define IPrivateKey_IsProtected(This,pVal) \
  6363. (This)->lpVtbl -> IsProtected(This,pVal)
  6364. #define IPrivateKey_IsExportable(This,pVal) \
  6365. (This)->lpVtbl -> IsExportable(This,pVal)
  6366. #define IPrivateKey_IsRemovable(This,pVal) \
  6367. (This)->lpVtbl -> IsRemovable(This,pVal)
  6368. #define IPrivateKey_IsMachineKeyset(This,pVal) \
  6369. (This)->lpVtbl -> IsMachineKeyset(This,pVal)
  6370. #define IPrivateKey_IsHardwareDevice(This,pVal) \
  6371. (This)->lpVtbl -> IsHardwareDevice(This,pVal)
  6372. #define IPrivateKey_Open(This,ContainerName,ProviderName,ProviderType,KeySpec,StoreLocation,bCheckExistence) \
  6373. (This)->lpVtbl -> Open(This,ContainerName,ProviderName,ProviderType,KeySpec,StoreLocation,bCheckExistence)
  6374. #define IPrivateKey_Delete(This) \
  6375. (This)->lpVtbl -> Delete(This)
  6376. #endif /* COBJMACROS */
  6377. #endif /* C style interface */
  6378. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPrivateKey_get_ContainerName_Proxy(
  6379. IPrivateKey * This,
  6380. /* [retval][out] */ BSTR *pVal);
  6381. void __RPC_STUB IPrivateKey_get_ContainerName_Stub(
  6382. IRpcStubBuffer *This,
  6383. IRpcChannelBuffer *_pRpcChannelBuffer,
  6384. PRPC_MESSAGE _pRpcMessage,
  6385. DWORD *_pdwStubPhase);
  6386. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPrivateKey_get_UniqueContainerName_Proxy(
  6387. IPrivateKey * This,
  6388. /* [retval][out] */ BSTR *pVal);
  6389. void __RPC_STUB IPrivateKey_get_UniqueContainerName_Stub(
  6390. IRpcStubBuffer *This,
  6391. IRpcChannelBuffer *_pRpcChannelBuffer,
  6392. PRPC_MESSAGE _pRpcMessage,
  6393. DWORD *_pdwStubPhase);
  6394. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPrivateKey_get_ProviderName_Proxy(
  6395. IPrivateKey * This,
  6396. /* [retval][out] */ BSTR *pVal);
  6397. void __RPC_STUB IPrivateKey_get_ProviderName_Stub(
  6398. IRpcStubBuffer *This,
  6399. IRpcChannelBuffer *_pRpcChannelBuffer,
  6400. PRPC_MESSAGE _pRpcMessage,
  6401. DWORD *_pdwStubPhase);
  6402. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPrivateKey_get_ProviderType_Proxy(
  6403. IPrivateKey * This,
  6404. /* [retval][out] */ CAPICOM_PROV_TYPE *pVal);
  6405. void __RPC_STUB IPrivateKey_get_ProviderType_Stub(
  6406. IRpcStubBuffer *This,
  6407. IRpcChannelBuffer *_pRpcChannelBuffer,
  6408. PRPC_MESSAGE _pRpcMessage,
  6409. DWORD *_pdwStubPhase);
  6410. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IPrivateKey_get_KeySpec_Proxy(
  6411. IPrivateKey * This,
  6412. /* [retval][out] */ CAPICOM_KEY_SPEC *pVal);
  6413. void __RPC_STUB IPrivateKey_get_KeySpec_Stub(
  6414. IRpcStubBuffer *This,
  6415. IRpcChannelBuffer *_pRpcChannelBuffer,
  6416. PRPC_MESSAGE _pRpcMessage,
  6417. DWORD *_pdwStubPhase);
  6418. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPrivateKey_IsAccessible_Proxy(
  6419. IPrivateKey * This,
  6420. /* [retval][out] */ VARIANT_BOOL *pVal);
  6421. void __RPC_STUB IPrivateKey_IsAccessible_Stub(
  6422. IRpcStubBuffer *This,
  6423. IRpcChannelBuffer *_pRpcChannelBuffer,
  6424. PRPC_MESSAGE _pRpcMessage,
  6425. DWORD *_pdwStubPhase);
  6426. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPrivateKey_IsProtected_Proxy(
  6427. IPrivateKey * This,
  6428. /* [retval][out] */ VARIANT_BOOL *pVal);
  6429. void __RPC_STUB IPrivateKey_IsProtected_Stub(
  6430. IRpcStubBuffer *This,
  6431. IRpcChannelBuffer *_pRpcChannelBuffer,
  6432. PRPC_MESSAGE _pRpcMessage,
  6433. DWORD *_pdwStubPhase);
  6434. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPrivateKey_IsExportable_Proxy(
  6435. IPrivateKey * This,
  6436. /* [retval][out] */ VARIANT_BOOL *pVal);
  6437. void __RPC_STUB IPrivateKey_IsExportable_Stub(
  6438. IRpcStubBuffer *This,
  6439. IRpcChannelBuffer *_pRpcChannelBuffer,
  6440. PRPC_MESSAGE _pRpcMessage,
  6441. DWORD *_pdwStubPhase);
  6442. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPrivateKey_IsRemovable_Proxy(
  6443. IPrivateKey * This,
  6444. /* [retval][out] */ VARIANT_BOOL *pVal);
  6445. void __RPC_STUB IPrivateKey_IsRemovable_Stub(
  6446. IRpcStubBuffer *This,
  6447. IRpcChannelBuffer *_pRpcChannelBuffer,
  6448. PRPC_MESSAGE _pRpcMessage,
  6449. DWORD *_pdwStubPhase);
  6450. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPrivateKey_IsMachineKeyset_Proxy(
  6451. IPrivateKey * This,
  6452. /* [retval][out] */ VARIANT_BOOL *pVal);
  6453. void __RPC_STUB IPrivateKey_IsMachineKeyset_Stub(
  6454. IRpcStubBuffer *This,
  6455. IRpcChannelBuffer *_pRpcChannelBuffer,
  6456. PRPC_MESSAGE _pRpcMessage,
  6457. DWORD *_pdwStubPhase);
  6458. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPrivateKey_IsHardwareDevice_Proxy(
  6459. IPrivateKey * This,
  6460. /* [retval][out] */ VARIANT_BOOL *pVal);
  6461. void __RPC_STUB IPrivateKey_IsHardwareDevice_Stub(
  6462. IRpcStubBuffer *This,
  6463. IRpcChannelBuffer *_pRpcChannelBuffer,
  6464. PRPC_MESSAGE _pRpcMessage,
  6465. DWORD *_pdwStubPhase);
  6466. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPrivateKey_Open_Proxy(
  6467. IPrivateKey * This,
  6468. /* [in] */ BSTR ContainerName,
  6469. /* [defaultvalue][in] */ BSTR ProviderName,
  6470. /* [defaultvalue][in] */ CAPICOM_PROV_TYPE ProviderType,
  6471. /* [defaultvalue][in] */ CAPICOM_KEY_SPEC KeySpec,
  6472. /* [defaultvalue][in] */ CAPICOM_STORE_LOCATION StoreLocation,
  6473. /* [defaultvalue][in] */ VARIANT_BOOL bCheckExistence);
  6474. void __RPC_STUB IPrivateKey_Open_Stub(
  6475. IRpcStubBuffer *This,
  6476. IRpcChannelBuffer *_pRpcChannelBuffer,
  6477. PRPC_MESSAGE _pRpcMessage,
  6478. DWORD *_pdwStubPhase);
  6479. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPrivateKey_Delete_Proxy(
  6480. IPrivateKey * This);
  6481. void __RPC_STUB IPrivateKey_Delete_Stub(
  6482. IRpcStubBuffer *This,
  6483. IRpcChannelBuffer *_pRpcChannelBuffer,
  6484. PRPC_MESSAGE _pRpcMessage,
  6485. DWORD *_pdwStubPhase);
  6486. #endif /* __IPrivateKey_INTERFACE_DEFINED__ */
  6487. #ifndef __ICertificateStatus2_INTERFACE_DEFINED__
  6488. #define __ICertificateStatus2_INTERFACE_DEFINED__
  6489. /* interface ICertificateStatus2 */
  6490. /* [unique][helpstring][dual][uuid][object] */
  6491. EXTERN_C const IID IID_ICertificateStatus2;
  6492. #if defined(__cplusplus) && !defined(CINTERFACE)
  6493. MIDL_INTERFACE("BF95660E-F743-4EAC-9DE5-960787A4606C")
  6494. ICertificateStatus2 : public ICertificateStatus
  6495. {
  6496. public:
  6497. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_VerificationTime(
  6498. /* [retval][out] */ DATE *pVal) = 0;
  6499. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_VerificationTime(
  6500. /* [in] */ DATE newVal) = 0;
  6501. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UrlRetrievalTimeout(
  6502. /* [retval][out] */ long *pVal) = 0;
  6503. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UrlRetrievalTimeout(
  6504. /* [in] */ long newVal) = 0;
  6505. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CertificatePolicies(
  6506. /* [retval][out] */ IOIDs **pVal) = 0;
  6507. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ApplicationPolicies(
  6508. /* [retval][out] */ IOIDs **pVal) = 0;
  6509. };
  6510. #else /* C style interface */
  6511. typedef struct ICertificateStatus2Vtbl
  6512. {
  6513. BEGIN_INTERFACE
  6514. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6515. ICertificateStatus2 * This,
  6516. /* [in] */ REFIID riid,
  6517. /* [iid_is][out] */ void **ppvObject);
  6518. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6519. ICertificateStatus2 * This);
  6520. ULONG ( STDMETHODCALLTYPE *Release )(
  6521. ICertificateStatus2 * This);
  6522. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6523. ICertificateStatus2 * This,
  6524. /* [out] */ UINT *pctinfo);
  6525. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6526. ICertificateStatus2 * This,
  6527. /* [in] */ UINT iTInfo,
  6528. /* [in] */ LCID lcid,
  6529. /* [out] */ ITypeInfo **ppTInfo);
  6530. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6531. ICertificateStatus2 * This,
  6532. /* [in] */ REFIID riid,
  6533. /* [size_is][in] */ LPOLESTR *rgszNames,
  6534. /* [in] */ UINT cNames,
  6535. /* [in] */ LCID lcid,
  6536. /* [size_is][out] */ DISPID *rgDispId);
  6537. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6538. ICertificateStatus2 * This,
  6539. /* [in] */ DISPID dispIdMember,
  6540. /* [in] */ REFIID riid,
  6541. /* [in] */ LCID lcid,
  6542. /* [in] */ WORD wFlags,
  6543. /* [out][in] */ DISPPARAMS *pDispParams,
  6544. /* [out] */ VARIANT *pVarResult,
  6545. /* [out] */ EXCEPINFO *pExcepInfo,
  6546. /* [out] */ UINT *puArgErr);
  6547. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Result )(
  6548. ICertificateStatus2 * This,
  6549. /* [retval][out] */ VARIANT_BOOL *pVal);
  6550. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CheckFlag )(
  6551. ICertificateStatus2 * This,
  6552. /* [retval][out] */ CAPICOM_CHECK_FLAG *pVal);
  6553. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CheckFlag )(
  6554. ICertificateStatus2 * This,
  6555. /* [in] */ CAPICOM_CHECK_FLAG newVal);
  6556. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EKU )(
  6557. ICertificateStatus2 * This,
  6558. /* [retval][out] */ IEKU **pVal);
  6559. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_VerificationTime )(
  6560. ICertificateStatus2 * This,
  6561. /* [retval][out] */ DATE *pVal);
  6562. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_VerificationTime )(
  6563. ICertificateStatus2 * This,
  6564. /* [in] */ DATE newVal);
  6565. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UrlRetrievalTimeout )(
  6566. ICertificateStatus2 * This,
  6567. /* [retval][out] */ long *pVal);
  6568. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UrlRetrievalTimeout )(
  6569. ICertificateStatus2 * This,
  6570. /* [in] */ long newVal);
  6571. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CertificatePolicies )(
  6572. ICertificateStatus2 * This,
  6573. /* [retval][out] */ IOIDs **pVal);
  6574. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ApplicationPolicies )(
  6575. ICertificateStatus2 * This,
  6576. /* [retval][out] */ IOIDs **pVal);
  6577. END_INTERFACE
  6578. } ICertificateStatus2Vtbl;
  6579. interface ICertificateStatus2
  6580. {
  6581. CONST_VTBL struct ICertificateStatus2Vtbl *lpVtbl;
  6582. };
  6583. #ifdef COBJMACROS
  6584. #define ICertificateStatus2_QueryInterface(This,riid,ppvObject) \
  6585. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6586. #define ICertificateStatus2_AddRef(This) \
  6587. (This)->lpVtbl -> AddRef(This)
  6588. #define ICertificateStatus2_Release(This) \
  6589. (This)->lpVtbl -> Release(This)
  6590. #define ICertificateStatus2_GetTypeInfoCount(This,pctinfo) \
  6591. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6592. #define ICertificateStatus2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6593. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6594. #define ICertificateStatus2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6595. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6596. #define ICertificateStatus2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6597. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6598. #define ICertificateStatus2_get_Result(This,pVal) \
  6599. (This)->lpVtbl -> get_Result(This,pVal)
  6600. #define ICertificateStatus2_get_CheckFlag(This,pVal) \
  6601. (This)->lpVtbl -> get_CheckFlag(This,pVal)
  6602. #define ICertificateStatus2_put_CheckFlag(This,newVal) \
  6603. (This)->lpVtbl -> put_CheckFlag(This,newVal)
  6604. #define ICertificateStatus2_EKU(This,pVal) \
  6605. (This)->lpVtbl -> EKU(This,pVal)
  6606. #define ICertificateStatus2_get_VerificationTime(This,pVal) \
  6607. (This)->lpVtbl -> get_VerificationTime(This,pVal)
  6608. #define ICertificateStatus2_put_VerificationTime(This,newVal) \
  6609. (This)->lpVtbl -> put_VerificationTime(This,newVal)
  6610. #define ICertificateStatus2_get_UrlRetrievalTimeout(This,pVal) \
  6611. (This)->lpVtbl -> get_UrlRetrievalTimeout(This,pVal)
  6612. #define ICertificateStatus2_put_UrlRetrievalTimeout(This,newVal) \
  6613. (This)->lpVtbl -> put_UrlRetrievalTimeout(This,newVal)
  6614. #define ICertificateStatus2_CertificatePolicies(This,pVal) \
  6615. (This)->lpVtbl -> CertificatePolicies(This,pVal)
  6616. #define ICertificateStatus2_ApplicationPolicies(This,pVal) \
  6617. (This)->lpVtbl -> ApplicationPolicies(This,pVal)
  6618. #endif /* COBJMACROS */
  6619. #endif /* C style interface */
  6620. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificateStatus2_get_VerificationTime_Proxy(
  6621. ICertificateStatus2 * This,
  6622. /* [retval][out] */ DATE *pVal);
  6623. void __RPC_STUB ICertificateStatus2_get_VerificationTime_Stub(
  6624. IRpcStubBuffer *This,
  6625. IRpcChannelBuffer *_pRpcChannelBuffer,
  6626. PRPC_MESSAGE _pRpcMessage,
  6627. DWORD *_pdwStubPhase);
  6628. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICertificateStatus2_put_VerificationTime_Proxy(
  6629. ICertificateStatus2 * This,
  6630. /* [in] */ DATE newVal);
  6631. void __RPC_STUB ICertificateStatus2_put_VerificationTime_Stub(
  6632. IRpcStubBuffer *This,
  6633. IRpcChannelBuffer *_pRpcChannelBuffer,
  6634. PRPC_MESSAGE _pRpcMessage,
  6635. DWORD *_pdwStubPhase);
  6636. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificateStatus2_get_UrlRetrievalTimeout_Proxy(
  6637. ICertificateStatus2 * This,
  6638. /* [retval][out] */ long *pVal);
  6639. void __RPC_STUB ICertificateStatus2_get_UrlRetrievalTimeout_Stub(
  6640. IRpcStubBuffer *This,
  6641. IRpcChannelBuffer *_pRpcChannelBuffer,
  6642. PRPC_MESSAGE _pRpcMessage,
  6643. DWORD *_pdwStubPhase);
  6644. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICertificateStatus2_put_UrlRetrievalTimeout_Proxy(
  6645. ICertificateStatus2 * This,
  6646. /* [in] */ long newVal);
  6647. void __RPC_STUB ICertificateStatus2_put_UrlRetrievalTimeout_Stub(
  6648. IRpcStubBuffer *This,
  6649. IRpcChannelBuffer *_pRpcChannelBuffer,
  6650. PRPC_MESSAGE _pRpcMessage,
  6651. DWORD *_pdwStubPhase);
  6652. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificateStatus2_CertificatePolicies_Proxy(
  6653. ICertificateStatus2 * This,
  6654. /* [retval][out] */ IOIDs **pVal);
  6655. void __RPC_STUB ICertificateStatus2_CertificatePolicies_Stub(
  6656. IRpcStubBuffer *This,
  6657. IRpcChannelBuffer *_pRpcChannelBuffer,
  6658. PRPC_MESSAGE _pRpcMessage,
  6659. DWORD *_pdwStubPhase);
  6660. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificateStatus2_ApplicationPolicies_Proxy(
  6661. ICertificateStatus2 * This,
  6662. /* [retval][out] */ IOIDs **pVal);
  6663. void __RPC_STUB ICertificateStatus2_ApplicationPolicies_Stub(
  6664. IRpcStubBuffer *This,
  6665. IRpcChannelBuffer *_pRpcChannelBuffer,
  6666. PRPC_MESSAGE _pRpcMessage,
  6667. DWORD *_pdwStubPhase);
  6668. #endif /* __ICertificateStatus2_INTERFACE_DEFINED__ */
  6669. #ifndef __ICertificate2_INTERFACE_DEFINED__
  6670. #define __ICertificate2_INTERFACE_DEFINED__
  6671. /* interface ICertificate2 */
  6672. /* [unique][helpstring][dual][uuid][object] */
  6673. EXTERN_C const IID IID_ICertificate2;
  6674. #if defined(__cplusplus) && !defined(CINTERFACE)
  6675. MIDL_INTERFACE("6FE450DC-AD32-48d4-A366-01EE7E0B1374")
  6676. ICertificate2 : public ICertificate
  6677. {
  6678. public:
  6679. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Archived(
  6680. /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
  6681. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Archived(
  6682. /* [in] */ VARIANT_BOOL newVal) = 0;
  6683. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Template(
  6684. /* [retval][out] */ ITemplate **pVal) = 0;
  6685. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PublicKey(
  6686. /* [retval][out] */ IPublicKey **pVal) = 0;
  6687. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PrivateKey(
  6688. /* [retval][out] */ IPrivateKey **pVal) = 0;
  6689. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PrivateKey(
  6690. /* [in] */ IPrivateKey *newVal) = 0;
  6691. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Extensions(
  6692. /* [retval][out] */ IExtensions **pVal) = 0;
  6693. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExtendedProperties(
  6694. /* [retval][out] */ IExtendedProperties **pVal) = 0;
  6695. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Load(
  6696. /* [in] */ BSTR FileName,
  6697. /* [defaultvalue][in] */ BSTR Password = L"",
  6698. /* [defaultvalue][in] */ CAPICOM_KEY_STORAGE_FLAG KeyStorageFlag = CAPICOM_KEY_STORAGE_DEFAULT,
  6699. /* [defaultvalue][in] */ CAPICOM_KEY_LOCATION KeyLocation = CAPICOM_CURRENT_USER_KEY) = 0;
  6700. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save(
  6701. /* [in] */ BSTR FileName,
  6702. /* [defaultvalue][in] */ BSTR Password = L"",
  6703. /* [defaultvalue][in] */ CAPICOM_CERTIFICATE_SAVE_AS_TYPE SaveAs = CAPICOM_CERTIFICATE_SAVE_AS_CER,
  6704. /* [defaultvalue][in] */ CAPICOM_CERTIFICATE_INCLUDE_OPTION IncludeOption = CAPICOM_CERTIFICATE_INCLUDE_END_ENTITY_ONLY) = 0;
  6705. };
  6706. #else /* C style interface */
  6707. typedef struct ICertificate2Vtbl
  6708. {
  6709. BEGIN_INTERFACE
  6710. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6711. ICertificate2 * This,
  6712. /* [in] */ REFIID riid,
  6713. /* [iid_is][out] */ void **ppvObject);
  6714. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6715. ICertificate2 * This);
  6716. ULONG ( STDMETHODCALLTYPE *Release )(
  6717. ICertificate2 * This);
  6718. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6719. ICertificate2 * This,
  6720. /* [out] */ UINT *pctinfo);
  6721. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6722. ICertificate2 * This,
  6723. /* [in] */ UINT iTInfo,
  6724. /* [in] */ LCID lcid,
  6725. /* [out] */ ITypeInfo **ppTInfo);
  6726. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6727. ICertificate2 * This,
  6728. /* [in] */ REFIID riid,
  6729. /* [size_is][in] */ LPOLESTR *rgszNames,
  6730. /* [in] */ UINT cNames,
  6731. /* [in] */ LCID lcid,
  6732. /* [size_is][out] */ DISPID *rgDispId);
  6733. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6734. ICertificate2 * This,
  6735. /* [in] */ DISPID dispIdMember,
  6736. /* [in] */ REFIID riid,
  6737. /* [in] */ LCID lcid,
  6738. /* [in] */ WORD wFlags,
  6739. /* [out][in] */ DISPPARAMS *pDispParams,
  6740. /* [out] */ VARIANT *pVarResult,
  6741. /* [out] */ EXCEPINFO *pExcepInfo,
  6742. /* [out] */ UINT *puArgErr);
  6743. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Version )(
  6744. ICertificate2 * This,
  6745. /* [retval][out] */ long *pVal);
  6746. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SerialNumber )(
  6747. ICertificate2 * This,
  6748. /* [retval][out] */ BSTR *pVal);
  6749. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubjectName )(
  6750. ICertificate2 * This,
  6751. /* [retval][out] */ BSTR *pVal);
  6752. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IssuerName )(
  6753. ICertificate2 * This,
  6754. /* [retval][out] */ BSTR *pVal);
  6755. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ValidFromDate )(
  6756. ICertificate2 * This,
  6757. /* [retval][out] */ DATE *pVal);
  6758. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ValidToDate )(
  6759. ICertificate2 * This,
  6760. /* [retval][out] */ DATE *pVal);
  6761. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Thumbprint )(
  6762. ICertificate2 * This,
  6763. /* [retval][out] */ BSTR *pVal);
  6764. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HasPrivateKey )(
  6765. ICertificate2 * This,
  6766. /* [retval][out] */ VARIANT_BOOL *pVal);
  6767. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  6768. ICertificate2 * This,
  6769. /* [in] */ CAPICOM_CERT_INFO_TYPE InfoType,
  6770. /* [retval][out] */ BSTR *pVal);
  6771. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsValid )(
  6772. ICertificate2 * This,
  6773. /* [retval][out] */ ICertificateStatus **pVal);
  6774. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *KeyUsage )(
  6775. ICertificate2 * This,
  6776. /* [retval][out] */ IKeyUsage **pVal);
  6777. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExtendedKeyUsage )(
  6778. ICertificate2 * This,
  6779. /* [retval][out] */ IExtendedKeyUsage **pVal);
  6780. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BasicConstraints )(
  6781. ICertificate2 * This,
  6782. /* [retval][out] */ IBasicConstraints **pVal);
  6783. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Export )(
  6784. ICertificate2 * This,
  6785. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  6786. /* [retval][out] */ BSTR *pVal);
  6787. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Import )(
  6788. ICertificate2 * This,
  6789. /* [in] */ BSTR EncodedCertificate);
  6790. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Display )(
  6791. ICertificate2 * This);
  6792. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Archived )(
  6793. ICertificate2 * This,
  6794. /* [retval][out] */ VARIANT_BOOL *pVal);
  6795. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Archived )(
  6796. ICertificate2 * This,
  6797. /* [in] */ VARIANT_BOOL newVal);
  6798. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Template )(
  6799. ICertificate2 * This,
  6800. /* [retval][out] */ ITemplate **pVal);
  6801. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PublicKey )(
  6802. ICertificate2 * This,
  6803. /* [retval][out] */ IPublicKey **pVal);
  6804. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PrivateKey )(
  6805. ICertificate2 * This,
  6806. /* [retval][out] */ IPrivateKey **pVal);
  6807. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PrivateKey )(
  6808. ICertificate2 * This,
  6809. /* [in] */ IPrivateKey *newVal);
  6810. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Extensions )(
  6811. ICertificate2 * This,
  6812. /* [retval][out] */ IExtensions **pVal);
  6813. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExtendedProperties )(
  6814. ICertificate2 * This,
  6815. /* [retval][out] */ IExtendedProperties **pVal);
  6816. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Load )(
  6817. ICertificate2 * This,
  6818. /* [in] */ BSTR FileName,
  6819. /* [defaultvalue][in] */ BSTR Password,
  6820. /* [defaultvalue][in] */ CAPICOM_KEY_STORAGE_FLAG KeyStorageFlag,
  6821. /* [defaultvalue][in] */ CAPICOM_KEY_LOCATION KeyLocation);
  6822. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )(
  6823. ICertificate2 * This,
  6824. /* [in] */ BSTR FileName,
  6825. /* [defaultvalue][in] */ BSTR Password,
  6826. /* [defaultvalue][in] */ CAPICOM_CERTIFICATE_SAVE_AS_TYPE SaveAs,
  6827. /* [defaultvalue][in] */ CAPICOM_CERTIFICATE_INCLUDE_OPTION IncludeOption);
  6828. END_INTERFACE
  6829. } ICertificate2Vtbl;
  6830. interface ICertificate2
  6831. {
  6832. CONST_VTBL struct ICertificate2Vtbl *lpVtbl;
  6833. };
  6834. #ifdef COBJMACROS
  6835. #define ICertificate2_QueryInterface(This,riid,ppvObject) \
  6836. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6837. #define ICertificate2_AddRef(This) \
  6838. (This)->lpVtbl -> AddRef(This)
  6839. #define ICertificate2_Release(This) \
  6840. (This)->lpVtbl -> Release(This)
  6841. #define ICertificate2_GetTypeInfoCount(This,pctinfo) \
  6842. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6843. #define ICertificate2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6844. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6845. #define ICertificate2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6846. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6847. #define ICertificate2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6848. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6849. #define ICertificate2_get_Version(This,pVal) \
  6850. (This)->lpVtbl -> get_Version(This,pVal)
  6851. #define ICertificate2_get_SerialNumber(This,pVal) \
  6852. (This)->lpVtbl -> get_SerialNumber(This,pVal)
  6853. #define ICertificate2_get_SubjectName(This,pVal) \
  6854. (This)->lpVtbl -> get_SubjectName(This,pVal)
  6855. #define ICertificate2_get_IssuerName(This,pVal) \
  6856. (This)->lpVtbl -> get_IssuerName(This,pVal)
  6857. #define ICertificate2_get_ValidFromDate(This,pVal) \
  6858. (This)->lpVtbl -> get_ValidFromDate(This,pVal)
  6859. #define ICertificate2_get_ValidToDate(This,pVal) \
  6860. (This)->lpVtbl -> get_ValidToDate(This,pVal)
  6861. #define ICertificate2_get_Thumbprint(This,pVal) \
  6862. (This)->lpVtbl -> get_Thumbprint(This,pVal)
  6863. #define ICertificate2_HasPrivateKey(This,pVal) \
  6864. (This)->lpVtbl -> HasPrivateKey(This,pVal)
  6865. #define ICertificate2_GetInfo(This,InfoType,pVal) \
  6866. (This)->lpVtbl -> GetInfo(This,InfoType,pVal)
  6867. #define ICertificate2_IsValid(This,pVal) \
  6868. (This)->lpVtbl -> IsValid(This,pVal)
  6869. #define ICertificate2_KeyUsage(This,pVal) \
  6870. (This)->lpVtbl -> KeyUsage(This,pVal)
  6871. #define ICertificate2_ExtendedKeyUsage(This,pVal) \
  6872. (This)->lpVtbl -> ExtendedKeyUsage(This,pVal)
  6873. #define ICertificate2_BasicConstraints(This,pVal) \
  6874. (This)->lpVtbl -> BasicConstraints(This,pVal)
  6875. #define ICertificate2_Export(This,EncodingType,pVal) \
  6876. (This)->lpVtbl -> Export(This,EncodingType,pVal)
  6877. #define ICertificate2_Import(This,EncodedCertificate) \
  6878. (This)->lpVtbl -> Import(This,EncodedCertificate)
  6879. #define ICertificate2_Display(This) \
  6880. (This)->lpVtbl -> Display(This)
  6881. #define ICertificate2_get_Archived(This,pVal) \
  6882. (This)->lpVtbl -> get_Archived(This,pVal)
  6883. #define ICertificate2_put_Archived(This,newVal) \
  6884. (This)->lpVtbl -> put_Archived(This,newVal)
  6885. #define ICertificate2_Template(This,pVal) \
  6886. (This)->lpVtbl -> Template(This,pVal)
  6887. #define ICertificate2_PublicKey(This,pVal) \
  6888. (This)->lpVtbl -> PublicKey(This,pVal)
  6889. #define ICertificate2_get_PrivateKey(This,pVal) \
  6890. (This)->lpVtbl -> get_PrivateKey(This,pVal)
  6891. #define ICertificate2_put_PrivateKey(This,newVal) \
  6892. (This)->lpVtbl -> put_PrivateKey(This,newVal)
  6893. #define ICertificate2_Extensions(This,pVal) \
  6894. (This)->lpVtbl -> Extensions(This,pVal)
  6895. #define ICertificate2_ExtendedProperties(This,pVal) \
  6896. (This)->lpVtbl -> ExtendedProperties(This,pVal)
  6897. #define ICertificate2_Load(This,FileName,Password,KeyStorageFlag,KeyLocation) \
  6898. (This)->lpVtbl -> Load(This,FileName,Password,KeyStorageFlag,KeyLocation)
  6899. #define ICertificate2_Save(This,FileName,Password,SaveAs,IncludeOption) \
  6900. (This)->lpVtbl -> Save(This,FileName,Password,SaveAs,IncludeOption)
  6901. #endif /* COBJMACROS */
  6902. #endif /* C style interface */
  6903. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificate2_get_Archived_Proxy(
  6904. ICertificate2 * This,
  6905. /* [retval][out] */ VARIANT_BOOL *pVal);
  6906. void __RPC_STUB ICertificate2_get_Archived_Stub(
  6907. IRpcStubBuffer *This,
  6908. IRpcChannelBuffer *_pRpcChannelBuffer,
  6909. PRPC_MESSAGE _pRpcMessage,
  6910. DWORD *_pdwStubPhase);
  6911. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICertificate2_put_Archived_Proxy(
  6912. ICertificate2 * This,
  6913. /* [in] */ VARIANT_BOOL newVal);
  6914. void __RPC_STUB ICertificate2_put_Archived_Stub(
  6915. IRpcStubBuffer *This,
  6916. IRpcChannelBuffer *_pRpcChannelBuffer,
  6917. PRPC_MESSAGE _pRpcMessage,
  6918. DWORD *_pdwStubPhase);
  6919. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate2_Template_Proxy(
  6920. ICertificate2 * This,
  6921. /* [retval][out] */ ITemplate **pVal);
  6922. void __RPC_STUB ICertificate2_Template_Stub(
  6923. IRpcStubBuffer *This,
  6924. IRpcChannelBuffer *_pRpcChannelBuffer,
  6925. PRPC_MESSAGE _pRpcMessage,
  6926. DWORD *_pdwStubPhase);
  6927. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate2_PublicKey_Proxy(
  6928. ICertificate2 * This,
  6929. /* [retval][out] */ IPublicKey **pVal);
  6930. void __RPC_STUB ICertificate2_PublicKey_Stub(
  6931. IRpcStubBuffer *This,
  6932. IRpcChannelBuffer *_pRpcChannelBuffer,
  6933. PRPC_MESSAGE _pRpcMessage,
  6934. DWORD *_pdwStubPhase);
  6935. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICertificate2_get_PrivateKey_Proxy(
  6936. ICertificate2 * This,
  6937. /* [retval][out] */ IPrivateKey **pVal);
  6938. void __RPC_STUB ICertificate2_get_PrivateKey_Stub(
  6939. IRpcStubBuffer *This,
  6940. IRpcChannelBuffer *_pRpcChannelBuffer,
  6941. PRPC_MESSAGE _pRpcMessage,
  6942. DWORD *_pdwStubPhase);
  6943. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICertificate2_put_PrivateKey_Proxy(
  6944. ICertificate2 * This,
  6945. /* [in] */ IPrivateKey *newVal);
  6946. void __RPC_STUB ICertificate2_put_PrivateKey_Stub(
  6947. IRpcStubBuffer *This,
  6948. IRpcChannelBuffer *_pRpcChannelBuffer,
  6949. PRPC_MESSAGE _pRpcMessage,
  6950. DWORD *_pdwStubPhase);
  6951. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate2_Extensions_Proxy(
  6952. ICertificate2 * This,
  6953. /* [retval][out] */ IExtensions **pVal);
  6954. void __RPC_STUB ICertificate2_Extensions_Stub(
  6955. IRpcStubBuffer *This,
  6956. IRpcChannelBuffer *_pRpcChannelBuffer,
  6957. PRPC_MESSAGE _pRpcMessage,
  6958. DWORD *_pdwStubPhase);
  6959. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate2_ExtendedProperties_Proxy(
  6960. ICertificate2 * This,
  6961. /* [retval][out] */ IExtendedProperties **pVal);
  6962. void __RPC_STUB ICertificate2_ExtendedProperties_Stub(
  6963. IRpcStubBuffer *This,
  6964. IRpcChannelBuffer *_pRpcChannelBuffer,
  6965. PRPC_MESSAGE _pRpcMessage,
  6966. DWORD *_pdwStubPhase);
  6967. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate2_Load_Proxy(
  6968. ICertificate2 * This,
  6969. /* [in] */ BSTR FileName,
  6970. /* [defaultvalue][in] */ BSTR Password,
  6971. /* [defaultvalue][in] */ CAPICOM_KEY_STORAGE_FLAG KeyStorageFlag,
  6972. /* [defaultvalue][in] */ CAPICOM_KEY_LOCATION KeyLocation);
  6973. void __RPC_STUB ICertificate2_Load_Stub(
  6974. IRpcStubBuffer *This,
  6975. IRpcChannelBuffer *_pRpcChannelBuffer,
  6976. PRPC_MESSAGE _pRpcMessage,
  6977. DWORD *_pdwStubPhase);
  6978. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificate2_Save_Proxy(
  6979. ICertificate2 * This,
  6980. /* [in] */ BSTR FileName,
  6981. /* [defaultvalue][in] */ BSTR Password,
  6982. /* [defaultvalue][in] */ CAPICOM_CERTIFICATE_SAVE_AS_TYPE SaveAs,
  6983. /* [defaultvalue][in] */ CAPICOM_CERTIFICATE_INCLUDE_OPTION IncludeOption);
  6984. void __RPC_STUB ICertificate2_Save_Stub(
  6985. IRpcStubBuffer *This,
  6986. IRpcChannelBuffer *_pRpcChannelBuffer,
  6987. PRPC_MESSAGE _pRpcMessage,
  6988. DWORD *_pdwStubPhase);
  6989. #endif /* __ICertificate2_INTERFACE_DEFINED__ */
  6990. #ifndef __ICertificates2_INTERFACE_DEFINED__
  6991. #define __ICertificates2_INTERFACE_DEFINED__
  6992. /* interface ICertificates2 */
  6993. /* [unique][helpstring][dual][uuid][object] */
  6994. EXTERN_C const IID IID_ICertificates2;
  6995. #if defined(__cplusplus) && !defined(CINTERFACE)
  6996. MIDL_INTERFACE("7B57C04B-1786-4B30-A7B6-36235CD58A14")
  6997. ICertificates2 : public ICertificates
  6998. {
  6999. public:
  7000. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Find(
  7001. /* [in] */ CAPICOM_CERTIFICATE_FIND_TYPE FindType,
  7002. /* [defaultvalue][in] */ VARIANT varCriteria,
  7003. /* [defaultvalue][in] */ VARIANT_BOOL bFindValidOnly,
  7004. /* [retval][out] */ ICertificates2 **pVal) = 0;
  7005. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Select(
  7006. /* [defaultvalue][in] */ BSTR Title,
  7007. /* [defaultvalue][in] */ BSTR DisplayString,
  7008. /* [defaultvalue][in] */ VARIANT_BOOL bMultiSelect,
  7009. /* [retval][out] */ ICertificates2 **pVal) = 0;
  7010. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  7011. /* [in] */ ICertificate2 *pVal) = 0;
  7012. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  7013. /* [in] */ VARIANT Index) = 0;
  7014. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  7015. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save(
  7016. /* [in] */ BSTR FileName,
  7017. /* [defaultvalue][in] */ BSTR Password = L"",
  7018. /* [defaultvalue][in] */ CAPICOM_CERTIFICATES_SAVE_AS_TYPE SaveAs = CAPICOM_CERTIFICATES_SAVE_AS_PFX,
  7019. /* [defaultvalue][in] */ CAPICOM_EXPORT_FLAG ExportFlag = CAPICOM_EXPORT_DEFAULT) = 0;
  7020. };
  7021. #else /* C style interface */
  7022. typedef struct ICertificates2Vtbl
  7023. {
  7024. BEGIN_INTERFACE
  7025. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7026. ICertificates2 * This,
  7027. /* [in] */ REFIID riid,
  7028. /* [iid_is][out] */ void **ppvObject);
  7029. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7030. ICertificates2 * This);
  7031. ULONG ( STDMETHODCALLTYPE *Release )(
  7032. ICertificates2 * This);
  7033. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7034. ICertificates2 * This,
  7035. /* [out] */ UINT *pctinfo);
  7036. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7037. ICertificates2 * This,
  7038. /* [in] */ UINT iTInfo,
  7039. /* [in] */ LCID lcid,
  7040. /* [out] */ ITypeInfo **ppTInfo);
  7041. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7042. ICertificates2 * This,
  7043. /* [in] */ REFIID riid,
  7044. /* [size_is][in] */ LPOLESTR *rgszNames,
  7045. /* [in] */ UINT cNames,
  7046. /* [in] */ LCID lcid,
  7047. /* [size_is][out] */ DISPID *rgDispId);
  7048. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7049. ICertificates2 * This,
  7050. /* [in] */ DISPID dispIdMember,
  7051. /* [in] */ REFIID riid,
  7052. /* [in] */ LCID lcid,
  7053. /* [in] */ WORD wFlags,
  7054. /* [out][in] */ DISPPARAMS *pDispParams,
  7055. /* [out] */ VARIANT *pVarResult,
  7056. /* [out] */ EXCEPINFO *pExcepInfo,
  7057. /* [out] */ UINT *puArgErr);
  7058. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  7059. ICertificates2 * This,
  7060. /* [in] */ long Index,
  7061. /* [retval][out] */ VARIANT *pVal);
  7062. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  7063. ICertificates2 * This,
  7064. /* [retval][out] */ long *pVal);
  7065. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  7066. ICertificates2 * This,
  7067. /* [retval][out] */ LPUNKNOWN *pVal);
  7068. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Find )(
  7069. ICertificates2 * This,
  7070. /* [in] */ CAPICOM_CERTIFICATE_FIND_TYPE FindType,
  7071. /* [defaultvalue][in] */ VARIANT varCriteria,
  7072. /* [defaultvalue][in] */ VARIANT_BOOL bFindValidOnly,
  7073. /* [retval][out] */ ICertificates2 **pVal);
  7074. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Select )(
  7075. ICertificates2 * This,
  7076. /* [defaultvalue][in] */ BSTR Title,
  7077. /* [defaultvalue][in] */ BSTR DisplayString,
  7078. /* [defaultvalue][in] */ VARIANT_BOOL bMultiSelect,
  7079. /* [retval][out] */ ICertificates2 **pVal);
  7080. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  7081. ICertificates2 * This,
  7082. /* [in] */ ICertificate2 *pVal);
  7083. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  7084. ICertificates2 * This,
  7085. /* [in] */ VARIANT Index);
  7086. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
  7087. ICertificates2 * This);
  7088. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )(
  7089. ICertificates2 * This,
  7090. /* [in] */ BSTR FileName,
  7091. /* [defaultvalue][in] */ BSTR Password,
  7092. /* [defaultvalue][in] */ CAPICOM_CERTIFICATES_SAVE_AS_TYPE SaveAs,
  7093. /* [defaultvalue][in] */ CAPICOM_EXPORT_FLAG ExportFlag);
  7094. END_INTERFACE
  7095. } ICertificates2Vtbl;
  7096. interface ICertificates2
  7097. {
  7098. CONST_VTBL struct ICertificates2Vtbl *lpVtbl;
  7099. };
  7100. #ifdef COBJMACROS
  7101. #define ICertificates2_QueryInterface(This,riid,ppvObject) \
  7102. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7103. #define ICertificates2_AddRef(This) \
  7104. (This)->lpVtbl -> AddRef(This)
  7105. #define ICertificates2_Release(This) \
  7106. (This)->lpVtbl -> Release(This)
  7107. #define ICertificates2_GetTypeInfoCount(This,pctinfo) \
  7108. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7109. #define ICertificates2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7110. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7111. #define ICertificates2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7112. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7113. #define ICertificates2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7114. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7115. #define ICertificates2_get_Item(This,Index,pVal) \
  7116. (This)->lpVtbl -> get_Item(This,Index,pVal)
  7117. #define ICertificates2_get_Count(This,pVal) \
  7118. (This)->lpVtbl -> get_Count(This,pVal)
  7119. #define ICertificates2_get__NewEnum(This,pVal) \
  7120. (This)->lpVtbl -> get__NewEnum(This,pVal)
  7121. #define ICertificates2_Find(This,FindType,varCriteria,bFindValidOnly,pVal) \
  7122. (This)->lpVtbl -> Find(This,FindType,varCriteria,bFindValidOnly,pVal)
  7123. #define ICertificates2_Select(This,Title,DisplayString,bMultiSelect,pVal) \
  7124. (This)->lpVtbl -> Select(This,Title,DisplayString,bMultiSelect,pVal)
  7125. #define ICertificates2_Add(This,pVal) \
  7126. (This)->lpVtbl -> Add(This,pVal)
  7127. #define ICertificates2_Remove(This,Index) \
  7128. (This)->lpVtbl -> Remove(This,Index)
  7129. #define ICertificates2_Clear(This) \
  7130. (This)->lpVtbl -> Clear(This)
  7131. #define ICertificates2_Save(This,FileName,Password,SaveAs,ExportFlag) \
  7132. (This)->lpVtbl -> Save(This,FileName,Password,SaveAs,ExportFlag)
  7133. #endif /* COBJMACROS */
  7134. #endif /* C style interface */
  7135. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificates2_Find_Proxy(
  7136. ICertificates2 * This,
  7137. /* [in] */ CAPICOM_CERTIFICATE_FIND_TYPE FindType,
  7138. /* [defaultvalue][in] */ VARIANT varCriteria,
  7139. /* [defaultvalue][in] */ VARIANT_BOOL bFindValidOnly,
  7140. /* [retval][out] */ ICertificates2 **pVal);
  7141. void __RPC_STUB ICertificates2_Find_Stub(
  7142. IRpcStubBuffer *This,
  7143. IRpcChannelBuffer *_pRpcChannelBuffer,
  7144. PRPC_MESSAGE _pRpcMessage,
  7145. DWORD *_pdwStubPhase);
  7146. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificates2_Select_Proxy(
  7147. ICertificates2 * This,
  7148. /* [defaultvalue][in] */ BSTR Title,
  7149. /* [defaultvalue][in] */ BSTR DisplayString,
  7150. /* [defaultvalue][in] */ VARIANT_BOOL bMultiSelect,
  7151. /* [retval][out] */ ICertificates2 **pVal);
  7152. void __RPC_STUB ICertificates2_Select_Stub(
  7153. IRpcStubBuffer *This,
  7154. IRpcChannelBuffer *_pRpcChannelBuffer,
  7155. PRPC_MESSAGE _pRpcMessage,
  7156. DWORD *_pdwStubPhase);
  7157. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificates2_Add_Proxy(
  7158. ICertificates2 * This,
  7159. /* [in] */ ICertificate2 *pVal);
  7160. void __RPC_STUB ICertificates2_Add_Stub(
  7161. IRpcStubBuffer *This,
  7162. IRpcChannelBuffer *_pRpcChannelBuffer,
  7163. PRPC_MESSAGE _pRpcMessage,
  7164. DWORD *_pdwStubPhase);
  7165. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificates2_Remove_Proxy(
  7166. ICertificates2 * This,
  7167. /* [in] */ VARIANT Index);
  7168. void __RPC_STUB ICertificates2_Remove_Stub(
  7169. IRpcStubBuffer *This,
  7170. IRpcChannelBuffer *_pRpcChannelBuffer,
  7171. PRPC_MESSAGE _pRpcMessage,
  7172. DWORD *_pdwStubPhase);
  7173. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificates2_Clear_Proxy(
  7174. ICertificates2 * This);
  7175. void __RPC_STUB ICertificates2_Clear_Stub(
  7176. IRpcStubBuffer *This,
  7177. IRpcChannelBuffer *_pRpcChannelBuffer,
  7178. PRPC_MESSAGE _pRpcMessage,
  7179. DWORD *_pdwStubPhase);
  7180. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICertificates2_Save_Proxy(
  7181. ICertificates2 * This,
  7182. /* [in] */ BSTR FileName,
  7183. /* [defaultvalue][in] */ BSTR Password,
  7184. /* [defaultvalue][in] */ CAPICOM_CERTIFICATES_SAVE_AS_TYPE SaveAs,
  7185. /* [defaultvalue][in] */ CAPICOM_EXPORT_FLAG ExportFlag);
  7186. void __RPC_STUB ICertificates2_Save_Stub(
  7187. IRpcStubBuffer *This,
  7188. IRpcChannelBuffer *_pRpcChannelBuffer,
  7189. PRPC_MESSAGE _pRpcMessage,
  7190. DWORD *_pdwStubPhase);
  7191. #endif /* __ICertificates2_INTERFACE_DEFINED__ */
  7192. #ifndef __IChain2_INTERFACE_DEFINED__
  7193. #define __IChain2_INTERFACE_DEFINED__
  7194. /* interface IChain2 */
  7195. /* [unique][helpstring][dual][uuid][object] */
  7196. EXTERN_C const IID IID_IChain2;
  7197. #if defined(__cplusplus) && !defined(CINTERFACE)
  7198. MIDL_INTERFACE("CA65D842-2110-4073-AEE3-D0AA5F56C421")
  7199. IChain2 : public IChain
  7200. {
  7201. public:
  7202. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CertificatePolicies(
  7203. /* [retval][out] */ IOIDs **pVal) = 0;
  7204. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ApplicationPolicies(
  7205. /* [retval][out] */ IOIDs **pVal) = 0;
  7206. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExtendedErrorInfo(
  7207. /* [defaultvalue][in] */ long Index,
  7208. /* [retval][out] */ BSTR *pVal) = 0;
  7209. };
  7210. #else /* C style interface */
  7211. typedef struct IChain2Vtbl
  7212. {
  7213. BEGIN_INTERFACE
  7214. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7215. IChain2 * This,
  7216. /* [in] */ REFIID riid,
  7217. /* [iid_is][out] */ void **ppvObject);
  7218. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7219. IChain2 * This);
  7220. ULONG ( STDMETHODCALLTYPE *Release )(
  7221. IChain2 * This);
  7222. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7223. IChain2 * This,
  7224. /* [out] */ UINT *pctinfo);
  7225. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7226. IChain2 * This,
  7227. /* [in] */ UINT iTInfo,
  7228. /* [in] */ LCID lcid,
  7229. /* [out] */ ITypeInfo **ppTInfo);
  7230. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7231. IChain2 * This,
  7232. /* [in] */ REFIID riid,
  7233. /* [size_is][in] */ LPOLESTR *rgszNames,
  7234. /* [in] */ UINT cNames,
  7235. /* [in] */ LCID lcid,
  7236. /* [size_is][out] */ DISPID *rgDispId);
  7237. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7238. IChain2 * This,
  7239. /* [in] */ DISPID dispIdMember,
  7240. /* [in] */ REFIID riid,
  7241. /* [in] */ LCID lcid,
  7242. /* [in] */ WORD wFlags,
  7243. /* [out][in] */ DISPPARAMS *pDispParams,
  7244. /* [out] */ VARIANT *pVarResult,
  7245. /* [out] */ EXCEPINFO *pExcepInfo,
  7246. /* [out] */ UINT *puArgErr);
  7247. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Certificates )(
  7248. IChain2 * This,
  7249. /* [retval][out] */ ICertificates **pVal);
  7250. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
  7251. IChain2 * This,
  7252. /* [defaultvalue][in] */ long Index,
  7253. /* [retval][out] */ long *pVal);
  7254. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Build )(
  7255. IChain2 * This,
  7256. /* [in] */ ICertificate *pICertificate,
  7257. /* [retval][out] */ VARIANT_BOOL *pVal);
  7258. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CertificatePolicies )(
  7259. IChain2 * This,
  7260. /* [retval][out] */ IOIDs **pVal);
  7261. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ApplicationPolicies )(
  7262. IChain2 * This,
  7263. /* [retval][out] */ IOIDs **pVal);
  7264. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExtendedErrorInfo )(
  7265. IChain2 * This,
  7266. /* [defaultvalue][in] */ long Index,
  7267. /* [retval][out] */ BSTR *pVal);
  7268. END_INTERFACE
  7269. } IChain2Vtbl;
  7270. interface IChain2
  7271. {
  7272. CONST_VTBL struct IChain2Vtbl *lpVtbl;
  7273. };
  7274. #ifdef COBJMACROS
  7275. #define IChain2_QueryInterface(This,riid,ppvObject) \
  7276. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7277. #define IChain2_AddRef(This) \
  7278. (This)->lpVtbl -> AddRef(This)
  7279. #define IChain2_Release(This) \
  7280. (This)->lpVtbl -> Release(This)
  7281. #define IChain2_GetTypeInfoCount(This,pctinfo) \
  7282. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7283. #define IChain2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7284. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7285. #define IChain2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7286. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7287. #define IChain2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7288. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7289. #define IChain2_get_Certificates(This,pVal) \
  7290. (This)->lpVtbl -> get_Certificates(This,pVal)
  7291. #define IChain2_get_Status(This,Index,pVal) \
  7292. (This)->lpVtbl -> get_Status(This,Index,pVal)
  7293. #define IChain2_Build(This,pICertificate,pVal) \
  7294. (This)->lpVtbl -> Build(This,pICertificate,pVal)
  7295. #define IChain2_CertificatePolicies(This,pVal) \
  7296. (This)->lpVtbl -> CertificatePolicies(This,pVal)
  7297. #define IChain2_ApplicationPolicies(This,pVal) \
  7298. (This)->lpVtbl -> ApplicationPolicies(This,pVal)
  7299. #define IChain2_ExtendedErrorInfo(This,Index,pVal) \
  7300. (This)->lpVtbl -> ExtendedErrorInfo(This,Index,pVal)
  7301. #endif /* COBJMACROS */
  7302. #endif /* C style interface */
  7303. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IChain2_CertificatePolicies_Proxy(
  7304. IChain2 * This,
  7305. /* [retval][out] */ IOIDs **pVal);
  7306. void __RPC_STUB IChain2_CertificatePolicies_Stub(
  7307. IRpcStubBuffer *This,
  7308. IRpcChannelBuffer *_pRpcChannelBuffer,
  7309. PRPC_MESSAGE _pRpcMessage,
  7310. DWORD *_pdwStubPhase);
  7311. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IChain2_ApplicationPolicies_Proxy(
  7312. IChain2 * This,
  7313. /* [retval][out] */ IOIDs **pVal);
  7314. void __RPC_STUB IChain2_ApplicationPolicies_Stub(
  7315. IRpcStubBuffer *This,
  7316. IRpcChannelBuffer *_pRpcChannelBuffer,
  7317. PRPC_MESSAGE _pRpcMessage,
  7318. DWORD *_pdwStubPhase);
  7319. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IChain2_ExtendedErrorInfo_Proxy(
  7320. IChain2 * This,
  7321. /* [defaultvalue][in] */ long Index,
  7322. /* [retval][out] */ BSTR *pVal);
  7323. void __RPC_STUB IChain2_ExtendedErrorInfo_Stub(
  7324. IRpcStubBuffer *This,
  7325. IRpcChannelBuffer *_pRpcChannelBuffer,
  7326. PRPC_MESSAGE _pRpcMessage,
  7327. DWORD *_pdwStubPhase);
  7328. #endif /* __IChain2_INTERFACE_DEFINED__ */
  7329. #ifndef __IStore2_INTERFACE_DEFINED__
  7330. #define __IStore2_INTERFACE_DEFINED__
  7331. /* interface IStore2 */
  7332. /* [unique][helpstring][dual][uuid][object] */
  7333. EXTERN_C const IID IID_IStore2;
  7334. #if defined(__cplusplus) && !defined(CINTERFACE)
  7335. MIDL_INTERFACE("4DA6ABC4-BDCD-4317-B650-262075B93A9C")
  7336. IStore2 : public IStore
  7337. {
  7338. public:
  7339. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Load(
  7340. /* [in] */ BSTR FileName,
  7341. /* [defaultvalue][in] */ BSTR Password = L"",
  7342. /* [defaultvalue][in] */ CAPICOM_KEY_STORAGE_FLAG KeyStorageFlag = CAPICOM_KEY_STORAGE_DEFAULT) = 0;
  7343. };
  7344. #else /* C style interface */
  7345. typedef struct IStore2Vtbl
  7346. {
  7347. BEGIN_INTERFACE
  7348. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7349. IStore2 * This,
  7350. /* [in] */ REFIID riid,
  7351. /* [iid_is][out] */ void **ppvObject);
  7352. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7353. IStore2 * This);
  7354. ULONG ( STDMETHODCALLTYPE *Release )(
  7355. IStore2 * This);
  7356. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7357. IStore2 * This,
  7358. /* [out] */ UINT *pctinfo);
  7359. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7360. IStore2 * This,
  7361. /* [in] */ UINT iTInfo,
  7362. /* [in] */ LCID lcid,
  7363. /* [out] */ ITypeInfo **ppTInfo);
  7364. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7365. IStore2 * This,
  7366. /* [in] */ REFIID riid,
  7367. /* [size_is][in] */ LPOLESTR *rgszNames,
  7368. /* [in] */ UINT cNames,
  7369. /* [in] */ LCID lcid,
  7370. /* [size_is][out] */ DISPID *rgDispId);
  7371. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7372. IStore2 * This,
  7373. /* [in] */ DISPID dispIdMember,
  7374. /* [in] */ REFIID riid,
  7375. /* [in] */ LCID lcid,
  7376. /* [in] */ WORD wFlags,
  7377. /* [out][in] */ DISPPARAMS *pDispParams,
  7378. /* [out] */ VARIANT *pVarResult,
  7379. /* [out] */ EXCEPINFO *pExcepInfo,
  7380. /* [out] */ UINT *puArgErr);
  7381. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Certificates )(
  7382. IStore2 * This,
  7383. /* [retval][out] */ ICertificates **pVal);
  7384. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  7385. IStore2 * This,
  7386. /* [defaultvalue][in] */ CAPICOM_STORE_LOCATION StoreLocation,
  7387. /* [defaultvalue][in] */ BSTR StoreName,
  7388. /* [defaultvalue][in] */ CAPICOM_STORE_OPEN_MODE OpenMode);
  7389. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  7390. IStore2 * This,
  7391. /* [in] */ ICertificate *pVal);
  7392. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  7393. IStore2 * This,
  7394. /* [in] */ ICertificate *pVal);
  7395. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Export )(
  7396. IStore2 * This,
  7397. /* [defaultvalue][in] */ CAPICOM_STORE_SAVE_AS_TYPE SaveAs,
  7398. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  7399. /* [retval][out] */ BSTR *pVal);
  7400. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Import )(
  7401. IStore2 * This,
  7402. /* [in] */ BSTR EncodedStore);
  7403. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Load )(
  7404. IStore2 * This,
  7405. /* [in] */ BSTR FileName,
  7406. /* [defaultvalue][in] */ BSTR Password,
  7407. /* [defaultvalue][in] */ CAPICOM_KEY_STORAGE_FLAG KeyStorageFlag);
  7408. END_INTERFACE
  7409. } IStore2Vtbl;
  7410. interface IStore2
  7411. {
  7412. CONST_VTBL struct IStore2Vtbl *lpVtbl;
  7413. };
  7414. #ifdef COBJMACROS
  7415. #define IStore2_QueryInterface(This,riid,ppvObject) \
  7416. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7417. #define IStore2_AddRef(This) \
  7418. (This)->lpVtbl -> AddRef(This)
  7419. #define IStore2_Release(This) \
  7420. (This)->lpVtbl -> Release(This)
  7421. #define IStore2_GetTypeInfoCount(This,pctinfo) \
  7422. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7423. #define IStore2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7424. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7425. #define IStore2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7426. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7427. #define IStore2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7428. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7429. #define IStore2_get_Certificates(This,pVal) \
  7430. (This)->lpVtbl -> get_Certificates(This,pVal)
  7431. #define IStore2_Open(This,StoreLocation,StoreName,OpenMode) \
  7432. (This)->lpVtbl -> Open(This,StoreLocation,StoreName,OpenMode)
  7433. #define IStore2_Add(This,pVal) \
  7434. (This)->lpVtbl -> Add(This,pVal)
  7435. #define IStore2_Remove(This,pVal) \
  7436. (This)->lpVtbl -> Remove(This,pVal)
  7437. #define IStore2_Export(This,SaveAs,EncodingType,pVal) \
  7438. (This)->lpVtbl -> Export(This,SaveAs,EncodingType,pVal)
  7439. #define IStore2_Import(This,EncodedStore) \
  7440. (This)->lpVtbl -> Import(This,EncodedStore)
  7441. #define IStore2_Load(This,FileName,Password,KeyStorageFlag) \
  7442. (This)->lpVtbl -> Load(This,FileName,Password,KeyStorageFlag)
  7443. #endif /* COBJMACROS */
  7444. #endif /* C style interface */
  7445. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStore2_Load_Proxy(
  7446. IStore2 * This,
  7447. /* [in] */ BSTR FileName,
  7448. /* [defaultvalue][in] */ BSTR Password,
  7449. /* [defaultvalue][in] */ CAPICOM_KEY_STORAGE_FLAG KeyStorageFlag);
  7450. void __RPC_STUB IStore2_Load_Stub(
  7451. IRpcStubBuffer *This,
  7452. IRpcChannelBuffer *_pRpcChannelBuffer,
  7453. PRPC_MESSAGE _pRpcMessage,
  7454. DWORD *_pdwStubPhase);
  7455. #endif /* __IStore2_INTERFACE_DEFINED__ */
  7456. #ifndef __ISigner2_INTERFACE_DEFINED__
  7457. #define __ISigner2_INTERFACE_DEFINED__
  7458. /* interface ISigner2 */
  7459. /* [unique][helpstring][dual][uuid][object] */
  7460. EXTERN_C const IID IID_ISigner2;
  7461. #if defined(__cplusplus) && !defined(CINTERFACE)
  7462. MIDL_INTERFACE("625B1F55-C720-41D6-9ECF-BA59F9B85F17")
  7463. ISigner2 : public ISigner
  7464. {
  7465. public:
  7466. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Chain(
  7467. /* [retval][out] */ IChain **pVal) = 0;
  7468. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Options(
  7469. /* [retval][out] */ CAPICOM_CERTIFICATE_INCLUDE_OPTION *pVal) = 0;
  7470. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Options(
  7471. /* [defaultvalue][in] */ CAPICOM_CERTIFICATE_INCLUDE_OPTION newVal = CAPICOM_CERTIFICATE_INCLUDE_CHAIN_EXCEPT_ROOT) = 0;
  7472. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Load(
  7473. /* [in] */ BSTR FileName,
  7474. /* [defaultvalue][in] */ BSTR Password = L"") = 0;
  7475. };
  7476. #else /* C style interface */
  7477. typedef struct ISigner2Vtbl
  7478. {
  7479. BEGIN_INTERFACE
  7480. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7481. ISigner2 * This,
  7482. /* [in] */ REFIID riid,
  7483. /* [iid_is][out] */ void **ppvObject);
  7484. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7485. ISigner2 * This);
  7486. ULONG ( STDMETHODCALLTYPE *Release )(
  7487. ISigner2 * This);
  7488. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7489. ISigner2 * This,
  7490. /* [out] */ UINT *pctinfo);
  7491. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7492. ISigner2 * This,
  7493. /* [in] */ UINT iTInfo,
  7494. /* [in] */ LCID lcid,
  7495. /* [out] */ ITypeInfo **ppTInfo);
  7496. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7497. ISigner2 * This,
  7498. /* [in] */ REFIID riid,
  7499. /* [size_is][in] */ LPOLESTR *rgszNames,
  7500. /* [in] */ UINT cNames,
  7501. /* [in] */ LCID lcid,
  7502. /* [size_is][out] */ DISPID *rgDispId);
  7503. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7504. ISigner2 * This,
  7505. /* [in] */ DISPID dispIdMember,
  7506. /* [in] */ REFIID riid,
  7507. /* [in] */ LCID lcid,
  7508. /* [in] */ WORD wFlags,
  7509. /* [out][in] */ DISPPARAMS *pDispParams,
  7510. /* [out] */ VARIANT *pVarResult,
  7511. /* [out] */ EXCEPINFO *pExcepInfo,
  7512. /* [out] */ UINT *puArgErr);
  7513. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Certificate )(
  7514. ISigner2 * This,
  7515. /* [retval][out] */ ICertificate **pVal);
  7516. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Certificate )(
  7517. ISigner2 * This,
  7518. /* [in] */ ICertificate *newVal);
  7519. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AuthenticatedAttributes )(
  7520. ISigner2 * This,
  7521. /* [retval][out] */ IAttributes **pVal);
  7522. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Chain )(
  7523. ISigner2 * This,
  7524. /* [retval][out] */ IChain **pVal);
  7525. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Options )(
  7526. ISigner2 * This,
  7527. /* [retval][out] */ CAPICOM_CERTIFICATE_INCLUDE_OPTION *pVal);
  7528. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Options )(
  7529. ISigner2 * This,
  7530. /* [defaultvalue][in] */ CAPICOM_CERTIFICATE_INCLUDE_OPTION newVal);
  7531. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Load )(
  7532. ISigner2 * This,
  7533. /* [in] */ BSTR FileName,
  7534. /* [defaultvalue][in] */ BSTR Password);
  7535. END_INTERFACE
  7536. } ISigner2Vtbl;
  7537. interface ISigner2
  7538. {
  7539. CONST_VTBL struct ISigner2Vtbl *lpVtbl;
  7540. };
  7541. #ifdef COBJMACROS
  7542. #define ISigner2_QueryInterface(This,riid,ppvObject) \
  7543. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7544. #define ISigner2_AddRef(This) \
  7545. (This)->lpVtbl -> AddRef(This)
  7546. #define ISigner2_Release(This) \
  7547. (This)->lpVtbl -> Release(This)
  7548. #define ISigner2_GetTypeInfoCount(This,pctinfo) \
  7549. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7550. #define ISigner2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7551. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7552. #define ISigner2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7553. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7554. #define ISigner2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7555. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7556. #define ISigner2_get_Certificate(This,pVal) \
  7557. (This)->lpVtbl -> get_Certificate(This,pVal)
  7558. #define ISigner2_put_Certificate(This,newVal) \
  7559. (This)->lpVtbl -> put_Certificate(This,newVal)
  7560. #define ISigner2_get_AuthenticatedAttributes(This,pVal) \
  7561. (This)->lpVtbl -> get_AuthenticatedAttributes(This,pVal)
  7562. #define ISigner2_get_Chain(This,pVal) \
  7563. (This)->lpVtbl -> get_Chain(This,pVal)
  7564. #define ISigner2_get_Options(This,pVal) \
  7565. (This)->lpVtbl -> get_Options(This,pVal)
  7566. #define ISigner2_put_Options(This,newVal) \
  7567. (This)->lpVtbl -> put_Options(This,newVal)
  7568. #define ISigner2_Load(This,FileName,Password) \
  7569. (This)->lpVtbl -> Load(This,FileName,Password)
  7570. #endif /* COBJMACROS */
  7571. #endif /* C style interface */
  7572. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISigner2_get_Chain_Proxy(
  7573. ISigner2 * This,
  7574. /* [retval][out] */ IChain **pVal);
  7575. void __RPC_STUB ISigner2_get_Chain_Stub(
  7576. IRpcStubBuffer *This,
  7577. IRpcChannelBuffer *_pRpcChannelBuffer,
  7578. PRPC_MESSAGE _pRpcMessage,
  7579. DWORD *_pdwStubPhase);
  7580. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISigner2_get_Options_Proxy(
  7581. ISigner2 * This,
  7582. /* [retval][out] */ CAPICOM_CERTIFICATE_INCLUDE_OPTION *pVal);
  7583. void __RPC_STUB ISigner2_get_Options_Stub(
  7584. IRpcStubBuffer *This,
  7585. IRpcChannelBuffer *_pRpcChannelBuffer,
  7586. PRPC_MESSAGE _pRpcMessage,
  7587. DWORD *_pdwStubPhase);
  7588. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISigner2_put_Options_Proxy(
  7589. ISigner2 * This,
  7590. /* [defaultvalue][in] */ CAPICOM_CERTIFICATE_INCLUDE_OPTION newVal);
  7591. void __RPC_STUB ISigner2_put_Options_Stub(
  7592. IRpcStubBuffer *This,
  7593. IRpcChannelBuffer *_pRpcChannelBuffer,
  7594. PRPC_MESSAGE _pRpcMessage,
  7595. DWORD *_pdwStubPhase);
  7596. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISigner2_Load_Proxy(
  7597. ISigner2 * This,
  7598. /* [in] */ BSTR FileName,
  7599. /* [defaultvalue][in] */ BSTR Password);
  7600. void __RPC_STUB ISigner2_Load_Stub(
  7601. IRpcStubBuffer *This,
  7602. IRpcChannelBuffer *_pRpcChannelBuffer,
  7603. PRPC_MESSAGE _pRpcMessage,
  7604. DWORD *_pdwStubPhase);
  7605. #endif /* __ISigner2_INTERFACE_DEFINED__ */
  7606. #ifndef __ISignedCode_INTERFACE_DEFINED__
  7607. #define __ISignedCode_INTERFACE_DEFINED__
  7608. /* interface ISignedCode */
  7609. /* [unique][helpstring][dual][uuid][object] */
  7610. EXTERN_C const IID IID_ISignedCode;
  7611. #if defined(__cplusplus) && !defined(CINTERFACE)
  7612. MIDL_INTERFACE("84FBCB95-5600-404C-9187-AC25B4CD6E94")
  7613. ISignedCode : public IDispatch
  7614. {
  7615. public:
  7616. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FileName(
  7617. /* [retval][out] */ BSTR *pVal) = 0;
  7618. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FileName(
  7619. /* [in] */ BSTR newVal) = 0;
  7620. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description(
  7621. /* [retval][out] */ BSTR *pVal) = 0;
  7622. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description(
  7623. /* [in] */ BSTR newVal) = 0;
  7624. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DescriptionURL(
  7625. /* [retval][out] */ BSTR *pVal) = 0;
  7626. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DescriptionURL(
  7627. /* [in] */ BSTR newVal) = 0;
  7628. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Signer(
  7629. /* [retval][out] */ ISigner2 **pVal) = 0;
  7630. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TimeStamper(
  7631. /* [retval][out] */ ISigner2 **pVal) = 0;
  7632. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Certificates(
  7633. /* [retval][out] */ ICertificates2 **pVal) = 0;
  7634. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Sign(
  7635. /* [defaultvalue][in] */ ISigner2 *pISigner2 = 0) = 0;
  7636. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Timestamp(
  7637. /* [in] */ BSTR URL) = 0;
  7638. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Verify(
  7639. /* [defaultvalue][in] */ VARIANT_BOOL bUIAllowed = 0) = 0;
  7640. };
  7641. #else /* C style interface */
  7642. typedef struct ISignedCodeVtbl
  7643. {
  7644. BEGIN_INTERFACE
  7645. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7646. ISignedCode * This,
  7647. /* [in] */ REFIID riid,
  7648. /* [iid_is][out] */ void **ppvObject);
  7649. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7650. ISignedCode * This);
  7651. ULONG ( STDMETHODCALLTYPE *Release )(
  7652. ISignedCode * This);
  7653. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7654. ISignedCode * This,
  7655. /* [out] */ UINT *pctinfo);
  7656. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7657. ISignedCode * This,
  7658. /* [in] */ UINT iTInfo,
  7659. /* [in] */ LCID lcid,
  7660. /* [out] */ ITypeInfo **ppTInfo);
  7661. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7662. ISignedCode * This,
  7663. /* [in] */ REFIID riid,
  7664. /* [size_is][in] */ LPOLESTR *rgszNames,
  7665. /* [in] */ UINT cNames,
  7666. /* [in] */ LCID lcid,
  7667. /* [size_is][out] */ DISPID *rgDispId);
  7668. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7669. ISignedCode * This,
  7670. /* [in] */ DISPID dispIdMember,
  7671. /* [in] */ REFIID riid,
  7672. /* [in] */ LCID lcid,
  7673. /* [in] */ WORD wFlags,
  7674. /* [out][in] */ DISPPARAMS *pDispParams,
  7675. /* [out] */ VARIANT *pVarResult,
  7676. /* [out] */ EXCEPINFO *pExcepInfo,
  7677. /* [out] */ UINT *puArgErr);
  7678. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileName )(
  7679. ISignedCode * This,
  7680. /* [retval][out] */ BSTR *pVal);
  7681. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileName )(
  7682. ISignedCode * This,
  7683. /* [in] */ BSTR newVal);
  7684. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )(
  7685. ISignedCode * This,
  7686. /* [retval][out] */ BSTR *pVal);
  7687. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )(
  7688. ISignedCode * This,
  7689. /* [in] */ BSTR newVal);
  7690. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DescriptionURL )(
  7691. ISignedCode * This,
  7692. /* [retval][out] */ BSTR *pVal);
  7693. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DescriptionURL )(
  7694. ISignedCode * This,
  7695. /* [in] */ BSTR newVal);
  7696. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Signer )(
  7697. ISignedCode * This,
  7698. /* [retval][out] */ ISigner2 **pVal);
  7699. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TimeStamper )(
  7700. ISignedCode * This,
  7701. /* [retval][out] */ ISigner2 **pVal);
  7702. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Certificates )(
  7703. ISignedCode * This,
  7704. /* [retval][out] */ ICertificates2 **pVal);
  7705. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Sign )(
  7706. ISignedCode * This,
  7707. /* [defaultvalue][in] */ ISigner2 *pISigner2);
  7708. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Timestamp )(
  7709. ISignedCode * This,
  7710. /* [in] */ BSTR URL);
  7711. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Verify )(
  7712. ISignedCode * This,
  7713. /* [defaultvalue][in] */ VARIANT_BOOL bUIAllowed);
  7714. END_INTERFACE
  7715. } ISignedCodeVtbl;
  7716. interface ISignedCode
  7717. {
  7718. CONST_VTBL struct ISignedCodeVtbl *lpVtbl;
  7719. };
  7720. #ifdef COBJMACROS
  7721. #define ISignedCode_QueryInterface(This,riid,ppvObject) \
  7722. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7723. #define ISignedCode_AddRef(This) \
  7724. (This)->lpVtbl -> AddRef(This)
  7725. #define ISignedCode_Release(This) \
  7726. (This)->lpVtbl -> Release(This)
  7727. #define ISignedCode_GetTypeInfoCount(This,pctinfo) \
  7728. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7729. #define ISignedCode_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7730. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7731. #define ISignedCode_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7732. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7733. #define ISignedCode_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7734. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7735. #define ISignedCode_get_FileName(This,pVal) \
  7736. (This)->lpVtbl -> get_FileName(This,pVal)
  7737. #define ISignedCode_put_FileName(This,newVal) \
  7738. (This)->lpVtbl -> put_FileName(This,newVal)
  7739. #define ISignedCode_get_Description(This,pVal) \
  7740. (This)->lpVtbl -> get_Description(This,pVal)
  7741. #define ISignedCode_put_Description(This,newVal) \
  7742. (This)->lpVtbl -> put_Description(This,newVal)
  7743. #define ISignedCode_get_DescriptionURL(This,pVal) \
  7744. (This)->lpVtbl -> get_DescriptionURL(This,pVal)
  7745. #define ISignedCode_put_DescriptionURL(This,newVal) \
  7746. (This)->lpVtbl -> put_DescriptionURL(This,newVal)
  7747. #define ISignedCode_get_Signer(This,pVal) \
  7748. (This)->lpVtbl -> get_Signer(This,pVal)
  7749. #define ISignedCode_get_TimeStamper(This,pVal) \
  7750. (This)->lpVtbl -> get_TimeStamper(This,pVal)
  7751. #define ISignedCode_get_Certificates(This,pVal) \
  7752. (This)->lpVtbl -> get_Certificates(This,pVal)
  7753. #define ISignedCode_Sign(This,pISigner2) \
  7754. (This)->lpVtbl -> Sign(This,pISigner2)
  7755. #define ISignedCode_Timestamp(This,URL) \
  7756. (This)->lpVtbl -> Timestamp(This,URL)
  7757. #define ISignedCode_Verify(This,bUIAllowed) \
  7758. (This)->lpVtbl -> Verify(This,bUIAllowed)
  7759. #endif /* COBJMACROS */
  7760. #endif /* C style interface */
  7761. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISignedCode_get_FileName_Proxy(
  7762. ISignedCode * This,
  7763. /* [retval][out] */ BSTR *pVal);
  7764. void __RPC_STUB ISignedCode_get_FileName_Stub(
  7765. IRpcStubBuffer *This,
  7766. IRpcChannelBuffer *_pRpcChannelBuffer,
  7767. PRPC_MESSAGE _pRpcMessage,
  7768. DWORD *_pdwStubPhase);
  7769. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISignedCode_put_FileName_Proxy(
  7770. ISignedCode * This,
  7771. /* [in] */ BSTR newVal);
  7772. void __RPC_STUB ISignedCode_put_FileName_Stub(
  7773. IRpcStubBuffer *This,
  7774. IRpcChannelBuffer *_pRpcChannelBuffer,
  7775. PRPC_MESSAGE _pRpcMessage,
  7776. DWORD *_pdwStubPhase);
  7777. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISignedCode_get_Description_Proxy(
  7778. ISignedCode * This,
  7779. /* [retval][out] */ BSTR *pVal);
  7780. void __RPC_STUB ISignedCode_get_Description_Stub(
  7781. IRpcStubBuffer *This,
  7782. IRpcChannelBuffer *_pRpcChannelBuffer,
  7783. PRPC_MESSAGE _pRpcMessage,
  7784. DWORD *_pdwStubPhase);
  7785. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISignedCode_put_Description_Proxy(
  7786. ISignedCode * This,
  7787. /* [in] */ BSTR newVal);
  7788. void __RPC_STUB ISignedCode_put_Description_Stub(
  7789. IRpcStubBuffer *This,
  7790. IRpcChannelBuffer *_pRpcChannelBuffer,
  7791. PRPC_MESSAGE _pRpcMessage,
  7792. DWORD *_pdwStubPhase);
  7793. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISignedCode_get_DescriptionURL_Proxy(
  7794. ISignedCode * This,
  7795. /* [retval][out] */ BSTR *pVal);
  7796. void __RPC_STUB ISignedCode_get_DescriptionURL_Stub(
  7797. IRpcStubBuffer *This,
  7798. IRpcChannelBuffer *_pRpcChannelBuffer,
  7799. PRPC_MESSAGE _pRpcMessage,
  7800. DWORD *_pdwStubPhase);
  7801. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ISignedCode_put_DescriptionURL_Proxy(
  7802. ISignedCode * This,
  7803. /* [in] */ BSTR newVal);
  7804. void __RPC_STUB ISignedCode_put_DescriptionURL_Stub(
  7805. IRpcStubBuffer *This,
  7806. IRpcChannelBuffer *_pRpcChannelBuffer,
  7807. PRPC_MESSAGE _pRpcMessage,
  7808. DWORD *_pdwStubPhase);
  7809. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISignedCode_get_Signer_Proxy(
  7810. ISignedCode * This,
  7811. /* [retval][out] */ ISigner2 **pVal);
  7812. void __RPC_STUB ISignedCode_get_Signer_Stub(
  7813. IRpcStubBuffer *This,
  7814. IRpcChannelBuffer *_pRpcChannelBuffer,
  7815. PRPC_MESSAGE _pRpcMessage,
  7816. DWORD *_pdwStubPhase);
  7817. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISignedCode_get_TimeStamper_Proxy(
  7818. ISignedCode * This,
  7819. /* [retval][out] */ ISigner2 **pVal);
  7820. void __RPC_STUB ISignedCode_get_TimeStamper_Stub(
  7821. IRpcStubBuffer *This,
  7822. IRpcChannelBuffer *_pRpcChannelBuffer,
  7823. PRPC_MESSAGE _pRpcMessage,
  7824. DWORD *_pdwStubPhase);
  7825. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISignedCode_get_Certificates_Proxy(
  7826. ISignedCode * This,
  7827. /* [retval][out] */ ICertificates2 **pVal);
  7828. void __RPC_STUB ISignedCode_get_Certificates_Stub(
  7829. IRpcStubBuffer *This,
  7830. IRpcChannelBuffer *_pRpcChannelBuffer,
  7831. PRPC_MESSAGE _pRpcMessage,
  7832. DWORD *_pdwStubPhase);
  7833. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISignedCode_Sign_Proxy(
  7834. ISignedCode * This,
  7835. /* [defaultvalue][in] */ ISigner2 *pISigner2);
  7836. void __RPC_STUB ISignedCode_Sign_Stub(
  7837. IRpcStubBuffer *This,
  7838. IRpcChannelBuffer *_pRpcChannelBuffer,
  7839. PRPC_MESSAGE _pRpcMessage,
  7840. DWORD *_pdwStubPhase);
  7841. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISignedCode_Timestamp_Proxy(
  7842. ISignedCode * This,
  7843. /* [in] */ BSTR URL);
  7844. void __RPC_STUB ISignedCode_Timestamp_Stub(
  7845. IRpcStubBuffer *This,
  7846. IRpcChannelBuffer *_pRpcChannelBuffer,
  7847. PRPC_MESSAGE _pRpcMessage,
  7848. DWORD *_pdwStubPhase);
  7849. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ISignedCode_Verify_Proxy(
  7850. ISignedCode * This,
  7851. /* [defaultvalue][in] */ VARIANT_BOOL bUIAllowed);
  7852. void __RPC_STUB ISignedCode_Verify_Stub(
  7853. IRpcStubBuffer *This,
  7854. IRpcChannelBuffer *_pRpcChannelBuffer,
  7855. PRPC_MESSAGE _pRpcMessage,
  7856. DWORD *_pdwStubPhase);
  7857. #endif /* __ISignedCode_INTERFACE_DEFINED__ */
  7858. #ifndef __IHashedData_INTERFACE_DEFINED__
  7859. #define __IHashedData_INTERFACE_DEFINED__
  7860. /* interface IHashedData */
  7861. /* [unique][helpstring][dual][uuid][object] */
  7862. EXTERN_C const IID IID_IHashedData;
  7863. #if defined(__cplusplus) && !defined(CINTERFACE)
  7864. MIDL_INTERFACE("9F7F23E8-06F4-42E8-B965-5CBD044BF27F")
  7865. IHashedData : public IDispatch
  7866. {
  7867. public:
  7868. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  7869. /* [retval][out] */ BSTR *pVal) = 0;
  7870. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Algorithm(
  7871. /* [retval][out] */ CAPICOM_HASH_ALGORITHM *pVal) = 0;
  7872. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Algorithm(
  7873. /* [in] */ CAPICOM_HASH_ALGORITHM newVal) = 0;
  7874. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Hash(
  7875. /* [in] */ BSTR newVal) = 0;
  7876. };
  7877. #else /* C style interface */
  7878. typedef struct IHashedDataVtbl
  7879. {
  7880. BEGIN_INTERFACE
  7881. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7882. IHashedData * This,
  7883. /* [in] */ REFIID riid,
  7884. /* [iid_is][out] */ void **ppvObject);
  7885. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7886. IHashedData * This);
  7887. ULONG ( STDMETHODCALLTYPE *Release )(
  7888. IHashedData * This);
  7889. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7890. IHashedData * This,
  7891. /* [out] */ UINT *pctinfo);
  7892. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7893. IHashedData * This,
  7894. /* [in] */ UINT iTInfo,
  7895. /* [in] */ LCID lcid,
  7896. /* [out] */ ITypeInfo **ppTInfo);
  7897. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7898. IHashedData * This,
  7899. /* [in] */ REFIID riid,
  7900. /* [size_is][in] */ LPOLESTR *rgszNames,
  7901. /* [in] */ UINT cNames,
  7902. /* [in] */ LCID lcid,
  7903. /* [size_is][out] */ DISPID *rgDispId);
  7904. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7905. IHashedData * This,
  7906. /* [in] */ DISPID dispIdMember,
  7907. /* [in] */ REFIID riid,
  7908. /* [in] */ LCID lcid,
  7909. /* [in] */ WORD wFlags,
  7910. /* [out][in] */ DISPPARAMS *pDispParams,
  7911. /* [out] */ VARIANT *pVarResult,
  7912. /* [out] */ EXCEPINFO *pExcepInfo,
  7913. /* [out] */ UINT *puArgErr);
  7914. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  7915. IHashedData * This,
  7916. /* [retval][out] */ BSTR *pVal);
  7917. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Algorithm )(
  7918. IHashedData * This,
  7919. /* [retval][out] */ CAPICOM_HASH_ALGORITHM *pVal);
  7920. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Algorithm )(
  7921. IHashedData * This,
  7922. /* [in] */ CAPICOM_HASH_ALGORITHM newVal);
  7923. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Hash )(
  7924. IHashedData * This,
  7925. /* [in] */ BSTR newVal);
  7926. END_INTERFACE
  7927. } IHashedDataVtbl;
  7928. interface IHashedData
  7929. {
  7930. CONST_VTBL struct IHashedDataVtbl *lpVtbl;
  7931. };
  7932. #ifdef COBJMACROS
  7933. #define IHashedData_QueryInterface(This,riid,ppvObject) \
  7934. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7935. #define IHashedData_AddRef(This) \
  7936. (This)->lpVtbl -> AddRef(This)
  7937. #define IHashedData_Release(This) \
  7938. (This)->lpVtbl -> Release(This)
  7939. #define IHashedData_GetTypeInfoCount(This,pctinfo) \
  7940. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7941. #define IHashedData_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7942. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7943. #define IHashedData_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7944. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7945. #define IHashedData_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7946. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7947. #define IHashedData_get_Value(This,pVal) \
  7948. (This)->lpVtbl -> get_Value(This,pVal)
  7949. #define IHashedData_get_Algorithm(This,pVal) \
  7950. (This)->lpVtbl -> get_Algorithm(This,pVal)
  7951. #define IHashedData_put_Algorithm(This,newVal) \
  7952. (This)->lpVtbl -> put_Algorithm(This,newVal)
  7953. #define IHashedData_Hash(This,newVal) \
  7954. (This)->lpVtbl -> Hash(This,newVal)
  7955. #endif /* COBJMACROS */
  7956. #endif /* C style interface */
  7957. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IHashedData_get_Value_Proxy(
  7958. IHashedData * This,
  7959. /* [retval][out] */ BSTR *pVal);
  7960. void __RPC_STUB IHashedData_get_Value_Stub(
  7961. IRpcStubBuffer *This,
  7962. IRpcChannelBuffer *_pRpcChannelBuffer,
  7963. PRPC_MESSAGE _pRpcMessage,
  7964. DWORD *_pdwStubPhase);
  7965. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IHashedData_get_Algorithm_Proxy(
  7966. IHashedData * This,
  7967. /* [retval][out] */ CAPICOM_HASH_ALGORITHM *pVal);
  7968. void __RPC_STUB IHashedData_get_Algorithm_Stub(
  7969. IRpcStubBuffer *This,
  7970. IRpcChannelBuffer *_pRpcChannelBuffer,
  7971. PRPC_MESSAGE _pRpcMessage,
  7972. DWORD *_pdwStubPhase);
  7973. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IHashedData_put_Algorithm_Proxy(
  7974. IHashedData * This,
  7975. /* [in] */ CAPICOM_HASH_ALGORITHM newVal);
  7976. void __RPC_STUB IHashedData_put_Algorithm_Stub(
  7977. IRpcStubBuffer *This,
  7978. IRpcChannelBuffer *_pRpcChannelBuffer,
  7979. PRPC_MESSAGE _pRpcMessage,
  7980. DWORD *_pdwStubPhase);
  7981. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IHashedData_Hash_Proxy(
  7982. IHashedData * This,
  7983. /* [in] */ BSTR newVal);
  7984. void __RPC_STUB IHashedData_Hash_Stub(
  7985. IRpcStubBuffer *This,
  7986. IRpcChannelBuffer *_pRpcChannelBuffer,
  7987. PRPC_MESSAGE _pRpcMessage,
  7988. DWORD *_pdwStubPhase);
  7989. #endif /* __IHashedData_INTERFACE_DEFINED__ */
  7990. #ifndef __IUtilities_INTERFACE_DEFINED__
  7991. #define __IUtilities_INTERFACE_DEFINED__
  7992. /* interface IUtilities */
  7993. /* [unique][helpstring][dual][uuid][object] */
  7994. EXTERN_C const IID IID_IUtilities;
  7995. #if defined(__cplusplus) && !defined(CINTERFACE)
  7996. MIDL_INTERFACE("EB166CF6-2AE6-44DA-BD96-0C1635D183FE")
  7997. IUtilities : public IDispatch
  7998. {
  7999. public:
  8000. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetRandom(
  8001. /* [defaultvalue][in] */ long Length,
  8002. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  8003. /* [retval][out] */ BSTR *pVal) = 0;
  8004. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Base64Encode(
  8005. /* [in] */ BSTR SrcString,
  8006. /* [retval][out] */ BSTR *pVal) = 0;
  8007. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Base64Decode(
  8008. /* [in] */ BSTR EncodedString,
  8009. /* [retval][out] */ BSTR *pVal) = 0;
  8010. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BinaryToHex(
  8011. /* [in] */ BSTR BinaryString,
  8012. /* [retval][out] */ BSTR *pVal) = 0;
  8013. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HexToBinary(
  8014. /* [in] */ BSTR HexString,
  8015. /* [retval][out] */ BSTR *pVal) = 0;
  8016. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BinaryStringToByteArray(
  8017. /* [in] */ BSTR BinaryString,
  8018. /* [retval][out] */ VARIANT *pVal) = 0;
  8019. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ByteArrayToBinaryString(
  8020. /* [in] */ VARIANT varByteArray,
  8021. /* [retval][out] */ BSTR *pVal) = 0;
  8022. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LocalTimeToUTCTime(
  8023. /* [in] */ DATE LocalTime,
  8024. /* [retval][out] */ DATE *pVal) = 0;
  8025. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UTCTimeToLocalTime(
  8026. /* [in] */ DATE UTCTime,
  8027. /* [retval][out] */ DATE *pVal) = 0;
  8028. };
  8029. #else /* C style interface */
  8030. typedef struct IUtilitiesVtbl
  8031. {
  8032. BEGIN_INTERFACE
  8033. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8034. IUtilities * This,
  8035. /* [in] */ REFIID riid,
  8036. /* [iid_is][out] */ void **ppvObject);
  8037. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8038. IUtilities * This);
  8039. ULONG ( STDMETHODCALLTYPE *Release )(
  8040. IUtilities * This);
  8041. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8042. IUtilities * This,
  8043. /* [out] */ UINT *pctinfo);
  8044. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8045. IUtilities * This,
  8046. /* [in] */ UINT iTInfo,
  8047. /* [in] */ LCID lcid,
  8048. /* [out] */ ITypeInfo **ppTInfo);
  8049. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8050. IUtilities * This,
  8051. /* [in] */ REFIID riid,
  8052. /* [size_is][in] */ LPOLESTR *rgszNames,
  8053. /* [in] */ UINT cNames,
  8054. /* [in] */ LCID lcid,
  8055. /* [size_is][out] */ DISPID *rgDispId);
  8056. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8057. IUtilities * This,
  8058. /* [in] */ DISPID dispIdMember,
  8059. /* [in] */ REFIID riid,
  8060. /* [in] */ LCID lcid,
  8061. /* [in] */ WORD wFlags,
  8062. /* [out][in] */ DISPPARAMS *pDispParams,
  8063. /* [out] */ VARIANT *pVarResult,
  8064. /* [out] */ EXCEPINFO *pExcepInfo,
  8065. /* [out] */ UINT *puArgErr);
  8066. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRandom )(
  8067. IUtilities * This,
  8068. /* [defaultvalue][in] */ long Length,
  8069. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  8070. /* [retval][out] */ BSTR *pVal);
  8071. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Base64Encode )(
  8072. IUtilities * This,
  8073. /* [in] */ BSTR SrcString,
  8074. /* [retval][out] */ BSTR *pVal);
  8075. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Base64Decode )(
  8076. IUtilities * This,
  8077. /* [in] */ BSTR EncodedString,
  8078. /* [retval][out] */ BSTR *pVal);
  8079. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BinaryToHex )(
  8080. IUtilities * This,
  8081. /* [in] */ BSTR BinaryString,
  8082. /* [retval][out] */ BSTR *pVal);
  8083. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HexToBinary )(
  8084. IUtilities * This,
  8085. /* [in] */ BSTR HexString,
  8086. /* [retval][out] */ BSTR *pVal);
  8087. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BinaryStringToByteArray )(
  8088. IUtilities * This,
  8089. /* [in] */ BSTR BinaryString,
  8090. /* [retval][out] */ VARIANT *pVal);
  8091. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ByteArrayToBinaryString )(
  8092. IUtilities * This,
  8093. /* [in] */ VARIANT varByteArray,
  8094. /* [retval][out] */ BSTR *pVal);
  8095. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LocalTimeToUTCTime )(
  8096. IUtilities * This,
  8097. /* [in] */ DATE LocalTime,
  8098. /* [retval][out] */ DATE *pVal);
  8099. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UTCTimeToLocalTime )(
  8100. IUtilities * This,
  8101. /* [in] */ DATE UTCTime,
  8102. /* [retval][out] */ DATE *pVal);
  8103. END_INTERFACE
  8104. } IUtilitiesVtbl;
  8105. interface IUtilities
  8106. {
  8107. CONST_VTBL struct IUtilitiesVtbl *lpVtbl;
  8108. };
  8109. #ifdef COBJMACROS
  8110. #define IUtilities_QueryInterface(This,riid,ppvObject) \
  8111. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8112. #define IUtilities_AddRef(This) \
  8113. (This)->lpVtbl -> AddRef(This)
  8114. #define IUtilities_Release(This) \
  8115. (This)->lpVtbl -> Release(This)
  8116. #define IUtilities_GetTypeInfoCount(This,pctinfo) \
  8117. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8118. #define IUtilities_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8119. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8120. #define IUtilities_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8121. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8122. #define IUtilities_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8123. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8124. #define IUtilities_GetRandom(This,Length,EncodingType,pVal) \
  8125. (This)->lpVtbl -> GetRandom(This,Length,EncodingType,pVal)
  8126. #define IUtilities_Base64Encode(This,SrcString,pVal) \
  8127. (This)->lpVtbl -> Base64Encode(This,SrcString,pVal)
  8128. #define IUtilities_Base64Decode(This,EncodedString,pVal) \
  8129. (This)->lpVtbl -> Base64Decode(This,EncodedString,pVal)
  8130. #define IUtilities_BinaryToHex(This,BinaryString,pVal) \
  8131. (This)->lpVtbl -> BinaryToHex(This,BinaryString,pVal)
  8132. #define IUtilities_HexToBinary(This,HexString,pVal) \
  8133. (This)->lpVtbl -> HexToBinary(This,HexString,pVal)
  8134. #define IUtilities_BinaryStringToByteArray(This,BinaryString,pVal) \
  8135. (This)->lpVtbl -> BinaryStringToByteArray(This,BinaryString,pVal)
  8136. #define IUtilities_ByteArrayToBinaryString(This,varByteArray,pVal) \
  8137. (This)->lpVtbl -> ByteArrayToBinaryString(This,varByteArray,pVal)
  8138. #define IUtilities_LocalTimeToUTCTime(This,LocalTime,pVal) \
  8139. (This)->lpVtbl -> LocalTimeToUTCTime(This,LocalTime,pVal)
  8140. #define IUtilities_UTCTimeToLocalTime(This,UTCTime,pVal) \
  8141. (This)->lpVtbl -> UTCTimeToLocalTime(This,UTCTime,pVal)
  8142. #endif /* COBJMACROS */
  8143. #endif /* C style interface */
  8144. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUtilities_GetRandom_Proxy(
  8145. IUtilities * This,
  8146. /* [defaultvalue][in] */ long Length,
  8147. /* [defaultvalue][in] */ CAPICOM_ENCODING_TYPE EncodingType,
  8148. /* [retval][out] */ BSTR *pVal);
  8149. void __RPC_STUB IUtilities_GetRandom_Stub(
  8150. IRpcStubBuffer *This,
  8151. IRpcChannelBuffer *_pRpcChannelBuffer,
  8152. PRPC_MESSAGE _pRpcMessage,
  8153. DWORD *_pdwStubPhase);
  8154. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUtilities_Base64Encode_Proxy(
  8155. IUtilities * This,
  8156. /* [in] */ BSTR SrcString,
  8157. /* [retval][out] */ BSTR *pVal);
  8158. void __RPC_STUB IUtilities_Base64Encode_Stub(
  8159. IRpcStubBuffer *This,
  8160. IRpcChannelBuffer *_pRpcChannelBuffer,
  8161. PRPC_MESSAGE _pRpcMessage,
  8162. DWORD *_pdwStubPhase);
  8163. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUtilities_Base64Decode_Proxy(
  8164. IUtilities * This,
  8165. /* [in] */ BSTR EncodedString,
  8166. /* [retval][out] */ BSTR *pVal);
  8167. void __RPC_STUB IUtilities_Base64Decode_Stub(
  8168. IRpcStubBuffer *This,
  8169. IRpcChannelBuffer *_pRpcChannelBuffer,
  8170. PRPC_MESSAGE _pRpcMessage,
  8171. DWORD *_pdwStubPhase);
  8172. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUtilities_BinaryToHex_Proxy(
  8173. IUtilities * This,
  8174. /* [in] */ BSTR BinaryString,
  8175. /* [retval][out] */ BSTR *pVal);
  8176. void __RPC_STUB IUtilities_BinaryToHex_Stub(
  8177. IRpcStubBuffer *This,
  8178. IRpcChannelBuffer *_pRpcChannelBuffer,
  8179. PRPC_MESSAGE _pRpcMessage,
  8180. DWORD *_pdwStubPhase);
  8181. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUtilities_HexToBinary_Proxy(
  8182. IUtilities * This,
  8183. /* [in] */ BSTR HexString,
  8184. /* [retval][out] */ BSTR *pVal);
  8185. void __RPC_STUB IUtilities_HexToBinary_Stub(
  8186. IRpcStubBuffer *This,
  8187. IRpcChannelBuffer *_pRpcChannelBuffer,
  8188. PRPC_MESSAGE _pRpcMessage,
  8189. DWORD *_pdwStubPhase);
  8190. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUtilities_BinaryStringToByteArray_Proxy(
  8191. IUtilities * This,
  8192. /* [in] */ BSTR BinaryString,
  8193. /* [retval][out] */ VARIANT *pVal);
  8194. void __RPC_STUB IUtilities_BinaryStringToByteArray_Stub(
  8195. IRpcStubBuffer *This,
  8196. IRpcChannelBuffer *_pRpcChannelBuffer,
  8197. PRPC_MESSAGE _pRpcMessage,
  8198. DWORD *_pdwStubPhase);
  8199. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUtilities_ByteArrayToBinaryString_Proxy(
  8200. IUtilities * This,
  8201. /* [in] */ VARIANT varByteArray,
  8202. /* [retval][out] */ BSTR *pVal);
  8203. void __RPC_STUB IUtilities_ByteArrayToBinaryString_Stub(
  8204. IRpcStubBuffer *This,
  8205. IRpcChannelBuffer *_pRpcChannelBuffer,
  8206. PRPC_MESSAGE _pRpcMessage,
  8207. DWORD *_pdwStubPhase);
  8208. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUtilities_LocalTimeToUTCTime_Proxy(
  8209. IUtilities * This,
  8210. /* [in] */ DATE LocalTime,
  8211. /* [retval][out] */ DATE *pVal);
  8212. void __RPC_STUB IUtilities_LocalTimeToUTCTime_Stub(
  8213. IRpcStubBuffer *This,
  8214. IRpcChannelBuffer *_pRpcChannelBuffer,
  8215. PRPC_MESSAGE _pRpcMessage,
  8216. DWORD *_pdwStubPhase);
  8217. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUtilities_UTCTimeToLocalTime_Proxy(
  8218. IUtilities * This,
  8219. /* [in] */ DATE UTCTime,
  8220. /* [retval][out] */ DATE *pVal);
  8221. void __RPC_STUB IUtilities_UTCTimeToLocalTime_Stub(
  8222. IRpcStubBuffer *This,
  8223. IRpcChannelBuffer *_pRpcChannelBuffer,
  8224. PRPC_MESSAGE _pRpcMessage,
  8225. DWORD *_pdwStubPhase);
  8226. #endif /* __IUtilities_INTERFACE_DEFINED__ */
  8227. #ifndef __ICertContext_INTERFACE_DEFINED__
  8228. #define __ICertContext_INTERFACE_DEFINED__
  8229. /* interface ICertContext */
  8230. /* [unique][helpstring][local][uuid][object] */
  8231. EXTERN_C const IID IID_ICertContext;
  8232. #if defined(__cplusplus) && !defined(CINTERFACE)
  8233. MIDL_INTERFACE("9E7D3477-4F63-423E-8A45-E13B2BB851A2")
  8234. ICertContext : public IUnknown
  8235. {
  8236. public:
  8237. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_CertContext(
  8238. /* [retval][out] */ long *ppCertContext) = 0;
  8239. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_CertContext(
  8240. /* [in] */ long pCertContext) = 0;
  8241. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FreeContext(
  8242. /* [in] */ long pCertContext) = 0;
  8243. };
  8244. #else /* C style interface */
  8245. typedef struct ICertContextVtbl
  8246. {
  8247. BEGIN_INTERFACE
  8248. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8249. ICertContext * This,
  8250. /* [in] */ REFIID riid,
  8251. /* [iid_is][out] */ void **ppvObject);
  8252. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8253. ICertContext * This);
  8254. ULONG ( STDMETHODCALLTYPE *Release )(
  8255. ICertContext * This);
  8256. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CertContext )(
  8257. ICertContext * This,
  8258. /* [retval][out] */ long *ppCertContext);
  8259. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CertContext )(
  8260. ICertContext * This,
  8261. /* [in] */ long pCertContext);
  8262. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FreeContext )(
  8263. ICertContext * This,
  8264. /* [in] */ long pCertContext);
  8265. END_INTERFACE
  8266. } ICertContextVtbl;
  8267. interface ICertContext
  8268. {
  8269. CONST_VTBL struct ICertContextVtbl *lpVtbl;
  8270. };
  8271. #ifdef COBJMACROS
  8272. #define ICertContext_QueryInterface(This,riid,ppvObject) \
  8273. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8274. #define ICertContext_AddRef(This) \
  8275. (This)->lpVtbl -> AddRef(This)
  8276. #define ICertContext_Release(This) \
  8277. (This)->lpVtbl -> Release(This)
  8278. #define ICertContext_get_CertContext(This,ppCertContext) \
  8279. (This)->lpVtbl -> get_CertContext(This,ppCertContext)
  8280. #define ICertContext_put_CertContext(This,pCertContext) \
  8281. (This)->lpVtbl -> put_CertContext(This,pCertContext)
  8282. #define ICertContext_FreeContext(This,pCertContext) \
  8283. (This)->lpVtbl -> FreeContext(This,pCertContext)
  8284. #endif /* COBJMACROS */
  8285. #endif /* C style interface */
  8286. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE ICertContext_get_CertContext_Proxy(
  8287. ICertContext * This,
  8288. /* [retval][out] */ long *ppCertContext);
  8289. void __RPC_STUB ICertContext_get_CertContext_Stub(
  8290. IRpcStubBuffer *This,
  8291. IRpcChannelBuffer *_pRpcChannelBuffer,
  8292. PRPC_MESSAGE _pRpcMessage,
  8293. DWORD *_pdwStubPhase);
  8294. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE ICertContext_put_CertContext_Proxy(
  8295. ICertContext * This,
  8296. /* [in] */ long pCertContext);
  8297. void __RPC_STUB ICertContext_put_CertContext_Stub(
  8298. IRpcStubBuffer *This,
  8299. IRpcChannelBuffer *_pRpcChannelBuffer,
  8300. PRPC_MESSAGE _pRpcMessage,
  8301. DWORD *_pdwStubPhase);
  8302. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ICertContext_FreeContext_Proxy(
  8303. ICertContext * This,
  8304. /* [in] */ long pCertContext);
  8305. void __RPC_STUB ICertContext_FreeContext_Stub(
  8306. IRpcStubBuffer *This,
  8307. IRpcChannelBuffer *_pRpcChannelBuffer,
  8308. PRPC_MESSAGE _pRpcMessage,
  8309. DWORD *_pdwStubPhase);
  8310. #endif /* __ICertContext_INTERFACE_DEFINED__ */
  8311. #ifndef __IChainContext_INTERFACE_DEFINED__
  8312. #define __IChainContext_INTERFACE_DEFINED__
  8313. /* interface IChainContext */
  8314. /* [unique][helpstring][local][uuid][object] */
  8315. EXTERN_C const IID IID_IChainContext;
  8316. #if defined(__cplusplus) && !defined(CINTERFACE)
  8317. MIDL_INTERFACE("B27FFB30-432E-4585-A3FD-72530108CBFD")
  8318. IChainContext : public IUnknown
  8319. {
  8320. public:
  8321. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_ChainContext(
  8322. /* [retval][out] */ long *pChainContext) = 0;
  8323. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_ChainContext(
  8324. /* [in] */ long pChainContext) = 0;
  8325. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FreeContext(
  8326. /* [in] */ long pChainContext) = 0;
  8327. };
  8328. #else /* C style interface */
  8329. typedef struct IChainContextVtbl
  8330. {
  8331. BEGIN_INTERFACE
  8332. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8333. IChainContext * This,
  8334. /* [in] */ REFIID riid,
  8335. /* [iid_is][out] */ void **ppvObject);
  8336. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8337. IChainContext * This);
  8338. ULONG ( STDMETHODCALLTYPE *Release )(
  8339. IChainContext * This);
  8340. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ChainContext )(
  8341. IChainContext * This,
  8342. /* [retval][out] */ long *pChainContext);
  8343. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ChainContext )(
  8344. IChainContext * This,
  8345. /* [in] */ long pChainContext);
  8346. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FreeContext )(
  8347. IChainContext * This,
  8348. /* [in] */ long pChainContext);
  8349. END_INTERFACE
  8350. } IChainContextVtbl;
  8351. interface IChainContext
  8352. {
  8353. CONST_VTBL struct IChainContextVtbl *lpVtbl;
  8354. };
  8355. #ifdef COBJMACROS
  8356. #define IChainContext_QueryInterface(This,riid,ppvObject) \
  8357. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8358. #define IChainContext_AddRef(This) \
  8359. (This)->lpVtbl -> AddRef(This)
  8360. #define IChainContext_Release(This) \
  8361. (This)->lpVtbl -> Release(This)
  8362. #define IChainContext_get_ChainContext(This,pChainContext) \
  8363. (This)->lpVtbl -> get_ChainContext(This,pChainContext)
  8364. #define IChainContext_put_ChainContext(This,pChainContext) \
  8365. (This)->lpVtbl -> put_ChainContext(This,pChainContext)
  8366. #define IChainContext_FreeContext(This,pChainContext) \
  8367. (This)->lpVtbl -> FreeContext(This,pChainContext)
  8368. #endif /* COBJMACROS */
  8369. #endif /* C style interface */
  8370. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IChainContext_get_ChainContext_Proxy(
  8371. IChainContext * This,
  8372. /* [retval][out] */ long *pChainContext);
  8373. void __RPC_STUB IChainContext_get_ChainContext_Stub(
  8374. IRpcStubBuffer *This,
  8375. IRpcChannelBuffer *_pRpcChannelBuffer,
  8376. PRPC_MESSAGE _pRpcMessage,
  8377. DWORD *_pdwStubPhase);
  8378. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IChainContext_put_ChainContext_Proxy(
  8379. IChainContext * This,
  8380. /* [in] */ long pChainContext);
  8381. void __RPC_STUB IChainContext_put_ChainContext_Stub(
  8382. IRpcStubBuffer *This,
  8383. IRpcChannelBuffer *_pRpcChannelBuffer,
  8384. PRPC_MESSAGE _pRpcMessage,
  8385. DWORD *_pdwStubPhase);
  8386. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IChainContext_FreeContext_Proxy(
  8387. IChainContext * This,
  8388. /* [in] */ long pChainContext);
  8389. void __RPC_STUB IChainContext_FreeContext_Stub(
  8390. IRpcStubBuffer *This,
  8391. IRpcChannelBuffer *_pRpcChannelBuffer,
  8392. PRPC_MESSAGE _pRpcMessage,
  8393. DWORD *_pdwStubPhase);
  8394. #endif /* __IChainContext_INTERFACE_DEFINED__ */
  8395. #ifndef __ICertStore_INTERFACE_DEFINED__
  8396. #define __ICertStore_INTERFACE_DEFINED__
  8397. /* interface ICertStore */
  8398. /* [unique][helpstring][local][uuid][object] */
  8399. EXTERN_C const IID IID_ICertStore;
  8400. #if defined(__cplusplus) && !defined(CINTERFACE)
  8401. MIDL_INTERFACE("BB3ECB9C-A83A-445c-BDB5-EFBEF691B731")
  8402. ICertStore : public IUnknown
  8403. {
  8404. public:
  8405. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StoreHandle(
  8406. /* [retval][out] */ long *phCertStore) = 0;
  8407. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_StoreHandle(
  8408. /* [in] */ long hCertStore) = 0;
  8409. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_StoreLocation(
  8410. /* [retval][out] */ CAPICOM_STORE_LOCATION *pStoreLocation) = 0;
  8411. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_StoreLocation(
  8412. /* [in] */ CAPICOM_STORE_LOCATION StoreLocation) = 0;
  8413. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CloseHandle(
  8414. /* [in] */ long hCertStore) = 0;
  8415. };
  8416. #else /* C style interface */
  8417. typedef struct ICertStoreVtbl
  8418. {
  8419. BEGIN_INTERFACE
  8420. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8421. ICertStore * This,
  8422. /* [in] */ REFIID riid,
  8423. /* [iid_is][out] */ void **ppvObject);
  8424. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8425. ICertStore * This);
  8426. ULONG ( STDMETHODCALLTYPE *Release )(
  8427. ICertStore * This);
  8428. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StoreHandle )(
  8429. ICertStore * This,
  8430. /* [retval][out] */ long *phCertStore);
  8431. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_StoreHandle )(
  8432. ICertStore * This,
  8433. /* [in] */ long hCertStore);
  8434. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StoreLocation )(
  8435. ICertStore * This,
  8436. /* [retval][out] */ CAPICOM_STORE_LOCATION *pStoreLocation);
  8437. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_StoreLocation )(
  8438. ICertStore * This,
  8439. /* [in] */ CAPICOM_STORE_LOCATION StoreLocation);
  8440. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CloseHandle )(
  8441. ICertStore * This,
  8442. /* [in] */ long hCertStore);
  8443. END_INTERFACE
  8444. } ICertStoreVtbl;
  8445. interface ICertStore
  8446. {
  8447. CONST_VTBL struct ICertStoreVtbl *lpVtbl;
  8448. };
  8449. #ifdef COBJMACROS
  8450. #define ICertStore_QueryInterface(This,riid,ppvObject) \
  8451. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8452. #define ICertStore_AddRef(This) \
  8453. (This)->lpVtbl -> AddRef(This)
  8454. #define ICertStore_Release(This) \
  8455. (This)->lpVtbl -> Release(This)
  8456. #define ICertStore_get_StoreHandle(This,phCertStore) \
  8457. (This)->lpVtbl -> get_StoreHandle(This,phCertStore)
  8458. #define ICertStore_put_StoreHandle(This,hCertStore) \
  8459. (This)->lpVtbl -> put_StoreHandle(This,hCertStore)
  8460. #define ICertStore_get_StoreLocation(This,pStoreLocation) \
  8461. (This)->lpVtbl -> get_StoreLocation(This,pStoreLocation)
  8462. #define ICertStore_put_StoreLocation(This,StoreLocation) \
  8463. (This)->lpVtbl -> put_StoreLocation(This,StoreLocation)
  8464. #define ICertStore_CloseHandle(This,hCertStore) \
  8465. (This)->lpVtbl -> CloseHandle(This,hCertStore)
  8466. #endif /* COBJMACROS */
  8467. #endif /* C style interface */
  8468. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE ICertStore_get_StoreHandle_Proxy(
  8469. ICertStore * This,
  8470. /* [retval][out] */ long *phCertStore);
  8471. void __RPC_STUB ICertStore_get_StoreHandle_Stub(
  8472. IRpcStubBuffer *This,
  8473. IRpcChannelBuffer *_pRpcChannelBuffer,
  8474. PRPC_MESSAGE _pRpcMessage,
  8475. DWORD *_pdwStubPhase);
  8476. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE ICertStore_put_StoreHandle_Proxy(
  8477. ICertStore * This,
  8478. /* [in] */ long hCertStore);
  8479. void __RPC_STUB ICertStore_put_StoreHandle_Stub(
  8480. IRpcStubBuffer *This,
  8481. IRpcChannelBuffer *_pRpcChannelBuffer,
  8482. PRPC_MESSAGE _pRpcMessage,
  8483. DWORD *_pdwStubPhase);
  8484. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE ICertStore_get_StoreLocation_Proxy(
  8485. ICertStore * This,
  8486. /* [retval][out] */ CAPICOM_STORE_LOCATION *pStoreLocation);
  8487. void __RPC_STUB ICertStore_get_StoreLocation_Stub(
  8488. IRpcStubBuffer *This,
  8489. IRpcChannelBuffer *_pRpcChannelBuffer,
  8490. PRPC_MESSAGE _pRpcMessage,
  8491. DWORD *_pdwStubPhase);
  8492. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE ICertStore_put_StoreLocation_Proxy(
  8493. ICertStore * This,
  8494. /* [in] */ CAPICOM_STORE_LOCATION StoreLocation);
  8495. void __RPC_STUB ICertStore_put_StoreLocation_Stub(
  8496. IRpcStubBuffer *This,
  8497. IRpcChannelBuffer *_pRpcChannelBuffer,
  8498. PRPC_MESSAGE _pRpcMessage,
  8499. DWORD *_pdwStubPhase);
  8500. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ICertStore_CloseHandle_Proxy(
  8501. ICertStore * This,
  8502. /* [in] */ long hCertStore);
  8503. void __RPC_STUB ICertStore_CloseHandle_Stub(
  8504. IRpcStubBuffer *This,
  8505. IRpcChannelBuffer *_pRpcChannelBuffer,
  8506. PRPC_MESSAGE _pRpcMessage,
  8507. DWORD *_pdwStubPhase);
  8508. #endif /* __ICertStore_INTERFACE_DEFINED__ */
  8509. #ifndef __ICSigner_INTERFACE_DEFINED__
  8510. #define __ICSigner_INTERFACE_DEFINED__
  8511. /* interface ICSigner */
  8512. /* [unique][helpstring][restricted][local][uuid][object] */
  8513. EXTERN_C const IID IID_ICSigner;
  8514. #if defined(__cplusplus) && !defined(CINTERFACE)
  8515. MIDL_INTERFACE("8F83F792-014C-4E22-BD57-5C381E622F34")
  8516. ICSigner : public IUnknown
  8517. {
  8518. public:
  8519. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AdditionalStore(
  8520. /* [retval][out] */ long *phAdditionalStore) = 0;
  8521. virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AdditionalStore(
  8522. /* [in] */ long hAdditionalStore) = 0;
  8523. };
  8524. #else /* C style interface */
  8525. typedef struct ICSignerVtbl
  8526. {
  8527. BEGIN_INTERFACE
  8528. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8529. ICSigner * This,
  8530. /* [in] */ REFIID riid,
  8531. /* [iid_is][out] */ void **ppvObject);
  8532. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8533. ICSigner * This);
  8534. ULONG ( STDMETHODCALLTYPE *Release )(
  8535. ICSigner * This);
  8536. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AdditionalStore )(
  8537. ICSigner * This,
  8538. /* [retval][out] */ long *phAdditionalStore);
  8539. /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AdditionalStore )(
  8540. ICSigner * This,
  8541. /* [in] */ long hAdditionalStore);
  8542. END_INTERFACE
  8543. } ICSignerVtbl;
  8544. interface ICSigner
  8545. {
  8546. CONST_VTBL struct ICSignerVtbl *lpVtbl;
  8547. };
  8548. #ifdef COBJMACROS
  8549. #define ICSigner_QueryInterface(This,riid,ppvObject) \
  8550. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8551. #define ICSigner_AddRef(This) \
  8552. (This)->lpVtbl -> AddRef(This)
  8553. #define ICSigner_Release(This) \
  8554. (This)->lpVtbl -> Release(This)
  8555. #define ICSigner_get_AdditionalStore(This,phAdditionalStore) \
  8556. (This)->lpVtbl -> get_AdditionalStore(This,phAdditionalStore)
  8557. #define ICSigner_put_AdditionalStore(This,hAdditionalStore) \
  8558. (This)->lpVtbl -> put_AdditionalStore(This,hAdditionalStore)
  8559. #endif /* COBJMACROS */
  8560. #endif /* C style interface */
  8561. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE ICSigner_get_AdditionalStore_Proxy(
  8562. ICSigner * This,
  8563. /* [retval][out] */ long *phAdditionalStore);
  8564. void __RPC_STUB ICSigner_get_AdditionalStore_Stub(
  8565. IRpcStubBuffer *This,
  8566. IRpcChannelBuffer *_pRpcChannelBuffer,
  8567. PRPC_MESSAGE _pRpcMessage,
  8568. DWORD *_pdwStubPhase);
  8569. /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE ICSigner_put_AdditionalStore_Proxy(
  8570. ICSigner * This,
  8571. /* [in] */ long hAdditionalStore);
  8572. void __RPC_STUB ICSigner_put_AdditionalStore_Stub(
  8573. IRpcStubBuffer *This,
  8574. IRpcChannelBuffer *_pRpcChannelBuffer,
  8575. PRPC_MESSAGE _pRpcMessage,
  8576. DWORD *_pdwStubPhase);
  8577. #endif /* __ICSigner_INTERFACE_DEFINED__ */
  8578. #ifndef __ICCertificates_INTERFACE_DEFINED__
  8579. #define __ICCertificates_INTERFACE_DEFINED__
  8580. /* interface ICCertificates */
  8581. /* [unique][helpstring][restricted][local][uuid][object] */
  8582. EXTERN_C const IID IID_ICCertificates;
  8583. #if defined(__cplusplus) && !defined(CINTERFACE)
  8584. MIDL_INTERFACE("EBDC6DC2-684D-4425-BBB7-CB4D15A088A7")
  8585. ICCertificates : public IUnknown
  8586. {
  8587. public:
  8588. virtual /* [restricted] */ HRESULT STDMETHODCALLTYPE _ExportToStore(
  8589. /* [in] */ HCERTSTORE hCertStore) = 0;
  8590. };
  8591. #else /* C style interface */
  8592. typedef struct ICCertificatesVtbl
  8593. {
  8594. BEGIN_INTERFACE
  8595. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8596. ICCertificates * This,
  8597. /* [in] */ REFIID riid,
  8598. /* [iid_is][out] */ void **ppvObject);
  8599. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8600. ICCertificates * This);
  8601. ULONG ( STDMETHODCALLTYPE *Release )(
  8602. ICCertificates * This);
  8603. /* [restricted] */ HRESULT ( STDMETHODCALLTYPE *_ExportToStore )(
  8604. ICCertificates * This,
  8605. /* [in] */ HCERTSTORE hCertStore);
  8606. END_INTERFACE
  8607. } ICCertificatesVtbl;
  8608. interface ICCertificates
  8609. {
  8610. CONST_VTBL struct ICCertificatesVtbl *lpVtbl;
  8611. };
  8612. #ifdef COBJMACROS
  8613. #define ICCertificates_QueryInterface(This,riid,ppvObject) \
  8614. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8615. #define ICCertificates_AddRef(This) \
  8616. (This)->lpVtbl -> AddRef(This)
  8617. #define ICCertificates_Release(This) \
  8618. (This)->lpVtbl -> Release(This)
  8619. #define ICCertificates__ExportToStore(This,hCertStore) \
  8620. (This)->lpVtbl -> _ExportToStore(This,hCertStore)
  8621. #endif /* COBJMACROS */
  8622. #endif /* C style interface */
  8623. /* [restricted] */ HRESULT STDMETHODCALLTYPE ICCertificates__ExportToStore_Proxy(
  8624. ICCertificates * This,
  8625. /* [in] */ HCERTSTORE hCertStore);
  8626. void __RPC_STUB ICCertificates__ExportToStore_Stub(
  8627. IRpcStubBuffer *This,
  8628. IRpcChannelBuffer *_pRpcChannelBuffer,
  8629. PRPC_MESSAGE _pRpcMessage,
  8630. DWORD *_pdwStubPhase);
  8631. #endif /* __ICCertificates_INTERFACE_DEFINED__ */
  8632. #ifndef __ICPrivateKey_INTERFACE_DEFINED__
  8633. #define __ICPrivateKey_INTERFACE_DEFINED__
  8634. /* interface ICPrivateKey */
  8635. /* [unique][helpstring][restricted][local][uuid][object] */
  8636. EXTERN_C const IID IID_ICPrivateKey;
  8637. #if defined(__cplusplus) && !defined(CINTERFACE)
  8638. MIDL_INTERFACE("50F241B7-A8F2-4e0a-B982-4BD7DF0CCF3C")
  8639. ICPrivateKey : public IUnknown
  8640. {
  8641. public:
  8642. virtual /* [restricted] */ HRESULT STDMETHODCALLTYPE _GetKeyProvInfo(
  8643. /* [retval][out] */ PCRYPT_KEY_PROV_INFO *pKeyProvInfo) = 0;
  8644. };
  8645. #else /* C style interface */
  8646. typedef struct ICPrivateKeyVtbl
  8647. {
  8648. BEGIN_INTERFACE
  8649. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8650. ICPrivateKey * This,
  8651. /* [in] */ REFIID riid,
  8652. /* [iid_is][out] */ void **ppvObject);
  8653. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8654. ICPrivateKey * This);
  8655. ULONG ( STDMETHODCALLTYPE *Release )(
  8656. ICPrivateKey * This);
  8657. /* [restricted] */ HRESULT ( STDMETHODCALLTYPE *_GetKeyProvInfo )(
  8658. ICPrivateKey * This,
  8659. /* [retval][out] */ PCRYPT_KEY_PROV_INFO *pKeyProvInfo);
  8660. END_INTERFACE
  8661. } ICPrivateKeyVtbl;
  8662. interface ICPrivateKey
  8663. {
  8664. CONST_VTBL struct ICPrivateKeyVtbl *lpVtbl;
  8665. };
  8666. #ifdef COBJMACROS
  8667. #define ICPrivateKey_QueryInterface(This,riid,ppvObject) \
  8668. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8669. #define ICPrivateKey_AddRef(This) \
  8670. (This)->lpVtbl -> AddRef(This)
  8671. #define ICPrivateKey_Release(This) \
  8672. (This)->lpVtbl -> Release(This)
  8673. #define ICPrivateKey__GetKeyProvInfo(This,pKeyProvInfo) \
  8674. (This)->lpVtbl -> _GetKeyProvInfo(This,pKeyProvInfo)
  8675. #endif /* COBJMACROS */
  8676. #endif /* C style interface */
  8677. /* [restricted] */ HRESULT STDMETHODCALLTYPE ICPrivateKey__GetKeyProvInfo_Proxy(
  8678. ICPrivateKey * This,
  8679. /* [retval][out] */ PCRYPT_KEY_PROV_INFO *pKeyProvInfo);
  8680. void __RPC_STUB ICPrivateKey__GetKeyProvInfo_Stub(
  8681. IRpcStubBuffer *This,
  8682. IRpcChannelBuffer *_pRpcChannelBuffer,
  8683. PRPC_MESSAGE _pRpcMessage,
  8684. DWORD *_pdwStubPhase);
  8685. #endif /* __ICPrivateKey_INTERFACE_DEFINED__ */
  8686. /* Additional Prototypes for ALL interfaces */
  8687. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  8688. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  8689. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  8690. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  8691. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  8692. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  8693. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  8694. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  8695. /* end of Additional Prototypes */
  8696. #ifdef __cplusplus
  8697. }
  8698. #endif
  8699. #endif