VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/cryptuiapi.h@ 19678

Last change on this file since 19678 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 16.4 KB
Line 
1/*
2 * Copyright (C) 2008 Juan Lang
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __CRYPTUIAPI_H__
29#define __CRYPTUIAPI_H__
30
31#include <wintrust.h>
32#include <wincrypt.h>
33#include <prsht.h>
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39#include <pshpack8.h>
40
41BOOL WINAPI CryptUIDlgViewContext(DWORD dwContextType, LPVOID pvContext,
42 HWND hwnd, LPCWSTR pwszTitle, DWORD dwFlags, LPVOID pvReserved);
43
44/* Values for dwDontUseColumn */
45#define CRYPTUI_SELECT_ISSUEDTO_COLUMN 0x00000001
46#define CRYPTUI_SELECT_ISSUEDBY_COLUMN 0x00000002
47#define CRYPTUI_SELECT_INTENDEDUSE_COLUMN 0x00000004
48#define CRYPTUI_SELECT_FRIENDLYNAME_COLUMN 0x00000008
49#define CRYPTUI_SELECT_LOCATION_COLUMN 0x00000010
50#define CRYPTUI_SELECT_EXPIRATION_COLUMN 0x00000020
51
52PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateFromStore(
53 HCERTSTORE hCertStore, HWND hwnd, LPCWSTR pwszTitle, LPCWSTR pwszDisplayString,
54 DWORD dwDontUseColumn, DWORD dwFlags, LPVOID pvReserved);
55
56/* Values for CRYPTUI_CERT_MGR_STRUCT's dwFlags */
57#define CRYPTUI_CERT_MGR_PUBLISHER_TAB 0x00000004
58#define CRYPTUI_CERT_MGR_TAB_MASK 0x0000000f
59#define CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG 0x00008000
60
61typedef struct _CRYPTUI_CERT_MGR_STRUCT
62{
63 DWORD dwSize;
64 HWND hwndParent;
65 DWORD dwFlags;
66 LPCWSTR pwszTitle;
67 LPCSTR pszInitUsageOID;
68} CRYPTUI_CERT_MGR_STRUCT, *PCRYPTUI_CERT_MGR_STRUCT;
69typedef const struct _CRYPTUI_CERT_MGR_STRUCT *PCCRYPTUI_CERT_MGR_STRUCT;
70
71BOOL WINAPI CryptUIDlgCertMgr(PCCRYPTUI_CERT_MGR_STRUCT pCryptUICertMgr);
72
73typedef BOOL (WINAPI *PFNCFILTERPROC)(PCCERT_CONTEXT pCertContext,
74 BOOL *pfInitialSelectedCert, void *pvCallbackData);
75
76typedef struct tagCRYPTUI_INITDIALOG_STRUCT
77{
78 LPARAM lParam;
79 PCCERT_CONTEXT pCertContext;
80} CRYPTUI_INITDIALOG_STRUCT, *PCRYPTUI_INITDIALOG_STRUCT;
81
82/* Values for CRYPTUI_VIEWCERTIFICATE_STRUCT's dwFlags */
83#define CRYPTUI_HIDE_HIERARCHYPAGE 0x00000001
84#define CRYPTUI_HIDE_DETAILPAGE 0x00000002
85#define CRYPTUI_DISABLE_EDITPROPERTIES 0x00000004
86#define CRYPTUI_ENABLE_EDITPROPERTIES 0x00000008
87#define CRYPTUI_DISABLE_ADDTOSTORE 0x00000010
88#define CRYPTUI_ENABLE_ADDTOSTORE 0x00000020
89#define CRYPTUI_ACCEPT_DECLINE_STYLE 0x00000040
90#define CRYPTUI_IGNORE_UNTRUSTED_ROOT 0x00000080
91#define CRYPTUI_DONT_OPEN_STORES 0x00000100
92#define CRYPTUI_ONLY_OPEN_ROOT_STORE 0x00000200
93#define CRYPTUI_WARN_UNTRUSTED_ROOT 0x00000400
94#define CRYPTUI_ENABLE_REVOCATION_CHECKING 0x00000800
95#define CRYPTUI_WARN_REMOTE_TRUST 0x00001000
96#define CRYPTUI_DISABLE_EXPORT 0x00002000
97#define CRYPTUI_ENABLE_REVOCATION_CHECK_END_CERT 0x00004000
98#define CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN 0x00008000
99#define CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT CRYPTUI_ENABLE_REVOCATION_CHECKING
100#define CRYPTUI_DISABLE_HTMLLINK 0x00010000
101#define CRYPTUI_DISABLE_ISSUERSTATEMENT 0x00020000
102
103typedef struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTA
104{
105 DWORD dwSize;
106 HWND hwndParent;
107 DWORD dwFlags;
108 LPCSTR szTitle;
109 PCCERT_CONTEXT pCertContext;
110 LPCSTR *rgszPurposes;
111 DWORD cPurposes;
112 union {
113 CRYPT_PROVIDER_DATA const *pCryptProviderData;
114 HANDLE hWVTStateData;
115 } DUMMYUNIONNAME;
116 BOOL fpCryptProviderDataTrustedUsage;
117 DWORD idxSigner;
118 DWORD idxCert;
119 BOOL fCounterSigner;
120 DWORD idxCounterSigner;
121 DWORD cStores;
122 HCERTSTORE *rghStores;
123 DWORD cPropSheetPages;
124 LPCPROPSHEETPAGEA rgPropSheetPages;
125 DWORD nStartPage;
126} CRYPTUI_VIEWCERTIFICATE_STRUCTA, *PCRYPTUI_VIEWCERTIFICATE_STRUCTA;
127typedef const CRYPTUI_VIEWCERTIFICATE_STRUCTA *PCCRYPTUI_VIEWCERTIFICATE_STRUCTA;
128
129typedef struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTW
130{
131 DWORD dwSize;
132 HWND hwndParent;
133 DWORD dwFlags;
134 LPCWSTR szTitle;
135 PCCERT_CONTEXT pCertContext;
136 LPCSTR *rgszPurposes;
137 DWORD cPurposes;
138 union {
139 CRYPT_PROVIDER_DATA const *pCryptProviderData;
140 HANDLE hWVTStateData;
141 } DUMMYUNIONNAME;
142 BOOL fpCryptProviderDataTrustedUsage;
143 DWORD idxSigner;
144 DWORD idxCert;
145 BOOL fCounterSigner;
146 DWORD idxCounterSigner;
147 DWORD cStores;
148 HCERTSTORE *rghStores;
149 DWORD cPropSheetPages;
150 LPCPROPSHEETPAGEW rgPropSheetPages;
151 DWORD nStartPage;
152} CRYPTUI_VIEWCERTIFICATE_STRUCTW, *PCRYPTUI_VIEWCERTIFICATE_STRUCTW;
153typedef const CRYPTUI_VIEWCERTIFICATE_STRUCTW *PCCRYPTUI_VIEWCERTIFICATE_STRUCTW;
154
155#define CRYPTUI_VIEWCERTIFICATE_STRUCT WINELIB_NAME_AW(CRYPTUI_VIEWCERTIFICATE_STRUCT)
156#define PCCRYPTUI_VIEWCERTIFICATE_STRUCT WINELIB_NAME_AW(PCCRYPTUI_VIEWCERTIFICATE_STRUCT)
157
158BOOL WINAPI CryptUIDlgViewCertificateA(
159 PCCRYPTUI_VIEWCERTIFICATE_STRUCTA pCertViewInfo, BOOL *pfPropertiesChanged);
160BOOL WINAPI CryptUIDlgViewCertificateW(
161 PCCRYPTUI_VIEWCERTIFICATE_STRUCTW pCertViewInfo, BOOL *pfPropertiesChanged);
162#define CryptUIDlgViewCertificate WINELIB_NAME_AW(CryptUIDlgViewCertificate)
163
164typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO
165{
166 DWORD dwSize;
167 GUID *pGuidSubject;
168 DWORD cbBlob;
169 BYTE *pbBlob;
170 LPCWSTR pwszDisplayName;
171} CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO, *PCRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO;
172typedef const CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO *
173 PCCRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO;
174
175typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO
176{
177 DWORD dwSize;
178 DWORD cCertStore;
179 HCERTSTORE *rghCertStore;
180 PFNCFILTERPROC pFilterCallback;
181 void *pvCallbackData;
182} CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO, *PCRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO;
183typedef const CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO *
184 PCCRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO;
185
186typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO
187{
188 DWORD dwSize;
189 LPWSTR pwszPvkFileName;
190 LPWSTR pwszProvName;
191 DWORD dwProvType;
192} CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO,
193 *PCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO;
194typedef const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO *
195 PCCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO;
196
197typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO
198{
199 DWORD dwSize;
200 LPWSTR pwszSigningCertFileName;
201 DWORD dwPvkChoice;
202 union {
203 PCCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO pPvkFileInfo;
204 PCRYPT_KEY_PROV_INFO pPvkProvInfo;
205 } DUMMYUNIONNAME;
206} CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO,
207 *PCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO;
208typedef const CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO *
209 PCCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO;
210
211typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO
212{
213 DWORD dwSize;
214 DWORD dwAttrFlags;
215 LPCWSTR pwszDescription;
216 LPCWSTR pwszMoreInfoLocation;
217 LPCSTR pszHashAlg;
218 LPCWSTR pwszSigningCertDisplayString;
219 HCERTSTORE hAdditionalCertStore;
220 PCRYPT_ATTRIBUTES psAuthenticated;
221 PCRYPT_ATTRIBUTES psUnauthenticated;
222} CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO,
223 *PCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO;
224typedef const CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO *
225 PCCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO;
226
227typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_INFO
228{
229 DWORD dwSize;
230 DWORD dwSubjectChoice;
231 union {
232 LPCWSTR pwszFileName;
233 PCCRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO pSignBlobInfo;
234 } DUMMYUNIONNAME1;
235 DWORD dwSigningCertChoice;
236 union {
237 PCCERT_CONTEXT pSigningCertContext;
238 PCCRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO pSigningCertStore;
239 PCCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO pSigningCertPvkInfo;
240 } DUMMYUNIONNAME2;
241 LPCWSTR pwszTimestampURL;
242 DWORD dwAdditionalCertChoice;
243 PCCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO pSignExtInfo;
244} CRYPTUI_WIZ_DIGITAL_SIGN_INFO, *PCRYPTUI_WIZ_DIGITAL_SIGN_INFO;
245typedef const CRYPTUI_WIZ_DIGITAL_SIGN_INFO *PCCRYPTUI_WIZ_DIGITAL_SIGN_INFO;
246
247typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT
248{
249 DWORD dwSize;
250 DWORD cbBlob;
251 BYTE *pbBlob;
252} CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT, *PCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT;
253
254/* Values for CryptUIWizDigitalSign's dwFlags */
255#define CRYPTUI_WIZ_NO_UI 0x00000001
256#define CRYPTUI_WIZ_DIGITAL_SIGN_EXCLUDE_PAGE_HASHES 0x00000002
257#define CRYPTUI_WIZ_DIGITAL_SIGN_INCLUDE_PAGE_HASHES 0x00000004
258
259BOOL WINAPI CryptUIWizDigitalSign(DWORD dwFlags, HWND hwndParent,
260 LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_DIGITAL_SIGN_INFO pDigitalSignInfo,
261 PCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT *ppSignContext);
262
263BOOL WINAPI CryptUIWizFreeDigitalSignContext(
264 PCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT pSignContext);
265
266/* Values for CRYPTUI_WIZ_EXPORT_INFO's dwSubjectChoice */
267#define CRYPTUI_WIZ_EXPORT_CERT_CONTEXT 1
268#define CRYPTUI_WIZ_EXPORT_CTL_CONTEXT 2
269#define CRYPTUI_WIZ_EXPORT_CRL_CONTEXT 3
270#define CRYPTUI_WIZ_EXPORT_CERT_STORE 4
271#define CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY 5
272#define CRYPTUI_WIZ_EXPORT_FORMAT_CRL 6
273#define CRYPTUI_WIZ_EXPORT_FORMAT_CTL 7
274
275typedef struct _CRYPTUI_WIZ_EXPORT_INFO
276{
277 DWORD dwSize;
278 LPCWSTR pwszExportFileName;
279 DWORD dwSubjectChoice;
280 union {
281 PCCERT_CONTEXT pCertContext;
282 PCCTL_CONTEXT pCTLContext;
283 PCCRL_CONTEXT pCRLContext;
284 HCERTSTORE hCertStore;
285 } DUMMYUNIONNAME;
286 DWORD cStores;
287 HCERTSTORE *rghStores;
288} CRYPTUI_WIZ_EXPORT_INFO, *PCRYPTUI_WIZ_EXPORT_INFO;
289typedef const CRYPTUI_WIZ_EXPORT_INFO *PCCRYPTUI_WIZ_EXPORT_INFO;
290
291/* Values for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO's dwExportFormat */
292#define CRYPTUI_WIZ_EXPORT_FORMAT_DER 1
293#define CRYPTUI_WIZ_EXPORT_FORMAT_PFX 2
294#define CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7 3
295#define CRYPTUI_WIZ_EXPORT_FORMAT_BASE64 4
296#define CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE 5
297
298typedef struct _CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO
299{
300 DWORD dwSize;
301 DWORD dwExportFormat;
302 BOOL fExportChain;
303 BOOL fExportPrivateKeys;
304 LPCWSTR pwszPassword;
305 BOOL fStrongEncryption;
306} CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO, *PCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO;
307typedef const CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO *
308 PCCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO;
309
310BOOL WINAPI CryptUIWizExport(DWORD dwFlags, HWND hwndParent,
311 LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_EXPORT_INFO pExportInfo, void *pvoid);
312
313/* Values for CRYPTUI_WIZ_IMPORT_SRC_INFO's dwSubjectChoice */
314#define CRYPTUI_WIZ_IMPORT_SUBJECT_FILE 1
315#define CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT 2
316#define CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT 3
317#define CRYPTUI_WIZ_IMPORT_SUBJECT_CRL_CONTEXT 4
318#define CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE 5
319
320typedef struct _CRYPTUI_WIZ_IMPORT_SUBJECT_INFO
321{
322 DWORD dwSize;
323 DWORD dwSubjectChoice;
324 union {
325 LPCWSTR pwszFileName;
326 PCCERT_CONTEXT pCertContext;
327 PCCTL_CONTEXT pCTLContext;
328 PCCRL_CONTEXT pCRLContext;
329 HCERTSTORE hCertStore;
330 } DUMMYUNIONNAME;
331 DWORD dwFlags;
332 LPCWSTR pwszPassword;
333} CRYPTUI_WIZ_IMPORT_SRC_INFO, *PCRYPTUI_WIZ_IMPORT_SRC_INFO;
334typedef const CRYPTUI_WIZ_IMPORT_SRC_INFO *PCCRYPTUI_WIZ_IMPORT_SRC_INFO;
335
336/* Values for CryptUIWizImport's dwFlags */
337#define CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE 0x00010000
338#define CRYPTUI_WIZ_IMPORT_ALLOW_CERT 0x00020000
339#define CRYPTUI_WIZ_IMPORT_ALLOW_CRL 0x00040000
340#define CRYPTUI_WIZ_IMPORT_ALLOW_CTL 0x00080000
341#define CRYPTUI_WIZ_IMPORT_TO_LOCALMACHINE 0x00100000
342#define CRYPTUI_WIZ_IMPORT_TO_CURRENTUSER 0x00200000
343#define CRYPTUI_WIZ_IMPORT_REMOTE_DEST_STORE 0x00400000
344
345BOOL WINAPI CryptUIWizImport(DWORD dwFlags, HWND hwndParent,
346 LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_IMPORT_SRC_INFO pImportSrc,
347 HCERTSTORE hDestCertStore);
348
349/* Definitions missing from PSDK's cryptuiapi.h, but documented on MSDN. */
350typedef BOOL (WINAPI *PFNCCERTDISPLAYPROC)(PCCERT_CONTEXT pCertContext,
351 HWND hWndSelCertDlg, void *pvCallbackData);
352
353/* Values for CRYPTUI_SELECTCERTIFICATE_STRUCT's dwFlags */
354#define CRYPTUI_SELECTCERT_MULTISELECT 0x00000001
355
356typedef struct _CRYPTUI_SELECTCERTIFICATE_STRUCTA
357{
358 DWORD dwSize;
359 HWND hwndParent;
360 DWORD dwFlags;
361 LPCWSTR szTitle;
362 DWORD dwDontUseColumn;
363 LPCWSTR szDisplayString;
364 PFNCFILTERPROC pFilterCallback;
365 PFNCCERTDISPLAYPROC pDisplayCallback;
366 void *pvCallbackData;
367 DWORD cStores;
368 HCERTSTORE *rghStores;
369 DWORD cPropSheetPages;
370 LPCPROPSHEETPAGEW rgPropSheetPages;
371 HCERTSTORE hSelectedCertStore;
372} CRYPTUI_SELECTCERTIFICATE_STRUCTA, *PCRYPTUI_SELECTCERTIFICATE_STRUCTA;
373typedef const CRYPTUI_SELECTCERTIFICATE_STRUCTA *
374 PCCRYPTUI_SELECTCERTIFICATE_STRUCTA;
375
376typedef struct _CRYPTUI_SELECTCERTIFICATE_STRUCTW
377{
378 DWORD dwSize;
379 HWND hwndParent;
380 DWORD dwFlags;
381 LPCWSTR szTitle;
382 DWORD dwDontUseColumn;
383 LPCWSTR szDisplayString;
384 PFNCFILTERPROC pFilterCallback;
385 PFNCCERTDISPLAYPROC pDisplayCallback;
386 void *pvCallbackData;
387 DWORD cStores;
388 HCERTSTORE *rghStores;
389 DWORD cPropSheetPages;
390 LPCPROPSHEETPAGEW rgPropSheetPages;
391 HCERTSTORE hSelectedCertStore;
392} CRYPTUI_SELECTCERTIFICATE_STRUCTW, *PCRYPTUI_SELECTCERTIFICATE_STRUCTW;
393typedef const CRYPTUI_SELECTCERTIFICATE_STRUCTW *
394 PCCRYPTUI_SELECTCERTIFICATE_STRUCTW;
395
396PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateA(
397 PCCRYPTUI_SELECTCERTIFICATE_STRUCTA pcsc);
398PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateW(
399 PCCRYPTUI_SELECTCERTIFICATE_STRUCTW pcsc);
400
401typedef struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTA
402{
403 DWORD dwSize;
404 HWND hwndParent;
405 DWORD dwFlags;
406 LPCSTR szTitle;
407 CMSG_SIGNER_INFO *pSignerInfo;
408 HCRYPTMSG hMsg;
409 LPCSTR pszOID;
410 DWORD_PTR dwReserved;
411 DWORD cStores;
412 HCERTSTORE *rghStores;
413 DWORD cPropSheetPages;
414 LPCPROPSHEETPAGEA rgPropSheetPages;
415} CRYPTUI_VIEWSIGNERINFO_STRUCTA, *PCRYPTUI_VIEWSIGNERINFO_STRUCTA;
416
417typedef struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTW
418{
419 DWORD dwSize;
420 HWND hwndParent;
421 DWORD dwFlags;
422 LPCWSTR szTitle;
423 CMSG_SIGNER_INFO *pSignerInfo;
424 HCRYPTMSG hMsg;
425 LPCSTR pszOID;
426 DWORD_PTR dwReserved;
427 DWORD cStores;
428 HCERTSTORE *rghStores;
429 DWORD cPropSheetPages;
430 LPCPROPSHEETPAGEW rgPropSheetPages;
431} CRYPTUI_VIEWSIGNERINFO_STRUCTW, *PCRYPTUI_VIEWSIGNERINFO_STRUCTW;
432
433BOOL WINAPI CryptUIDlgViewSignerInfoA(CRYPTUI_VIEWSIGNERINFO_STRUCTA *pcvsi);
434BOOL WINAPI CryptUIDlgViewSignerInfoW(CRYPTUI_VIEWSIGNERINFO_STRUCTW *pcvsi);
435
436#include <poppack.h>
437
438#ifdef __cplusplus
439}
440#endif
441
442#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette