From 3d855b15e9f99f1cc3168cc9e606cb698e078a4b Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sat, 6 Feb 2016 02:38:14 +0100
Subject: shcore: Add stub for GetProcessDpiAwareness.

---
 dlls/shcore/main.c      | 7 +++++++
 dlls/shcore/shcore.spec | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/dlls/shcore/main.c b/dlls/shcore/main.c
index ce0d9ed..f2d362d 100644
--- a/dlls/shcore/main.c
+++ b/dlls/shcore/main.c
@@ -50,6 +50,13 @@ HRESULT WINAPI SetProcessDpiAwareness(PROCESS_DPI_AWARENESS value)
     return E_NOTIMPL;
 }
 
+HRESULT WINAPI GetProcessDpiAwareness(HANDLE process, PROCESS_DPI_AWARENESS *value)
+{
+    FIXME("(%p, %p): stub\n", process, value);
+    if (value) *value = PROCESS_DPI_UNAWARE;
+    return S_OK;
+}
+
 HRESULT WINAPI GetDpiForMonitor(HMONITOR monitor, MONITOR_DPI_TYPE type, UINT *x, UINT *y)
 {
     HDC hDC;
diff --git a/dlls/shcore/shcore.spec b/dlls/shcore/shcore.spec
index 4d6e845..34f989f 100644
--- a/dlls/shcore/shcore.spec
+++ b/dlls/shcore/shcore.spec
@@ -8,7 +8,7 @@
 @ stdcall GetCurrentProcessExplicitAppUserModelID(ptr) shell32.GetCurrentProcessExplicitAppUserModelID
 @ stdcall GetDpiForMonitor(long long ptr ptr)
 @ stub GetDpiForShellUIComponent
-@ stub GetProcessDpiAwareness
+@ stdcall GetProcessDpiAwareness(long ptr)
 @ stub GetProcessReference
 @ stub GetScaleFactorForDevice
 @ stub GetScaleFactorForMonitor
-- 
2.7.0

