MS_SMHBA_PORTATTRIBUTES構造体 (hbapiwmi.h)

MS_SMHBA_PORTATTRIBUTES構造体は、ポート情報を報告するために使用されます。

構文

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;

メンバー

PortType

SMHBA ポートのポートの種類を示す整数。

PortState

SMHBA ポートの現在の状態を示す整数。

PortSpecificAttributesSize

OSDeviceName[256 + 1]

非永続オペレーティング システムのターゲット名 ("\Device\HarddiskVolume1" など)。

Reserved

PortSpecificAttributes[1]

要件

要件
Header hbapiwmi.h (Hbapiwmi.h を含む)