ISmartCodeVNCViewer::ConnectAsyncEx Function
Initiates an asynchronous connection to the VNC server.
Syntax
HRESULT ISmartCodeVNCViewer::ConnectAsyncEx(BSTR strIP, long nPort, BSTR strPassword);
Parameters
- strIP
- VNC server IP address or hostname.
- nPort
- Connection port.
- strPassword
- Password used for VNC server authentication.
Return Value
Returns S_OK if successful, or an error value otherwise.