SM_RemoveTarget function
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for