MS_SMHBA_PORTATTRIBUTES structure (hbapiwmi.h)

The MS_SMHBA_PORTATTRIBUTES structure is used to report the port information.

Syntax

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;

Members

PortType

An integer that indicates the port type of the SMHBA port.

PortState

An integer that indicates the current state of the SMHBA port.

PortSpecificAttributesSize

OSDeviceName[256 + 1]

A nonpersistent operating system target name, for example "\Device\HarddiskVolume1".

Reserved

PortSpecificAttributes[1]

Requirements

Requirement Value
Header hbapiwmi.h (include Hbapiwmi.h)