SetVirtualResolution (GDI32.@)
BOOL SetVirtualResolution ( HDC hdc, DWORD horz_res, DWORD vert_res, DWORD horz_size, DWORD vert_size )
Undocumented on msdn.
Changes the values of screen size in pixels and millimeters used by the mapping mode functions.
| 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). |
TRUE if successful. FALSE if any (but not all) of the last four params are zero.
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.
Not defined in a Wine header. The function is either undocumented, or missing from Wine.
Implemented in "dlls/gdi32/mapping.c". source.winehq.org/source/dlls/gdi32/mapping.c
Debug channel "dc".
Copyright © 2010 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2010.