USB Port Monitoring Control
USB Monitoring Control - USB Device Data Monitoring ActiveX Component Library

IDeviceCollection.Count Property

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >
Declaration
Getting property value:
Automation:
int  value = obj.Count;
Native (C++):
HRESULT  get_ Count ( [out, retval]   long *  pVal) ;
Parameters
pVal Number of devices.
C++
        LONG Count;
        hr = pDevices->get_Count(&Count);
        if(FAILED(hr))
        {
           ATLTRACE("pDevices->get_Count failed\n");
           return;
        }
      
Return Value
Automation: Number of devices. Native: S_OK or standard OLE error code.
Remarks
Returns the number of devices
< PreviousTopNext >
Copyright © 2011 HHD Software. All rights reserved.