udi_final_cleanup_req(3udi)
Release final resources prior to instance unload
#include <udi.h>void udi_final_cleanup_req ( udi_mgmt_cb_t *cb);ARGUMENTS cb is a pointer to a miscellaneous Management Metalanguage control block.
TARGET CHANNEL The affected driver instance's management channel
DESCRIPTION The MA issues this operation to request that the driver fully remove all resources and region instance context. The MA will only invoke this request after all parents and children have been unbound from the instance and the instance is now to fully be removed from the system. The driver must fully return any resources allocated on behalf of the instance, including closing any channels that the driver explicitly spawned.
Upon completion of this request, the driver must perform a udi_final_cleanup_ack operation, passing it the same control block as was passed to udi_final_cleanup_req. After sending the ack, it should logically appear as if the driver instance had not appeared in the system.