Author: cwittich
Date: Tue Apr 17 17:02:53 2007
New Revision: 26371
URL:
http://svn.reactos.org/svn/reactos?rev=26371&view=rev
Log:
add cryptui.dll (stubbed) needed by SmartFTP
Added:
trunk/reactos/dll/win32/cryptui/
trunk/reactos/dll/win32/cryptui/cryptui.c
trunk/reactos/dll/win32/cryptui/cryptui.def
trunk/reactos/dll/win32/cryptui/cryptui.rbuild
trunk/reactos/include/psdk/cryptuiapi.h
Modified:
trunk/reactos/baseaddress.rbuild
trunk/reactos/dll/win32/win32.rbuild
Modified: trunk/reactos/baseaddress.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/baseaddress.rbuild?rev=263…
==============================================================================
--- trunk/reactos/baseaddress.rbuild (original)
+++ trunk/reactos/baseaddress.rbuild Tue Apr 17 17:02:53 2007
@@ -61,6 +61,7 @@
<property name="BASEADDRESS_NETAPI32" value="0x71c00000" />
<property name="BASEADDRESS_DPLAY" value="0x71e80000" />
<property name="BASEADDRESS_SECURITY" value="0x71f10000" />
+ <property name="BASEADDRESS_CRYPTUI" value="0x720D0000" />
<property name="BASEADDRESS_WINFAX" value="0x722C0000" />
<property name="BASEADDRESS_WINSCARD" value="0x723d0000" />
<property name="BASEADDRESS_DEVMGR" value="0x72a90000" />
Added: trunk/reactos/dll/win32/cryptui/cryptui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cryptui/cryptui.…
==============================================================================
--- trunk/reactos/dll/win32/cryptui/cryptui.c (added)
+++ trunk/reactos/dll/win32/cryptui/cryptui.c Tue Apr 17 17:02:53 2007
@@ -1,0 +1,43 @@
+/* $Id: dllmain.c 21873 2006-05-10 08:41:27Z cwittich $
+*
+* COPYRIGHT: See COPYING in the top level directory
+* PROJECT: ReactOS system libraries
+* FILE: dll/win32/crypui/cryptui.c
+* PURPOSE: Library main function
+* PROGRAMMER: Christoph von Wittich
+* UPDATE HISTORY:
+*
+*/
+
+#include <windows.h>
+#include <cryptuiapi.h>
+
+#define NDEBUG
+#include <debug.h>
+
+INT STDCALL
+DllMain(PVOID hinstDll,
+ ULONG dwReason,
+ PVOID reserved)
+{
+ switch (dwReason)
+ {
+ case DLL_PROCESS_ATTACH:
+ break;
+
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+ return TRUE;
+}
+
+BOOL
+WINAPI
+CryptUIDlgCertMgr(PCCRYPTUI_CERT_MGR_STRUCT pCryptUICertMgr)
+{
+ UNIMPLEMENTED
+ return FALSE;
+}
+
+
+/* EOF */
Added: trunk/reactos/dll/win32/cryptui/cryptui.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cryptui/cryptui.…
==============================================================================
--- trunk/reactos/dll/win32/cryptui/cryptui.def (added)
+++ trunk/reactos/dll/win32/cryptui/cryptui.def Tue Apr 17 17:02:53 2007
@@ -1,0 +1,10 @@
+; $Id: advapi32.def 24529 2006-10-15 19:58:57Z weiden $
+;
+; cryptui.def
+;
+; ReactOS Operating System
+;
+LIBRARY cryptui.dll
+EXPORTS
+CryptUIDlgCertMgr@4
+; EOF
Added: trunk/reactos/dll/win32/cryptui/cryptui.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cryptui/cryptui.…
==============================================================================
--- trunk/reactos/dll/win32/cryptui/cryptui.rbuild (added)
+++ trunk/reactos/dll/win32/cryptui/cryptui.rbuild Tue Apr 17 17:02:53 2007
@@ -1,0 +1,13 @@
+<module name="cryptui" type="win32dll"
baseaddress="${BASEADDRESS_CRYPTUI}" installbase="system32"
installname="cryptui.dll" allowwarnings="true">
+ <importlibrary definition="cryptui.def" />
+ <include base="cryptui">.</include>
+ <define name="__REACTOS__" />
+ <define name="__USE_W32API" />
+ <define name="_WIN32_IE">0x600</define>
+ <define name="_WIN32_WINNT">0x501</define>
+ <define name="WINVER">0x501</define>
+ <library>advapi32</library>
+ <library>kernel32</library>
+ <library>ntdll</library>
+ <file>cryptui.c</file>
+</module>
Modified: trunk/reactos/dll/win32/win32.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/win32.rbuild?rev…
==============================================================================
--- trunk/reactos/dll/win32/win32.rbuild (original)
+++ trunk/reactos/dll/win32/win32.rbuild Tue Apr 17 17:02:53 2007
@@ -49,6 +49,9 @@
<directory name="cryptdll">
<xi:include href="cryptdll/cryptdll.rbuild" />
</directory>
+<directory name="cryptui">
+ <xi:include href="cryptui/cryptui.rbuild" />
+</directory>
<directory name="dbghelp">
<xi:include href="dbghelp/dbghelp.rbuild" />
</directory>
Added: trunk/reactos/include/psdk/cryptuiapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/cryptuiapi.h?…
==============================================================================
--- trunk/reactos/include/psdk/cryptuiapi.h (added)
+++ trunk/reactos/include/psdk/cryptuiapi.h Tue Apr 17 17:02:53 2007
@@ -1,0 +1,13 @@
+
+typedef struct _CRYPTUI_CERT_MGR_STRUCT {
+ DWORD dwSize;
+ HWND hwndParent;
+ DWORD dwFlags;
+ LPCWSTR pwszTitle;
+ LPCSTR pszInitUsageOID;
+} CRYPTUI_CERT_MGR_STRUCT,
+ *PCRYPTUI_CERT_MGR_STRUCT;
+
+typedef const CRYPTUI_CERT_MGR_STRUCT *PCCRYPTUI_CERT_MGR_STRUCT;
+
+BOOL WINAPI CryptUIDlgCertMgr(PCCRYPTUI_CERT_MGR_STRUCT pCryptUICertMgr);