IsConnected
Top  Previous  Next

Description

Returns the network connection state of the virtual camera.

[C++]
bool
 IsConnected();


Parameters
[C/C++]
 
none  


Return Value


TRUE if the virtual camera is in the connected state; FALSE if in the disconnected state.  

Example


This fragment of code checks a dialog button depending on the state of the camera:

bool bConnected=m_pCamera->IsConnected();  
CheckDlgButton(IDB_CONNECTED, bConnected);  
 


Remarks


For more information on binding the camera to a network adapter refer to the Connect and Disconnect methods.