Module: wine Branch: master Commit: 000b637fa0d4e50c5534aa8520ac625b054cdf07 URL: https://source.winehq.org/git/wine.git/?a=commit;h=000b637fa0d4e50c5534aa852...
Author: Alexandre Julliard julliard@winehq.org Date: Mon May 2 22:43:37 2022 +0200
sfc_os: Stub SfpVerifyFile().
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/sfc/sfc.spec | 2 +- dlls/sfc_os/sfc_os.c | 7 +++++++ dlls/sfc_os/sfc_os.spec | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/dlls/sfc/sfc.spec b/dlls/sfc/sfc.spec index 7509c98b666..d52346d8fdc 100644 --- a/dlls/sfc/sfc.spec +++ b/dlls/sfc/sfc.spec @@ -13,4 +13,4 @@ @ stdcall SfcGetNextProtectedFile(long ptr) sfc_os.SfcGetNextProtectedFile @ stdcall SfcIsFileProtected(ptr wstr) sfc_os.SfcIsFileProtected @ stdcall SfcIsKeyProtected(long wstr long) sfc_os.SfcIsKeyProtected -@ stdcall SfpVerifyFile() sfc_os.SfpVerifyFile +@ stdcall SfpVerifyFile(str ptr long) sfc_os.SfpVerifyFile diff --git a/dlls/sfc_os/sfc_os.c b/dlls/sfc_os/sfc_os.c index 61614264c77..074757d1566 100644 --- a/dlls/sfc_os/sfc_os.c +++ b/dlls/sfc_os/sfc_os.c @@ -123,6 +123,13 @@ DWORD WINAPI SfcConnectToServer(DWORD unknown) return 0; }
+BOOL WINAPI SfpVerifyFile(LPCSTR filename, LPSTR error, DWORD size) +{ + FIXME("%s: stub\n", debugstr_a(filename)); + SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); + return FALSE; +} + BOOL WINAPI SRSetRestorePointA(RESTOREPOINTINFOA *restorepoint, STATEMGRSTATUS *status) { FIXME("%p %p\n", restorepoint, status); diff --git a/dlls/sfc_os/sfc_os.spec b/dlls/sfc_os/sfc_os.spec index 271043e985d..3c717015e56 100644 --- a/dlls/sfc_os/sfc_os.spec +++ b/dlls/sfc_os/sfc_os.spec @@ -15,4 +15,4 @@ @ stub SfcTerminateWatcherThread @ stub SfpDeleteCatalog @ stub SfpInstallCatalog -@ stub SfpVerifyFile +@ stdcall SfpVerifyFile(str ptr long)