Description
|
Some video drivers support a "virtual desktop"
mode where the size of the Windows desktop exceeds the size of the monitor
display area. A program can make this call to report the size (in pixels) of the
visible area and the offset of the top left corner from the top left corner
of the Windows desktop. |
Parameters |
Left,
right, width and height |
Returns |
0 = fail, 1 = OK. |
Notes |
Note that this API is used internally
by UPDD for certain video cards, but is exposed so that 3rd party utilities
can call it in situations where UPDD does not provide native support. |
Visual C++ Declaration/example
BOOL TBAPI TBApiSetVirtualDesktopMetrics(unsigned long left, unsigned
long top, unsigned long width, unsigned long height);
Public Declare Function TBApiSetVirtualDesktopMetrics Lib “Tbapi” Alias
“DLL_ TBApiSetVirtualDesktopMetrics@16” (ByVal left As Long, ByVal top As Long,
ByVal width As Long, ByVal height As Long) As Boolean