Juan Lang : cryptui: Add header.

Alexandre Julliard julliard at winehq.org
Mon Jun 30 08:26:52 CDT 2008


Module: wine
Branch: master
Commit: 183f27b0c4fbfa8c6a3840e4f318a3e277b9b5a3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=183f27b0c4fbfa8c6a3840e4f318a3e277b9b5a3

Author: Juan Lang <juan.lang at gmail.com>
Date:   Sat Jun 28 09:38:14 2008 -0700

cryptui: Add header.

---

 include/Makefile.in  |    1 +
 include/cryptuiapi.h |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/include/Makefile.in b/include/Makefile.in
index 54747a6..144091a 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -106,6 +106,7 @@ SRCDIR_INCLUDES = \
 	cor.h \
 	corerror.h \
 	cpl.h \
+	cryptuiapi.h \
 	custcntl.h \
 	cvconst.h \
 	d3d.h \
diff --git a/include/cryptuiapi.h b/include/cryptuiapi.h
new file mode 100644
index 0000000..1065d08
--- /dev/null
+++ b/include/cryptuiapi.h
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2008 Juan Lang
+ *
+ * This library is free software; you can redistribute it and/or
+ * 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
+ */
+#ifndef __CRYPTUIAPI_H__
+#define __CRYPTUIAPI_H__
+
+#include <wintrust.h>
+#include <wincrypt.h>
+#include <prsht.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <pshpack8.h>
+
+BOOL WINAPI CryptUIDlgViewContext(DWORD dwContextType, LPVOID pvContext,
+ HWND hwnd, LPCWSTR pwszTitle, DWORD dwFlags, LPVOID pvReserved);
+
+/* Values for dwDontUseColumn */
+#define CRYPTUI_SELECT_ISSUEDTO_COLUMN     0x00000001
+#define CRYPTUI_SELECT_ISSUEDBY_COLUMN     0x00000002
+#define CRYPTUI_SELECT_INTENDEDUSE_COLUMN  0x00000004
+#define CRYPTUI_SELECT_FRIENDLYNAME_COLUMN 0x00000008
+#define CRYPTUI_SELECT_LOCATION_COLUMN     0x00000010
+#define CRYPTUI_SELECT_EXPIRATION_COLUMN   0x00000020
+
+PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateFromStore(
+ HCERTSTORE hCertStore, HWND hwnd, LPCWSTR pwszTitle, LPCWSTR pwszDisplayString,
+ DWORD dwDontUseColumn, DWORD dwFlags, LPVOID pvReserved);
+
+#include <poppack.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif




More information about the wine-cvs mailing list