sfc_os: Add a prototype for SfcIsKeyProtected().

Francois Gouget fgouget at free.fr
Wed Jan 24 08:42:10 CST 2007


--- 

This makes it necessary to include winreg.h before sfc.h, just like with 
the PSDK.

 dlls/sfc_os/sfc_os.c |    1 +
 include/sfc.h        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/sfc_os/sfc_os.c b/dlls/sfc_os/sfc_os.c
index db03a10..070eea7 100644
--- a/dlls/sfc_os/sfc_os.c
+++ b/dlls/sfc_os/sfc_os.c
@@ -23,6 +23,7 @@
 #include "windef.h"
 #include "winbase.h"
 #include "winerror.h"
+#include "winreg.h"
 #include "sfc.h"
 #include "wine/debug.h"
 
diff --git a/include/sfc.h b/include/sfc.h
index 7a76928..949e6b3 100644
--- a/include/sfc.h
+++ b/include/sfc.h
@@ -36,6 +36,7 @@ typedef struct _PROTECTED_FILE_DATA {
 
 BOOL WINAPI SfcGetNextProtectedFile(HANDLE, PPROTECTED_FILE_DATA);
 BOOL WINAPI SfcIsFileProtected(HANDLE, LPCWSTR);
+BOOL WINAPI SfcIsKeyProtected(HKEY, LPCWSTR, REGSAM);
 BOOL WINAPI SfpVerifyFile(LPCSTR, LPSTR, DWORD);
 
 #ifdef __cplusplus
-- 
1.4.4.3




More information about the wine-patches mailing list