diff --git a/reactos/lib/wintrust/.cvsignore b/reactos/lib/wintrust/.cvsignore new file mode 100644 index 00000000000..0a57412f946 --- /dev/null +++ b/reactos/lib/wintrust/.cvsignore @@ -0,0 +1,5 @@ +*.coff +*.sym +*.dll +*.o +*.map diff --git a/reactos/lib/wintrust/makefile b/reactos/lib/wintrust/makefile new file mode 100644 index 00000000000..1335b9ba92c --- /dev/null +++ b/reactos/lib/wintrust/makefile @@ -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 + diff --git a/reactos/lib/wintrust/wintrust.c b/reactos/lib/wintrust/wintrust.c new file mode 100644 index 00000000000..bea9964207d --- /dev/null +++ b/reactos/lib/wintrust/wintrust.c @@ -0,0 +1,48 @@ +/* + * PROJECT : ReactOS + * FILE : wintrust.c + * DESCRIPTION: ReactOS wintrust lib + * DATE : 25.08.2004 (My birthday!) + * AUTHOR : Semyon Novikov + * + * -------------------------------------------------------------------- + * 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 + +LONG WINAPI WinVerifyTrust (HWND hwnd, GUID *rActionID, LPVOID rActionData) +{ + +/* + * not implemented + */ + return TRUE; +} diff --git a/reactos/lib/wintrust/wintrust.def b/reactos/lib/wintrust/wintrust.def new file mode 100644 index 00000000000..cffa8b9b89c --- /dev/null +++ b/reactos/lib/wintrust/wintrust.def @@ -0,0 +1,4 @@ + +LIBRARY wintrust.dll + +; EOF diff --git a/reactos/lib/wintrust/wintrust.edf b/reactos/lib/wintrust/wintrust.edf new file mode 100644 index 00000000000..cffa8b9b89c --- /dev/null +++ b/reactos/lib/wintrust/wintrust.edf @@ -0,0 +1,4 @@ + +LIBRARY wintrust.dll + +; EOF diff --git a/reactos/lib/wintrust/wintrust.rc b/reactos/lib/wintrust/wintrust.rc new file mode 100644 index 00000000000..da417e53809 --- /dev/null +++ b/reactos/lib/wintrust/wintrust.rc @@ -0,0 +1,39 @@ +#include +#include + +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 + +