// hbapiwmi.h
void SM_RemovePort(
[in, HBAType("HBA_WWN")] uint8 PortWWN[8],
[in, EVENT_TYPES_QUALIFIERS] uint32 EventType,
[out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus
);
View the official Windows hardware development documentationNo description available.
The SM_RemovePort WMI method configures the WMI provider so that it stops passing events that are associated with the indicated port to the WMI client.
PortWWN A worldwide name (WWN) that indicates the port that should be removed from the list of ports whose events are reported to the WMI client.
EventType The type of the event. The values that can be assigned to this member are defined by the EVENT_TYPES_QUALIFIERS WMI class qualifier.
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_RemovePort_OUT structure.
Not applicable to WMI methods.
This WMI method belongs to the MS_SM_EventControl WMI Class.
| Target platform | Desktop |
| Header | Hbapiwmi.h |