/*
* Copyright (C) 2008 Juan Lang
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef __CRYPTUIAPI_H__
#define __CRYPTUIAPI_H__
#include <wintrust.h>
#include <wincrypt.h>
#include <prsht.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <pshpack8.h>
/* Values for dwDontUseColumn */
/* Values for CRYPTUI_CERT_MGR_STRUCT's dwFlags */
typedef struct _CRYPTUI_CERT_MGR_STRUCT
{
typedef struct tagCRYPTUI_INITDIALOG_STRUCT
{
/* Values for CRYPTUI_VIEWCERTIFICATE_STRUCT's dwFlags */
typedef struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTA
{
union {
typedef struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTW
{
union {
typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO
{
typedef const CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO *
typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO
{
void *pvCallbackData;
typedef const CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO *
typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO
{
typedef const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO *
typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO
{
union {
typedef const CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO *
typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO
{
typedef const CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO *
typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_INFO
{
union {
union {
typedef struct _CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT
{
/* Values for CryptUIWizDigitalSign's dwFlags */
/* Values for CRYPTUI_WIZ_EXPORT_INFO's dwSubjectChoice */
typedef struct _CRYPTUI_WIZ_EXPORT_INFO
{
union {
/* Values for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO's dwExportFormat */
typedef struct _CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO
{
typedef const CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO *
/* Values for CRYPTUI_WIZ_IMPORT_SRC_INFO's dwSubjectChoice */
typedef struct _CRYPTUI_WIZ_IMPORT_SUBJECT_INFO
{
union {
/* Values for CryptUIWizImport's dwFlags */
/* Definitions missing from PSDK's cryptuiapi.h, but documented on MSDN. */
/* Values for CRYPTUI_SELECTCERTIFICATE_STRUCT's dwFlags */
typedef struct _CRYPTUI_SELECTCERTIFICATE_STRUCTA
{
void *pvCallbackData;
typedef const CRYPTUI_SELECTCERTIFICATE_STRUCTA *
typedef struct _CRYPTUI_SELECTCERTIFICATE_STRUCTW
{
void *pvCallbackData;
typedef const CRYPTUI_SELECTCERTIFICATE_STRUCTW *
typedef struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTA
{
typedef struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTW
{
#include <poppack.h>
#ifdef __cplusplus
}
#endif
#endif