MS_SMHBA_PORTATTRIBUTES WMI Class
An HBA miniport driver that supports the Storage Management API uses the MS_SMHBA_PORTATTRIBUTES class to expose the port attributes. There should be one instance of this class for each port.
The MS_SMHBA_PORTATTRIBUTES class is defined as follows in Hbaapi.mof:
class MS_SMHBA_PORTATTRIBUTES
{
[HBA_PORTTYPE_QUALIFIERS, WmiDataId(1)]
uint32 PortType;
[HBA_PORTSTATE_QUALIFIERS, WmiDataId(2)]
uint32 PortState;
[WmiDataId(3),
Description("Size of MS_SMHBA_SAS_Port or MS_SMHBA_FC_Port")
]
uint32 PortSpecificAttributesSize;
[MaxLen(256), WmiDataId(4)]
string OSDeviceName;
[WmiDataId(5)]
uint64 Reserved;
[WmiDataId(6),
Description(" MS_SMHBA_SAS_Port or MS_SMHBA_FC_Port Buffer"),
WmiSizeIs("PortSpecificAttributesSize")
]
uint8 PortSpecificAttributes[];
};
When this class definition is compiled by the WMI tool suite, it produces the following data structure:
There are no methods associated with this WMI class.
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