SmartCode ViewerX

IScVxCapabilities::RfbProtocolVersionMajor Property


Returns the major version number of the RFB protocol version used to communicate with the VNC server. You should call this method only when connection has been established already.

Syntax

HRESULT IScVxCapabilities::get_RfbProtocolVersionMajor(int* pnMajorVersion);

Return Value

Returns S_OK if successful, or an error value otherwise.