kernel32: Implement GetSystemDEPPolicy().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b3d00c3340
commit
246e2356e5
|
@ -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;
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
|
|
Loading…
Reference in New Issue