mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +00:00
[WINTRUST] Sync with Wine Staging 3.3. CORE-14434
This commit is contained in:
parent
ba5ae4df7d
commit
95d5c4bed3
9 changed files with 101 additions and 34 deletions
|
@ -9,7 +9,7 @@ list(APPEND SOURCE
|
|||
register.c
|
||||
softpub.c
|
||||
wintrust_main.c
|
||||
wintrust_priv.h
|
||||
precomp.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/wintrust_stubs.c)
|
||||
|
||||
add_library(wintrust SHARED
|
||||
|
@ -23,5 +23,5 @@ target_link_libraries(wintrust wine ${PSEH_LIB})
|
|||
#add_delay_importlibs(wintrust cryptui imagehlp)
|
||||
add_delay_importlibs(wintrust cryptui)
|
||||
add_importlibs(wintrust imagehlp crypt32 user32 advapi32 msvcrt kernel32 ntdll)
|
||||
add_pch(wintrust wintrust_priv.h SOURCE)
|
||||
add_pch(wintrust precomp.h SOURCE)
|
||||
add_cd_file(TARGET wintrust DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -18,11 +18,22 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "wintrust_priv.h"
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <snmp.h>
|
||||
#include <wine/exception.h>
|
||||
#define NONAMELESSUNION
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
#include "wincrypt.h"
|
||||
#include "wintrust.h"
|
||||
#include "snmp.h"
|
||||
#include "winternl.h"
|
||||
#include "wine/debug.h"
|
||||
#include "wine/exception.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(cryptasn);
|
||||
|
||||
|
|
|
@ -22,9 +22,18 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "wintrust_priv.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wintrust.h"
|
||||
#include "mscat.h"
|
||||
#include "mssip.h"
|
||||
#include "imagehlp.h"
|
||||
#include "winternl.h"
|
||||
|
||||
#include <imagehlp.h>
|
||||
#include "wine/debug.h"
|
||||
#include "wine/unicode.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
|
||||
|
||||
|
|
27
dll/win32/wintrust/precomp.h
Normal file
27
dll/win32/wintrust/precomp.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
#ifndef _WINTRUST_PRECOMP_H
|
||||
#define _WINTRUST_PRECOMP_H
|
||||
|
||||
#include <wine/config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winuser.h>
|
||||
#include <winreg.h>
|
||||
#include <winternl.h>
|
||||
#include <softpub.h>
|
||||
#include <mscat.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
#include <wine/unicode.h>
|
||||
|
||||
#include "wintrust_priv.h"
|
||||
|
||||
#endif /* !_WINTRUST_PRECOMP_H */
|
|
@ -18,7 +18,22 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
#include "winuser.h"
|
||||
#include "winreg.h"
|
||||
#include "winnls.h"
|
||||
#include "objbase.h"
|
||||
|
||||
#include "guiddef.h"
|
||||
#include "wintrust.h"
|
||||
#include "softpub.h"
|
||||
#include "mssip.h"
|
||||
#include "wintrust_priv.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
|
||||
|
||||
|
|
|
@ -16,8 +16,18 @@
|
|||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "wintrust_priv.h"
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winternl.h"
|
||||
#include "wintrust.h"
|
||||
#include "mssip.h"
|
||||
#include "softpub.h"
|
||||
#include "winnls.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
|
||||
|
||||
|
|
|
@ -17,10 +17,26 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "wintrust_priv.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <cryptdlg.h>
|
||||
#include <cryptuiapi.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
#include "winreg.h"
|
||||
#include "guiddef.h"
|
||||
#include "wintrust.h"
|
||||
#include "softpub.h"
|
||||
#include "mscat.h"
|
||||
#include "objbase.h"
|
||||
#include "winuser.h"
|
||||
#include "cryptdlg.h"
|
||||
#include "cryptuiapi.h"
|
||||
#include "wintrust_priv.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
|
||||
|
||||
|
|
|
@ -15,30 +15,9 @@
|
|||
* 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 __WINTRUST_PRIV_H__
|
||||
#define __WINTRUST_PRIV_H__
|
||||
|
||||
#include <wine/config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winuser.h>
|
||||
#include <winreg.h>
|
||||
#include <winternl.h>
|
||||
#include <softpub.h>
|
||||
#include <mscat.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
#include <wine/unicode.h>
|
||||
|
||||
void * WINAPI WINTRUST_Alloc(DWORD cb) __WINE_ALLOC_SIZE(1) DECLSPEC_HIDDEN;
|
||||
void WINAPI WINTRUST_Free(void *p) DECLSPEC_HIDDEN;
|
||||
BOOL WINAPI WINTRUST_AddStore(CRYPT_PROVIDER_DATA *data, HCERTSTORE store) DECLSPEC_HIDDEN;
|
||||
|
@ -49,4 +28,4 @@ BOOL WINAPI WINTRUST_AddCert(CRYPT_PROVIDER_DATA *data, DWORD idxSigner,
|
|||
BOOL WINAPI WINTRUST_AddPrivData(CRYPT_PROVIDER_DATA *data,
|
||||
CRYPT_PROVIDER_PRIVDATA *pPrivData2Add) DECLSPEC_HIDDEN;
|
||||
|
||||
#endif /* __WINTRUST_PRIV_H__ */
|
||||
#endif /* ndef __WINTRUST_PRIV_H__ */
|
||||
|
|
|
@ -206,7 +206,7 @@ reactos/dll/win32/winmm # Forked at Wine-20050628
|
|||
reactos/dll/win32/winmm/midimap # Forked at Wine-20050628
|
||||
reactos/dll/win32/winmm/wavemap # Forked at Wine-20050628
|
||||
reactos/dll/win32/winscard # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/wintrust # Synced to WineStaging-2.16
|
||||
reactos/dll/win32/wintrust # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/wldap32 # Synced to Wine-3.0
|
||||
reactos/dll/win32/wmi # Synced to WineStaging-2.9
|
||||
reactos/dll/win32/wmiutils # Synced to WineStaging-2.9
|
||||
|
|
Loading…
Reference in a new issue