HAI_Deactivate_Bus
Deactivates a device bus instance of the HAM.
LONG HAI_Deactivate_Bus ( LONG npaBusHandle, LONG hamBusHandle, LONG npaHandle );
The following table lists return values and descriptions.
HAI_Deactivate_Bus is used to deactivate a bus in preparation for the HAM or bus instance to be unloaded. It is called within the context of HAM_Unload or HAM_Instance_Unload (Function 0x09) to abort outstanding requests before the HAM or bus instance is unloaded. This API must be called for each bus instance that the HAM supports. When the HAI_Deactivate_Bus function completes, NWPA ensures there are no outstanding requests for this particular bus instance and that no further requests are sent to the devices on the specified bus.