https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7865ff97cc18b58be6fde86b17b0c945d54e4ba1

commit 7865ff97cc18b58be6fde86b17b0c945d54e4ba1
Author:     Oleg Dubinskiy <oleg.dubinskij2...@yandex.ua>
AuthorDate: Thu Apr 16 02:06:22 2020 +0300
Commit:     GitHub <nore...@github.com>
CommitDate: Thu Apr 16 02:06:22 2020 +0300

    [SFC][SFC_OS] Add stubs to exported functions (#2431)
    
    - Also remove extra whitespace between function names and their arguments 
in sfc.
    - Required by userenv.dll, win32k.sys, and others from Windows Server 2003 
and also by some MS installers like Windows Media Encoder 7.1 installer. Now 
they should not fail due to that functions.
    
    CORE-16458
---
 dll/win32/sfc/sfc.spec       | 34 +++++++++++++++++-----------------
 dll/win32/sfc_os/sfc_os.spec | 12 ++++++------
 2 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/dll/win32/sfc/sfc.spec b/dll/win32/sfc/sfc.spec
index 12b1da8e21c..c94c35d0521 100644
--- a/dll/win32/sfc/sfc.spec
+++ b/dll/win32/sfc/sfc.spec
@@ -1,17 +1,17 @@
-@ stub sfc_1
-@ stub sfc_2
-@ stub sfc_3
-@ stub sfc_4
-@ stub sfc_5
-@ stub sfc_6
-@ stub sfc_7
-@ stdcall sfc_8 ()
-@ stdcall sfc_9 ()
-@ stdcall SRSetRestorePoint (ptr ptr)  SRSetRestorePointA
-@ stdcall SRSetRestorePointA (ptr ptr)
-@ stdcall SRSetRestorePointW (ptr ptr)
-@ stdcall SfcGetNextProtectedFile (ptr ptr) sfc_os.SfcGetNextProtectedFile
-@ stdcall SfcIsFileProtected (ptr wstr) sfc_os.SfcIsFileProtected
-@ stdcall SfcWLEventLogoff (ptr) sfc_os.SfcWLEventLogoff
-@ stdcall SfcWLEventLogon (ptr) sfc_os.SfcWLEventLogon
-@ stdcall SfpVerifyFile (str str long)
\ No newline at end of file
+@ stdcall -stub sfc_1()
+@ stdcall -stub sfc_2()
+@ stdcall -stub sfc_3()
+@ stdcall -stub sfc_4()
+@ stdcall -stub sfc_5()
+@ stdcall -stub sfc_6()
+@ stdcall -stub sfc_7()
+@ stdcall sfc_8()
+@ stdcall sfc_9()
+@ stdcall SRSetRestorePoint(ptr ptr) SRSetRestorePointA
+@ stdcall SRSetRestorePointA(ptr ptr)
+@ stdcall SRSetRestorePointW(ptr ptr)
+@ stdcall SfcGetNextProtectedFile(ptr ptr) sfc_os.SfcGetNextProtectedFile
+@ stdcall SfcIsFileProtected(ptr wstr) sfc_os.SfcIsFileProtected
+@ stdcall SfcWLEventLogoff(ptr) sfc_os.SfcWLEventLogoff
+@ stdcall SfcWLEventLogon(ptr) sfc_os.SfcWLEventLogon
+@ stdcall SfpVerifyFile(str str long)
diff --git a/dll/win32/sfc_os/sfc_os.spec b/dll/win32/sfc_os/sfc_os.spec
index 561928bc428..c229cf6ed18 100644
--- a/dll/win32/sfc_os/sfc_os.spec
+++ b/dll/win32/sfc_os/sfc_os.spec
@@ -1,10 +1,10 @@
-@ stub sfc_os_1
-@ stub sfc_os_2
-@ stub sfc_os_3
-@ stub sfc_os_4
+@ stdcall -stub sfc_os_1()
+@ stdcall -stub sfc_os_2()
+@ stdcall -stub sfc_os_3()
+@ stdcall -stub sfc_os_4()
 @ stdcall SfcFileException(long ptr long)
-@ stub sfc_os_6
-@ stub sfc_os_7
+@ stdcall -stub sfc_os_6()
+@ stdcall -stub sfc_os_7()
 @ stdcall SfcGetNextProtectedFile(ptr ptr)
 @ stdcall SfcIsFileProtected(ptr wstr)
 @ stdcall SfcIsKeyProtected(long wstr long)

Reply via email to