// hbapiwmi.h
typedef struct _MS_SMHBA_PORTATTRIBUTES {
ULONG PortType;
ULONG PortState;
ULONG PortSpecificAttributesSize;
WCHAR OSDeviceName[256 + 1];
ULONGLONG Reserved;
UCHAR PortSpecificAttributes[1];
} MS_SMHBA_PORTATTRIBUTES, *PMS_SMHBA_PORTATTRIBUTES;
View the official Windows Driver Kit DDI referenceNo description available.
The MS_SMHBA_PORTATTRIBUTES structure is used to report the port information.
PortTypeAn integer that indicates the port type of the SMHBA port.
PortStateAn integer that indicates the current state of the SMHBA port.
PortSpecificAttributesSizeOSDeviceNameA nonpersistent operating system target name, for example "\Device\HarddiskVolume1".
ReservedPortSpecificAttributes