shcore: Add GetScaleFactorForDevice() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
21c99970f3
commit
7489efa03f
|
@ -86,6 +86,13 @@ HRESULT WINAPI GetScaleFactorForMonitor(HMONITOR monitor, DEVICE_SCALE_FACTOR *s
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEVICE_SCALE_FACTOR WINAPI GetScaleFactorForDevice(DISPLAY_DEVICE_TYPE device_type)
|
||||||
|
{
|
||||||
|
FIXME("%d\n", device_type);
|
||||||
|
|
||||||
|
return SCALE_100_PERCENT;
|
||||||
|
}
|
||||||
|
|
||||||
HRESULT WINAPI _IStream_Read(IStream *stream, void *dest, ULONG size)
|
HRESULT WINAPI _IStream_Read(IStream *stream, void *dest, ULONG size)
|
||||||
{
|
{
|
||||||
ULONG read;
|
ULONG read;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
@ stub GetDpiForShellUIComponent
|
@ stub GetDpiForShellUIComponent
|
||||||
@ stdcall GetProcessDpiAwareness(long ptr)
|
@ stdcall GetProcessDpiAwareness(long ptr)
|
||||||
@ stdcall GetProcessReference(ptr)
|
@ stdcall GetProcessReference(ptr)
|
||||||
@ stub GetScaleFactorForDevice
|
@ stdcall GetScaleFactorForDevice(long)
|
||||||
@ stdcall GetScaleFactorForMonitor(long ptr)
|
@ stdcall GetScaleFactorForMonitor(long ptr)
|
||||||
@ stub IStream_Copy
|
@ stub IStream_Copy
|
||||||
@ stdcall IStream_Read(ptr ptr long) _IStream_Read
|
@ stdcall IStream_Read(ptr ptr long) _IStream_Read
|
||||||
|
|
|
@ -36,8 +36,15 @@ typedef enum PROCESS_DPI_AWARENESS
|
||||||
PROCESS_PER_MONITOR_DPI_AWARE
|
PROCESS_PER_MONITOR_DPI_AWARE
|
||||||
} PROCESS_DPI_AWARENESS;
|
} PROCESS_DPI_AWARENESS;
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
DEVICE_PRIMARY = 0,
|
||||||
|
DEVICE_IMMERSIVE = 1,
|
||||||
|
} DISPLAY_DEVICE_TYPE;
|
||||||
|
|
||||||
HRESULT WINAPI GetDpiForMonitor(HMONITOR,MONITOR_DPI_TYPE,UINT*,UINT*);
|
HRESULT WINAPI GetDpiForMonitor(HMONITOR,MONITOR_DPI_TYPE,UINT*,UINT*);
|
||||||
HRESULT WINAPI GetProcessDpiAwareness(HANDLE,PROCESS_DPI_AWARENESS*);
|
HRESULT WINAPI GetProcessDpiAwareness(HANDLE,PROCESS_DPI_AWARENESS*);
|
||||||
|
DEVICE_SCALE_FACTOR WINAPI GetScaleFactorForDevice(DISPLAY_DEVICE_TYPE device_type);
|
||||||
HRESULT WINAPI GetScaleFactorForMonitor(HMONITOR,DEVICE_SCALE_FACTOR*);
|
HRESULT WINAPI GetScaleFactorForMonitor(HMONITOR,DEVICE_SCALE_FACTOR*);
|
||||||
HRESULT WINAPI SetProcessDpiAwareness(PROCESS_DPI_AWARENESS);
|
HRESULT WINAPI SetProcessDpiAwareness(PROCESS_DPI_AWARENESS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue