The HBA_RemovePersistentBinding routine retrieves information about the specified target.
HBA_STATUS HBA_API HBA_RemovePersistentBinding( _In_ HBA_HANDLE Handle, _In_ HBA_WWN HbaPortWWN, _In_ PHBA_FCPBINDING2 Binding );
Contains a value returned by the routine HBA_OpenAdapter that identifies the HBA on which the port is located.
Contains a 64-bit worldwide name (WWN) that uniquely identifies the local HBA port for which to remove all persistent bindings. For a discussion of worldwide names, see the T11 committee's Fibre Channel HBA API specification.
Contains a structure of type HBA_FCPBinding2 that contains an array of bindings between operating system identifiers, SCSI logical unit ID descriptors (LUIDs) and fibre channel protocol (FCP) identifiers for a set of logical units.
The HBA_RemovePersistentBinding routine returns a value of type HBA_STATUS that indicates the status of the HBA. In particular, HBA_RemovePersistentBinding returns one of the following values.
Returned if the indicated persistent bindings were successfully removed for the indicated port.
Returned if the HBA referenced by handle does not contain a port with a name that matches HbaPortWWN.
Returned if the HBA referenced by handle does not support persistent bindings.
Returned if an unspecified error occurred that prevented the removal of the persistent bindings.
The removal of persistent bindings does not change target mappings until the operating system is restarted or HBA and/or fabric is reinitialized.
|Hbaapi.h (include Hbaapi.h)|