mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
Wintrust lib stub (not imported from Wine). By Semyon "Tappak" Novikov.
svn path=/trunk/; revision=10709
This commit is contained in:
parent
d4c39be9ba
commit
fbd1a52cdf
6 changed files with 127 additions and 0 deletions
5
reactos/lib/wintrust/.cvsignore
Normal file
5
reactos/lib/wintrust/.cvsignore
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
*.coff
|
||||||
|
*.sym
|
||||||
|
*.dll
|
||||||
|
*.o
|
||||||
|
*.map
|
27
reactos/lib/wintrust/makefile
Normal file
27
reactos/lib/wintrust/makefile
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# $Id: makefile
|
||||||
|
|
||||||
|
PATH_TO_TOP = ../..
|
||||||
|
|
||||||
|
TARGET_TYPE = dynlink
|
||||||
|
|
||||||
|
TARGET_NAME = wintrust
|
||||||
|
|
||||||
|
TARGET_BASE = $(TARGET_BASE_LIB_IPRTPRIO)
|
||||||
|
|
||||||
|
TARGET_CFLAGS = -DUNICODE
|
||||||
|
|
||||||
|
# require os code to explicitly request A/W version of structs/functions
|
||||||
|
TARGET_CFLAGS += -D_DISABLE_TIDENTS
|
||||||
|
|
||||||
|
TARGET_SDKLIBS = ntdll.a kernel32.a
|
||||||
|
|
||||||
|
TARGET_OBJECTS = $(TARGET_NAME).o
|
||||||
|
|
||||||
|
DEP_OBJECTS = $(TARGET_OBJECTS)
|
||||||
|
|
||||||
|
include $(PATH_TO_TOP)/rules.mak
|
||||||
|
|
||||||
|
include $(TOOLS_PATH)/helper.mk
|
||||||
|
|
||||||
|
include $(TOOLS_PATH)/depend.mk
|
||||||
|
|
48
reactos/lib/wintrust/wintrust.c
Normal file
48
reactos/lib/wintrust/wintrust.c
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
/*
|
||||||
|
* PROJECT : ReactOS
|
||||||
|
* FILE : wintrust.c
|
||||||
|
* DESCRIPTION: ReactOS wintrust lib
|
||||||
|
* DATE : 25.08.2004 (My birthday!)
|
||||||
|
* AUTHOR : Semyon Novikov <tappak@freemail.ru>
|
||||||
|
*
|
||||||
|
* --------------------------------------------------------------------
|
||||||
|
* Copyright (c) 1998, 2004
|
||||||
|
* ReactOS developers team. All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. All advertising materials mentioning features or use of this software
|
||||||
|
* must display the following acknowledgement:
|
||||||
|
* This product includes software developed by the ReactOS developers team
|
||||||
|
* 4. Neither the name of project nor the names of its developers
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
|
||||||
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||||
|
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||||
|
* IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||||
|
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
LONG WINAPI WinVerifyTrust (HWND hwnd, GUID *rActionID, LPVOID rActionData)
|
||||||
|
{
|
||||||
|
|
||||||
|
/*
|
||||||
|
* not implemented
|
||||||
|
*/
|
||||||
|
return TRUE;
|
||||||
|
}
|
4
reactos/lib/wintrust/wintrust.def
Normal file
4
reactos/lib/wintrust/wintrust.def
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
LIBRARY wintrust.dll
|
||||||
|
|
||||||
|
; EOF
|
4
reactos/lib/wintrust/wintrust.edf
Normal file
4
reactos/lib/wintrust/wintrust.edf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
LIBRARY wintrust.dll
|
||||||
|
|
||||||
|
; EOF
|
39
reactos/lib/wintrust/wintrust.rc
Normal file
39
reactos/lib/wintrust/wintrust.rc
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
#include <defines.h>
|
||||||
|
#include <reactos/resource.h>
|
||||||
|
|
||||||
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
|
||||||
|
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
|
||||||
|
FILEFLAGSMASK 0x3fL
|
||||||
|
#ifdef _DEBUG
|
||||||
|
FILEFLAGS 0x1L
|
||||||
|
#else
|
||||||
|
FILEFLAGS 0x0L
|
||||||
|
#endif
|
||||||
|
FILEOS 0x40004L
|
||||||
|
FILETYPE 0x2L
|
||||||
|
FILESUBTYPE 0x0L
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", RES_STR_COMPANY_NAME
|
||||||
|
VALUE "FileDescription", "ReactOS wintrust lib\0"
|
||||||
|
VALUE "FileVersion", RES_STR_FILE_VERSION
|
||||||
|
VALUE "InternalName", "wintrust\0"
|
||||||
|
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
|
||||||
|
VALUE "OriginalFilename", "wintrust.dll\0"
|
||||||
|
VALUE "ProductName", RES_STR_PRODUCT_NAME
|
||||||
|
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue