Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SM_RemoveTarget WMI method configures the WMI provider so that it stops passing events that are associated with the indicated target to the WMI client.
Syntax
void SM_RemoveTarget(
[in, HBAType("HBA_WWN")] uint8 HbaPortWWN[8],
[in, HBAType("HBA_WWN")] uint8 DiscoveredPortWWN[8],
[in] uint32 AllTargets,
[out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus
);
Parameters
HbaPortWWN
A 64-bit worldwide name (WWN) that uniquely identifies the local port that should be removed from the list of ports whose events are reported to the WMI client. For more information about worldwide names, see the T11 committee's Fibre Channel HBA API specification.
DiscoveredPortWWN
A worldwide name (WWN) that indicates the remote discovered port that should be removed from the list of ports whose events are reported to the WMI client.
AllTargets
The events to stop reporting. If this member is zero, the WMI provider client stops reporting events that are associated with the port that is indicated by DiscoveredPortWWN. If this member is nonzero, the WMI provider stops reporting all events associated any target.
HBAStatus
The status of the operation. For a list of allowed values and their descriptions, see HBA_STATUS. The miniport driver returns this information in the HBAStatus member of a SM_RemoveTarget_OUT structure.
Return value
Not applicable to WMI methods.
Remarks
This WMI method belongs to the MS_SM_EventControl WMI Class.
Requirements
Target platform |
Desktop |
Header |
Hbapiwmi.h |