SetVirtualResolution(3w)
NAME
SetVirtualResolution (GDI32.@)
SYNOPSIS
BOOL SetVirtualResolution ( HDC hdc, DWORD horz_res, DWORD vert_res, DWORD horz_size, DWORD vert_size )
DESCRIPTION
Undocumented on msdn.
Changes the values of screen size in pixels and millimeters used by the
mapping mode functions.
PARAMS
hdc [In] Device context.
horz_res [In] Width in pixels (equivalent to HORZRES device cap).
vert_res [In] Height in pixels (equivalent to VERTRES device cap).
horz_size [In] Width in mm (equivalent to HORZSIZE device cap).
vert_size [In] Height in mm (equivalent to VERTSIZE device cap).
RETURNS
TRUE if successful. FALSE if any (but not all) of the last four params
are zero.
NOTES
This doesn't change the values returned by GetDeviceCaps, just the
scaling of the mapping modes.
Calling with the last four params equal to zero sets the values back to
their defaults obtained by calls to GetDeviceCaps.
IMPLEMENTATION
Defined in "gdi_private.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/gdi32/mapping.c".
- Debug channel "dc".