kernel32: Add a stub for GetSystemDEPPolicy.
authorAustin English <austinenglish@gmail.com>
Wed, 22 Sep 2010 04:17:29 +0000 (21:17 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Sep 2010 10:47:39 +0000 (12:47 +0200)
dlls/kernel32/kernel32.spec
dlls/kernel32/process.c
include/winbase.h

index 8a33013..43e339b 100644 (file)
 @ stdcall GetSystemDefaultLCID()
 @ stdcall GetSystemDefaultLangID()
 @ stdcall GetSystemDefaultUILanguage()
+@ stdcall GetSystemDEPPolicy()
 @ stdcall GetSystemDirectoryA(ptr long)
 @ stdcall GetSystemDirectoryW(ptr long)
 @ stdcall GetSystemInfo(ptr)
index c1816a8..d4c2063 100644 (file)
@@ -3385,3 +3385,12 @@ DWORD WINAPI WTSGetActiveConsoleSessionId(void)
     FIXME("stub\n");
     return 0;
 }
+
+/**********************************************************************
+ *           GetSystemDEPPolicy     (KERNEL32.@)
+ */
+DEP_SYSTEM_POLICY_TYPE WINAPI GetSystemDEPPolicy(void)
+{
+    FIXME("stub\n");
+    return OptIn;
+}
index 2c4b5d5..24f6f33 100644 (file)
@@ -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