Edit

Share via


SM_RemovePort function

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.

Syntax

void SM_RemovePort(
   [in, HBAType("HBA_WWN")] uint8          PortWWN[8],
   [in, EVENT_TYPES_QUALIFIERS] uint32     EventType,
   [out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus
);

Parameters

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.

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

HBA_STATUS

SM_RemovePort_IN

SM_RemovePort_OUT