// hbapiwmi.h
typedef struct _SM_GetTargetMapping_OUT {
ULONG HBAStatus;
ULONG TotalEntryCount;
ULONG OutEntryCount;
MS_SMHBA_SCSIENTRY Entry[1];
} SM_GetTargetMapping_OUT, *PSM_GetTargetMapping_OUT;
View the official Windows Driver Kit DDI referenceNo description available.
The SM_GetTargetMapping structure_OUT structure is used to receive output parameters from the SM_GetTargetMapping method.
HBAStatusThe status of the operation. For a list of allowed values and their descriptions, see HBA_STATUS.
TotalEntryCountThe total number of persistent bindings that are associated with the HBA.
OutEntryCountThe total number of mappings that are retrieved. This value will be less than or equal to TotalEntryCount.
EntryAn array of structures of type SMHBA_SCSIENTRY that describes an HBA's bindings between the operating system and the SAS identifiers.
The WMI tool suite generates a declaration of the SM_GetTargetMapping_OUT structure in Hbapiwmi.h when it compiles the MS_SM_TargetInformationMethods WMI class.