RemovePort function

The RemovePort WMI method configures the WMI provider so that it stops passing events associated with the indicated port to the WMI client.

Syntax

void RemovePort(
   [in, HBAType("HBA_WWN")] uint8          PortWWN[8],
   [out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus
);

Parameters

PortWWN
A worldwide name that indicates the port that should be removed from the list of ports whose events are reported to the WMI client.

HBAStatus
On return, contains 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 RemovePort_OUT structure.

Return value

Not applicable to WMI methods.

Remarks

This WMI method belongs to the MSFC_EventControl WMI Class.

Requirements

Target platform

Desktop

Header

Hbapiwmi.h (include Hbapiwmi.h, Hbaapi.h, or Hbaapi.h)

See also

RemovePort_IN

RemovePort_OUT