ONVIFEnumCamerasDiscovered
Delphi
function ONVIFEnumCamerasDiscovered (CameraIndex: LongInt; out CameraType: pByte; out CameraONVIFUrl: pByte): Boolean;
C++Builder
bool __fastcall ONVIFEnumCamerasDiscovered(System::LongInt CameraIndex, System::UnicodeString &CameraType, System::UnicodeString &CameraONVIFUrl);
C#
public bool ONVIFEnumCamerasDiscovered(int CameraIndex, out IntPtr CameraType, out IntPtr CameraONVIFUrl);
VB.NET
Public Function ONVIFEnumCamerasDiscovered(CameraIndex As Integer, ByRef CameraType As IntPtr, ByRef CameraONVIFUrl As IntPtr) As Boolean
C++/Qt
BOOL ONVIFEnumCamerasDiscovered (int CameraIndex, byte * *CameraType, byte * *CameraONVIFUrl);
Returns the ONVIF cameras discovered: retrieves the camera type and ONVIF service URL by specifying the index of the IP camera in the 0..n-1 range.
The camera count is returned by each call of the OnONVIFDiscoveryCompleted event. Note that it is not required to know the camera count: just invoke ONVIFEnumCamerasDiscovered starting from CameraIndex = 0, increasing it at each call. The function returns false when CameraIndex = the number of cameras discovered.