VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/cryptuiapi.h@ 69505

Last change on this file since 69505 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 16.6 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 * Oracle 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, Oracle 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;
253typedef const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT *PCCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT;
254
255/* Values for CryptUIWizDigitalSign's dwFlags */
256#define CRYPTUI_WIZ_NO_UI 0x00000001
257#define CRYPTUI_WIZ_DIGITAL_SIGN_EXCLUDE_PAGE_HASHES 0x00000002
258#define CRYPTUI_WIZ_DIGITAL_SIGN_INCLUDE_PAGE_HASHES 0x00000004
259
260BOOL WINAPI CryptUIWizDigitalSign(DWORD dwFlags, HWND hwndParent,
261 LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_DIGITAL_SIGN_INFO pDigitalSignInfo,
262 PCCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT *ppSignContext);
263
264BOOL WINAPI CryptUIWizFreeDigitalSignContext(
265 PCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT pSignContext);
266
267/* Values for CRYPTUI_WIZ_EXPORT_INFO's dwSubjectChoice */
268#define CRYPTUI_WIZ_EXPORT_CERT_CONTEXT 1
269#define CRYPTUI_WIZ_EXPORT_CTL_CONTEXT 2
270#define CRYPTUI_WIZ_EXPORT_CRL_CONTEXT 3
271#define CRYPTUI_WIZ_EXPORT_CERT_STORE 4
272#define CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY 5
273#define CRYPTUI_WIZ_EXPORT_FORMAT_CRL 6
274#define CRYPTUI_WIZ_EXPORT_FORMAT_CTL 7
275
276typedef struct _CRYPTUI_WIZ_EXPORT_INFO
277{
278 DWORD dwSize;
279 LPCWSTR pwszExportFileName;
280 DWORD dwSubjectChoice;
281 union {
282 PCCERT_CONTEXT pCertContext;
283 PCCTL_CONTEXT pCTLContext;
284 PCCRL_CONTEXT pCRLContext;
285 HCERTSTORE hCertStore;
286 } DUMMYUNIONNAME;
287 DWORD cStores;
288 HCERTSTORE *rghStores;
289} CRYPTUI_WIZ_EXPORT_INFO, *PCRYPTUI_WIZ_EXPORT_INFO;
290typedef const CRYPTUI_WIZ_EXPORT_INFO *PCCRYPTUI_WIZ_EXPORT_INFO;
291
292/* Values for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO's dwExportFormat */
293#define CRYPTUI_WIZ_EXPORT_FORMAT_DER 1
294#define CRYPTUI_WIZ_EXPORT_FORMAT_PFX 2
295#define CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7 3
296#define CRYPTUI_WIZ_EXPORT_FORMAT_BASE64 4
297#define CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE 5
298
299typedef struct _CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO
300{
301 DWORD dwSize;
302 DWORD dwExportFormat;
303 BOOL fExportChain;
304 BOOL fExportPrivateKeys;
305 LPCWSTR pwszPassword;
306 BOOL fStrongEncryption;
307} CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO, *PCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO;
308typedef const CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO *
309 PCCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO;
310
311BOOL WINAPI CryptUIWizExport(DWORD dwFlags, HWND hwndParent,
312 LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_EXPORT_INFO pExportInfo, void *pvoid);
313
314/* Values for CRYPTUI_WIZ_IMPORT_SRC_INFO's dwSubjectChoice */
315#define CRYPTUI_WIZ_IMPORT_SUBJECT_FILE 1
316#define CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT 2
317#define CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT 3
318#define CRYPTUI_WIZ_IMPORT_SUBJECT_CRL_CONTEXT 4
319#define CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE 5
320
321typedef struct _CRYPTUI_WIZ_IMPORT_SUBJECT_INFO
322{
323 DWORD dwSize;
324 DWORD dwSubjectChoice;
325 union {
326 LPCWSTR pwszFileName;
327 PCCERT_CONTEXT pCertContext;
328 PCCTL_CONTEXT pCTLContext;
329 PCCRL_CONTEXT pCRLContext;
330 HCERTSTORE hCertStore;
331 } DUMMYUNIONNAME;
332 DWORD dwFlags;
333 LPCWSTR pwszPassword;
334} CRYPTUI_WIZ_IMPORT_SRC_INFO, *PCRYPTUI_WIZ_IMPORT_SRC_INFO;
335typedef const CRYPTUI_WIZ_IMPORT_SRC_INFO *PCCRYPTUI_WIZ_IMPORT_SRC_INFO;
336
337/* Values for CryptUIWizImport's dwFlags */
338#define CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE 0x00010000
339#define CRYPTUI_WIZ_IMPORT_ALLOW_CERT 0x00020000
340#define CRYPTUI_WIZ_IMPORT_ALLOW_CRL 0x00040000
341#define CRYPTUI_WIZ_IMPORT_ALLOW_CTL 0x00080000
342#define CRYPTUI_WIZ_IMPORT_TO_LOCALMACHINE 0x00100000
343#define CRYPTUI_WIZ_IMPORT_TO_CURRENTUSER 0x00200000
344#define CRYPTUI_WIZ_IMPORT_REMOTE_DEST_STORE 0x00400000
345
346BOOL WINAPI CryptUIWizImport(DWORD dwFlags, HWND hwndParent,
347 LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_IMPORT_SRC_INFO pImportSrc,
348 HCERTSTORE hDestCertStore);
349
350/* Definitions missing from PSDK's cryptuiapi.h, but documented on MSDN. */
351typedef BOOL (WINAPI *PFNCCERTDISPLAYPROC)(PCCERT_CONTEXT pCertContext,
352 HWND hWndSelCertDlg, void *pvCallbackData);
353
354/* Values for CRYPTUI_SELECTCERTIFICATE_STRUCT's dwFlags */
355#define CRYPTUI_SELECTCERT_MULTISELECT 0x00000001
356
357typedef struct _CRYPTUI_SELECTCERTIFICATE_STRUCTA
358{
359 DWORD dwSize;
360 HWND hwndParent;
361 DWORD dwFlags;
362 LPCSTR szTitle;
363 DWORD dwDontUseColumn;
364 LPCSTR szDisplayString;
365 PFNCFILTERPROC pFilterCallback;
366 PFNCCERTDISPLAYPROC pDisplayCallback;
367 void *pvCallbackData;
368 DWORD cDisplayStores;
369 HCERTSTORE *rghDisplayStores;
370 DWORD cStores;
371 HCERTSTORE *rghStores;
372 DWORD cPropSheetPages;
373 LPCPROPSHEETPAGEA rgPropSheetPages;
374 HCERTSTORE hSelectedCertStore;
375} CRYPTUI_SELECTCERTIFICATE_STRUCTA, *PCRYPTUI_SELECTCERTIFICATE_STRUCTA;
376typedef const CRYPTUI_SELECTCERTIFICATE_STRUCTA *
377 PCCRYPTUI_SELECTCERTIFICATE_STRUCTA;
378
379typedef struct _CRYPTUI_SELECTCERTIFICATE_STRUCTW
380{
381 DWORD dwSize;
382 HWND hwndParent;
383 DWORD dwFlags;
384 LPCWSTR szTitle;
385 DWORD dwDontUseColumn;
386 LPCWSTR szDisplayString;
387 PFNCFILTERPROC pFilterCallback;
388 PFNCCERTDISPLAYPROC pDisplayCallback;
389 void *pvCallbackData;
390 DWORD cDisplayStores;
391 HCERTSTORE *rghDisplayStores;
392 DWORD cStores;
393 HCERTSTORE *rghStores;
394 DWORD cPropSheetPages;
395 LPCPROPSHEETPAGEW rgPropSheetPages;
396 HCERTSTORE hSelectedCertStore;
397} CRYPTUI_SELECTCERTIFICATE_STRUCTW, *PCRYPTUI_SELECTCERTIFICATE_STRUCTW;
398typedef const CRYPTUI_SELECTCERTIFICATE_STRUCTW *
399 PCCRYPTUI_SELECTCERTIFICATE_STRUCTW;
400
401PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateA(
402 PCCRYPTUI_SELECTCERTIFICATE_STRUCTA pcsc);
403PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateW(
404 PCCRYPTUI_SELECTCERTIFICATE_STRUCTW pcsc);
405
406typedef struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTA
407{
408 DWORD dwSize;
409 HWND hwndParent;
410 DWORD dwFlags;
411 LPCSTR szTitle;
412 CMSG_SIGNER_INFO *pSignerInfo;
413 HCRYPTMSG hMsg;
414 LPCSTR pszOID;
415 DWORD_PTR dwReserved;
416 DWORD cStores;
417 HCERTSTORE *rghStores;
418 DWORD cPropSheetPages;
419 LPCPROPSHEETPAGEA rgPropSheetPages;
420} CRYPTUI_VIEWSIGNERINFO_STRUCTA, *PCRYPTUI_VIEWSIGNERINFO_STRUCTA;
421
422typedef struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTW
423{
424 DWORD dwSize;
425 HWND hwndParent;
426 DWORD dwFlags;
427 LPCWSTR szTitle;
428 CMSG_SIGNER_INFO *pSignerInfo;
429 HCRYPTMSG hMsg;
430 LPCSTR pszOID;
431 DWORD_PTR dwReserved;
432 DWORD cStores;
433 HCERTSTORE *rghStores;
434 DWORD cPropSheetPages;
435 LPCPROPSHEETPAGEW rgPropSheetPages;
436} CRYPTUI_VIEWSIGNERINFO_STRUCTW, *PCRYPTUI_VIEWSIGNERINFO_STRUCTW;
437
438BOOL WINAPI CryptUIDlgViewSignerInfoA(CRYPTUI_VIEWSIGNERINFO_STRUCTA *pcvsi);
439BOOL WINAPI CryptUIDlgViewSignerInfoW(CRYPTUI_VIEWSIGNERINFO_STRUCTW *pcvsi);
440
441#include <poppack.h>
442
443#ifdef __cplusplus
444}
445#endif
446
447#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