CDI_Rescan_Bus

Updates NWPA's device object database anytime the CDM changes the private/public status of a device it controls.

Thread Context:Blocking

Syntax

    LONG CDI_Rescan_Bus (
       LONG npaBusID
       );
    
    

Parameters

npaBusID
(IN) The object ID that NWPA assigned to the target bus in its object database. The CDM received this target ID as an input parameter to its CDM_Inquiry entry point.

Return Values

The following table lists return values and descriptions.

zero

Successful

nonzero

Unsuccessful

Remarks

The primary use of this API is to place devices that were originally detected by the CDM using the Case 2 scan (see HAM_Scan_For_Devices (Function 0x01)) back into the object database maintained by the Media Manager so that they can be available to other applications.