cryptdlg.h revision 4b9d6701570cb98fd36e209314239d104ec584d3
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * Copyright (C) 2008 Juan Lang
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * This library is free software; you can redistribute it and/or
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * modify it under the terms of the GNU Lesser General Public
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * License as published by the Free Software Foundation; either
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * version 2.1 of the License, or (at your option) any later version.
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * This library is distributed in the hope that it will be useful,
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * but WITHOUT ANY WARRANTY; without even the implied warranty of
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * Lesser General Public License for more details.
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * You should have received a copy of the GNU Lesser General Public
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * License along with this library; if not, write to the Free Software
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * a choice of LGPL license versions is made available with the language indicating
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * that LGPLv2 or any later version may be used, or where a choice of which version
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * of the LGPL is applied is otherwise unspecified.
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings#define POLICY_IGNORE_NON_CRITICAL_BC 0x00000001
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings#define ACTION_REVOCATION_DEFAULT_ONLINE 0x00010000
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings#define ACTION_REVOCATION_DEFAULT_CACHE 0x00020000
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbingstypedef BOOL (WINAPI *PFNCMFILTERPROC)(PCCERT_CONTEXT, DWORD, DWORD, DWORD);
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbingstypedef UINT (WINAPI *PFNCMHOOKPROC)(HWND, UINT, WPARAM, LPARAM);
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbingstypedef struct tagCSSA
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings} CERT_SELECT_STRUCT_A, *PCERT_SELECT_STRUCT_A;
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbingstypedef struct tagCSSW
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings} CERT_SELECT_STRUCT_W, *PCERT_SELECT_STRUCT_W;
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings#define CERT_SELECT_STRUCT WINELIB_NAME_AW(CERT_SELECT_STRUCT_)
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken StubbingsBOOL WINAPI CertSelectCertificateA(PCERT_SELECT_STRUCT_A pCertSelectInfo);
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken StubbingsBOOL WINAPI CertSelectCertificateW(PCERT_SELECT_STRUCT_W pCertSelectInfo);
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings#define CertSelectCertificate WINELIB_NAME_AW(CertSelectCertificate)
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings /* FIXME: PSDK declares arrayPropSheetPages as a PROPSHEETPAGE *, which we
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * don't allow in our own headers. It's probably wrong, but we're not
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings * compatible.
449854c2a07b50ea64d9d6a8b03d18d4afeeee43Ken Stubbings} CERT_VIEWPROPERTIES_STRUCT_A, *PCERT_VIEWPROPERTIES_STRUCT_A;
#define PCERT_VIEWPROPERTIES_STRUCT \
typedef struct tagCMOID
typedef struct tagCMFLTR
#define CERT_CERTIFICATE_ACTION_VERIFY \
#define szCERT_CERTIFICATE_ACTION_VERIFY \
typedef struct _CERT_VERIFY_CERTIFICATE_TRUST
typedef struct _CTL_MODIFY_REQUEST
#ifdef __cplusplus