NvtUpdateDisplay Function  
 
BOOL WINAPI NvtUpdateDisplay(
  HDISPLAY hDisplay  
);

The NvtUpdateDisplay function updates the window attached to the virtual display.

Parameters

hDisplay
Handle to the virtual display.

Return Value

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

Remarks

This function should be called when the display window receives a WM_PAINT message. If the NvtSetDisplayDC function has not been called to explicitly set the display device context, this function will acquire one for the display window. In this case, the application should not create a device context for the window or call the BeginPaint and EndPaint functions.

Requirements

Client: Requires Windows 7, Windows Vista or Windows XP.
Server: Requires Windows Server 2008 or Windows Server 2003.
Header: Include cstools7.h.
Library: Use csnvtav7.lib.

See Also

NvtRefreshDisplay, NvtResizeDisplay, NvtSetDisplayDC, NvtSetDisplayScrollPos, NvtSetDisplayWindow