From 2abcdf08033334075a22e65b97a7f8874361e72a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 16 Feb 2022 16:11:54 +0100 Subject: [PATCH] sfc: Build in data-only mode. Signed-off-by: Alexandre Julliard --- dlls/sfc/Makefile.in | 3 +-- dlls/sfc/sfc.spec | 20 +++++++++----------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/dlls/sfc/Makefile.in b/dlls/sfc/Makefile.in index 3a557a4b6f2..1c8fe4f9b8c 100644 --- a/dlls/sfc/Makefile.in +++ b/dlls/sfc/Makefile.in @@ -1,5 +1,4 @@ MODULE = sfc.dll IMPORTLIB = sfc -IMPORTS = sfc_os -EXTRADLLFLAGS = -Wb,--prefer-native +EXTRADLLFLAGS = -Wb,--data-only -Wb,--prefer-native diff --git a/dlls/sfc/sfc.spec b/dlls/sfc/sfc.spec index 77a82739a5c..7509c98b666 100644 --- a/dlls/sfc/sfc.spec +++ b/dlls/sfc/sfc.spec @@ -1,18 +1,16 @@ -1 stub @ # sfc_os.SfcInitProt -2 stub @ # sfc_os.SfcTerminateWatcherThread +1 stdcall @() sfc_os.SfcInitProt +2 stdcall @() sfc_os.SfcTerminateWatcherThread 3 stdcall @(long) sfc_os.SfcConnectToServer -4 stub @ # sfc_os.SfcClose -5 stub @ # sfc_os.SfcFileException -6 stub @ # sfc_os.SfcInitiateScan -7 stub @ # sfc_os.SfcInstallProtectedFiles -8 stub @ # sfc_os.SfpInstallCatalog -9 stub @ # SfpDeleteCatalog +4 stdcall @() sfc_os.SfcClose +5 stdcall @() sfc_os.SfcFileException +6 stdcall @() sfc_os.SfcInitiateScan +7 stdcall @() sfc_os.SfcInstallProtectedFiles +8 stdcall @() sfc_os.SfpInstallCatalog +9 stdcall @() sfc_os.SfpDeleteCatalog @ stdcall SRSetRestorePoint(ptr ptr) sfc_os.SRSetRestorePointA @ stdcall SRSetRestorePointA(ptr ptr) sfc_os.SRSetRestorePointA @ stdcall SRSetRestorePointW(ptr ptr) sfc_os.SRSetRestorePointW @ stdcall SfcGetNextProtectedFile(long ptr) sfc_os.SfcGetNextProtectedFile @ stdcall SfcIsFileProtected(ptr wstr) sfc_os.SfcIsFileProtected @ stdcall SfcIsKeyProtected(long wstr long) sfc_os.SfcIsKeyProtected -@ stub SfcWLEventLogoff -@ stub SfcWLEventLogon -@ stub SfpVerifyFile +@ stdcall SfpVerifyFile() sfc_os.SfpVerifyFile