struktur MS_SMHBA_PORTATTRIBUTES (hbapiwmi.h)

Struktur MS_SMHBA_PORTATTRIBUTES digunakan untuk melaporkan informasi port.

Sintaks

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;

Anggota

PortType

Bilangan bulat yang menunjukkan jenis port port SMHBA.

PortState

Bilangan bulat yang menunjukkan status port SMHBA saat ini.

PortSpecificAttributesSize

OSDeviceName[256 + 1]

Nama target sistem operasi yang tidak konsisten, misalnya "\Device\HarddiskVolume1".

Reserved

PortSpecificAttributes[1]

Persyaratan

Persyaratan Nilai
Header hbapiwmi.h (termasuk Hbapiwmi.h)