diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 8a33013b949..43e339ba393 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 c1816a84e6f..d4c2063a915 100644 --- a/dlls/kernel32/process.c +++ b/dlls/kernel32/process.c @@ -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; +} diff --git a/include/winbase.h b/include/winbase.h index 2c4b5d5fcee..24f6f33d18a 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