Module: wine
Branch: master
Commit: f34fd257c6c83804075914ee2b82cc42eadc683f
URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f34fd257c6c83804075914ee2…
Author: Austin English <austinenglish(a)gmail.com>
Date: Mon Mar 28 02:54:12 2016 -0500
sfc: Document ordinal only exports.
Signed-off-by: Austin English <austinenglish(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/sfc/sfc.spec | 21 ++++++++++++---------
dlls/sfc/sfc_main.c | 6 ------
dlls/sfc_os/sfc_os.c | 6 ++++++
dlls/sfc_os/sfc_os.spec | 15 +++++++++++++++
4 files changed, 33 insertions(+), 15 deletions(-)
diff --git a/dlls/sfc/sfc.spec b/dlls/sfc/sfc.spec
index bdd66db..148f3db 100644
--- a/dlls/sfc/sfc.spec
+++ b/dlls/sfc/sfc.spec
@@ -1,12 +1,15 @@
-1 stub @
-2 stub @
-3 stdcall @(long) SFC_3
-4 stub @
-5 stub @
-6 stub @
-7 stub @
-8 stub @
-9 stub @
+1 stub @ # sfc_os.SfcInitProt
+2 stub @ # 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
+@ stub SRSetRestorePoint
+@ stub SRSetRestorePointA
+@ stub SRSetRestorePointW
@ stdcall SfcGetNextProtectedFile(long ptr) sfc_os.SfcGetNextProtectedFile
@ stdcall SfcIsFileProtected(ptr wstr) sfc_os.SfcIsFileProtected
@ stdcall SfcIsKeyProtected(long wstr long) sfc_os.SfcIsKeyProtected
diff --git a/dlls/sfc/sfc_main.c b/dlls/sfc/sfc_main.c
index c715867..58957c8 100644
--- a/dlls/sfc/sfc_main.c
+++ b/dlls/sfc/sfc_main.c
@@ -52,9 +52,3 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID
lpvReserved)
}
return TRUE;
}
-
-DWORD WINAPI SFC_3(DWORD unknown)
-{
- FIXME("%x\n", unknown);
- return 0;
-}
diff --git a/dlls/sfc_os/sfc_os.c b/dlls/sfc_os/sfc_os.c
index 9df38f8..9e45762 100644
--- a/dlls/sfc_os/sfc_os.c
+++ b/dlls/sfc_os/sfc_os.c
@@ -132,3 +132,9 @@ BOOL WINAPI SfcIsKeyProtected(HKEY hKey, LPCWSTR lpSubKey, REGSAM
samDesired)
SetLastError(ERROR_FILE_NOT_FOUND);
return FALSE;
}
+
+DWORD WINAPI SfcConnectToServer(DWORD unknown)
+{
+ FIXME("%x\n", unknown);
+ return 0;
+}
diff --git a/dlls/sfc_os/sfc_os.spec b/dlls/sfc_os/sfc_os.spec
index 6b216e0..4c7405d 100644
--- a/dlls/sfc_os/sfc_os.spec
+++ b/dlls/sfc_os/sfc_os.spec
@@ -1,3 +1,18 @@
+@ stub BeginFileMapEnumeration
+@ stub CloseFileMapEnumeration
+@ stub GetNextFileMapContent
+@ stub SRSetRestorePointA
+@ stub SRSetRestorePointW
+@ stub SfcClose
+@ stdcall SfcConnectToServer(long)
+@ stub SfcFileException
@ stdcall SfcGetNextProtectedFile(long ptr)
+@ stub SfcInitProt
+@ stub SfcInitiateScan
+@ stub SfcInstallProtectedFiles
@ stdcall SfcIsFileProtected(ptr wstr)
@ stdcall SfcIsKeyProtected(long wstr long)
+@ stub SfcTerminateWatcherThread
+@ stub SfpDeleteCatalog
+@ stub SfpInstallCatalog
+@ stub SfpVerifyFile