NvtWriteDisplay Function  
 
BOOL WINAPI NvtWriteDisplay(
  HDISPLAY hDisplay,  
  LPBYTE lpBuffer,  
  INT cbBuffer  
);

The NvtWriteDisplay function writes the contents of the specified buffer to the virtual display.

Parameters

hDisplay
Handle to the virtual display.
lpBuffer
Pointer to the buffer which contains the data to be written to the virtual display.
cbBuffer
Number of bytes to write to the display.

Return Value

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

Remarks

This function writes the data at the current cursor location. Control characters are recognized by this function and processed accordingly. If ANSI emulation is enabled, embedded escape sequences will also be parsed and processed.

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

NvtGetDisplayText, NvtRefreshDisplay, NvtUpdateCaret, NvtUpdateDisplay