Partager via


structure MS_SMHBA_PORTATTRIBUTES (hbapiwmi.h)

La structure MS_SMHBA_PORTATTRIBUTES est utilisée pour signaler les informations de port.

Syntaxe

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;

Membres

PortType

Entier qui indique le type de port du port SMHBA.

PortState

Entier qui indique l’état actuel du port SMHBA.

PortSpecificAttributesSize

OSDeviceName[256 + 1]

Nom cible du système d’exploitation nonpersistent, par exemple « \Device\HarddiskVolume1 ».

Reserved

PortSpecificAttributes[1]

Exigences

Exigence Valeur
d’en-tête hbapiwmi.h (include Hbapiwmi.h)