ISmartCodeVNCViewer::ConnectEx Function
Initiates a connection to the VNC server.
Syntax
HRESULT ISmartCodeVNCViewer::ConnectEx(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.