kernel32: add a stub for GetSystemDEPPolicy (resend)
Austin English
austinenglish at gmail.com
Tue Sep 21 23:17:29 CDT 2010
Try 2 changed the return type from 0 to AlwaysOff, and fixed the order
of the enum. This has been sitting in the queue as
http://source.winehq.org/patches/data/65998, but received no comments.
If I missed something, please let me know.
--
-Austin
-------------- next part --------------
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 8a33013..43e339b 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -624,6 +624,7 @@
@ stdcall GetSystemDefaultLCID()
@ stdcall GetSystemDefaultLangID()
@ stdcall GetSystemDefaultUILanguage()
+@ stdcall GetSystemDEPPolicy()
@ stdcall GetSystemDirectoryA(ptr long)
@ stdcall GetSystemDirectoryW(ptr long)
@ stdcall GetSystemInfo(ptr)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index c1816a8..5be1de4 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -3385,3 +3385,14 @@ DWORD WINAPI WTSGetActiveConsoleSessionId(void)
FIXME("stub\n");
return 0;
}
+
+/**********************************************************************
+ * GetSystemDEPPolicy (KERNEL32.@)
+ */
+DEP_SYSTEM_POLICY_TYPE WINAPI GetSystemDEPPolicy(void)
+{
+ FIXME("stub\n");
+ return AlwaysOff;
+}
+
+
diff --git a/include/winbase.h b/include/winbase.h
index 2c4b5d5..24f6f33 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1234,6 +1234,13 @@ typedef struct tagHW_PROFILE_INFOW {
DECL_WINELIB_TYPE_AW(HW_PROFILE_INFO)
DECL_WINELIB_TYPE_AW(LPHW_PROFILE_INFO)
+typedef enum _DEP_SYSTEM_POLICY_TYPE {
+ AlwaysOff = 0,
+ AlwaysOn = 1,
+ OptIn = 2,
+ OptOut = 3
+} DEP_SYSTEM_POLICY_TYPE;
+
/* Event Logging */
#define EVENTLOG_FULL_INFO 0
More information about the wine-patches
mailing list