Commit 246e2356 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

kernel32: Implement GetSystemDEPPolicy().

parent b3d00c33
......@@ -34,6 +34,7 @@
#include "wincon.h"
#include "kernel_private.h"
#include "psapi.h"
#include "ddk/wdm.h"
#include "wine/exception.h"
#include "wine/server.h"
#include "wine/asm.h"
......@@ -41,6 +42,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(process);
static const struct _KUSER_SHARED_DATA *user_shared_data = (struct _KUSER_SHARED_DATA *)0x7ffe0000;
typedef struct
{
LPSTR lpEnvAddress;
......@@ -553,8 +556,7 @@ DWORD WINAPI WTSGetActiveConsoleSessionId(void)
*/
DEP_SYSTEM_POLICY_TYPE WINAPI GetSystemDEPPolicy(void)
{
FIXME("stub\n");
return OptIn;
return user_shared_data->NXSupportPolicy;
}
/**********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment