NvtSetDisplaySize Function  
 
BOOL WINAPI NvtSetDisplaySize(
  HDISPLAY hDisplay,  
  LPSIZE lpSize  
);

The NvtSetDisplaySize sets the size of the virtual display.

Parameters

hDisplay
Handle to the virtual display.
lpSize
Pointer to a SIZE structure which specifies the new size of the virtual display. The width should be specified in columns and the height should be specified in rows.

Return Value

If the function succeeds, the return value is non-zero. If the function fails, it returns zero.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csnvtv12.lib

See Also