aboutsummaryrefslogtreecommitdiff
path: root/src/dutil/inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dutil/inc')
-rw-r--r--src/dutil/inc/dpiutil.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/dutil/inc/dpiutil.h b/src/dutil/inc/dpiutil.h
index 216d3dc6..b30e2332 100644
--- a/src/dutil/inc/dpiutil.h
+++ b/src/dutil/inc/dpiutil.h
@@ -41,23 +41,26 @@ typedef BOOL (APIENTRY* PFN_ADJUSTWINDOWRECTEXFORDPI)(
41 __in DWORD dwExStyle, 41 __in DWORD dwExStyle,
42 __in UINT dpi 42 __in UINT dpi
43 ); 43 );
44typedef HRESULT (APIENTRY *PFN_GETDPIFORMONITOR)(
45 __in HMONITOR hmonitor,
46 __in MONITOR_DPI_TYPE dpiType,
47 __in UINT* dpiX,
48 __in UINT* dpiY
49 );
50typedef UINT (APIENTRY *PFN_GETDPIFORWINDOW)( 44typedef UINT (APIENTRY *PFN_GETDPIFORWINDOW)(
51 __in HWND hwnd 45 __in HWND hwnd
52 ); 46 );
53typedef BOOL (APIENTRY* PFN_SETPROCESSDPIAWARE)(); 47typedef BOOL (APIENTRY* PFN_SETPROCESSDPIAWARE)();
54typedef HRESULT (APIENTRY* PFN_SETPROCESSDPIAWARENESS)(
55 __in PROCESS_DPI_AWARENESS value
56 );
57typedef BOOL (APIENTRY* PFN_SETPROCESSDPIAWARENESSCONTEXT)( 48typedef BOOL (APIENTRY* PFN_SETPROCESSDPIAWARENESSCONTEXT)(
58 __in DPI_AWARENESS_CONTEXT value 49 __in DPI_AWARENESS_CONTEXT value
59 ); 50 );
60 51
52#ifdef DPI_ENUMS_DECLARED
53typedef HRESULT(APIENTRY* PFN_GETDPIFORMONITOR)(
54 __in HMONITOR hmonitor,
55 __in MONITOR_DPI_TYPE dpiType,
56 __in UINT* dpiX,
57 __in UINT* dpiY
58 );
59typedef HRESULT(APIENTRY* PFN_SETPROCESSDPIAWARENESS)(
60 __in PROCESS_DPI_AWARENESS value
61 );
62#endif
63
61void DAPI DpiuInitialize(); 64void DAPI DpiuInitialize();
62void DAPI DpiuUninitialize(); 65void DAPI DpiuUninitialize();
63 66