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_AddTarget WMI method configures the WMI provider to inform the WMI client about events that are associated with the indicated targets.
Syntax
void SM_AddTarget(
[in, HBAType("HBA_WWN")] uint8 HbaPortWWN[8],
[in, HBAType("HBA_WWN")] uint8 DiscoveredPortWWN[8],
[in, HBAType("HBA_WWN")] uint8 DomainPortWWN[8],
[in] uint32 AllTargets,
[out, HBA_STATUS_QUALIFIERS] HBA_STATUS HBAStatus
);
Parameters
HbaPortWWN
The worldwide name (WWN) of the local port whose events the WMI client will receive.
DiscoveredPortWWN
A worldwide name (WWN) that specifies the discovered target whose events the WMI client will receive.
DomainPortWWN
A worldwide name (WWN) that specifies the SAS domain worldwide name of the local port whose events the WMI client will receive.
AllTargets
The scope of the target events to report. If this member is zero, the WMI client receives events that are associated with the port that is indicated by DiscoveredPortWWN. If this member is nonzero, the WMI client receives all events that are associated with all currently discovered targets as well as targets that are discovered in the future.
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_AddTarget_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 |