// 61883.h
typedef struct _GET_UNIT_IDS {
OUT LARGE_INTEGER UniqueID;
OUT ULONG VendorID;
OUT ULONG ModelID;
OUT ULONG ulVendorLength;
OUT PWSTR VendorText;
OUT ULONG ulModelLength;
OUT PWSTR ModelText;
OUT ULONG UnitModelID;
OUT ULONG ulUnitModelLength;
OUT PWSTR UnitModelText;
} GET_UNIT_IDS, *PGET_UNIT_IDS;
View the official Windows Driver Kit DDI referenceNo description available.
The GET_UNIT_CAPABILITIES structure is used in conjunction with the Av61883_GetUnitInfo request to retrieve device identifiers.
UniqueIDThe unique ID for the device from the bus information block within the configuration ROM of the unit.
VendorIDThe vendor ID for the device.
ModelIDThe model ID for the device. This value is retrieved from the root directory within the device's Configuration ROM.
ulVendorLengthThe length, in bytes, of the vendor text string, including the terminating UNICODE_NULL. If ulVendorLength is not zero in the input GET_UNIT_IDS structure, VendorText must point to a buffer whose size is sizeof(ulVendorLength).
VendorTextPoints to a buffer that receives the "friendly name" for the vendor as a Unicode string terminated with a UNICODE_NULL. If ulVendorLength is zero in the input GET_UNIT_IDS structure, VendorText is NULL.
ulModelLengthThe length, in bytes, of the model text string, including the terminating UNICODE_NULL. If ulModelLength is not zero in the input GET_UNIT_IDS structure, ModelText must point to a buffer whose size is sizeof(ulModelLength).
ModelTextPoints to a buffer to receive the "friendly name" for the model as a Unicode string terminated with a UNICODE_NULL. If ulModelLength is zero in the input GET_UNIT_IDS structure, ModelText is NULL. This value is retrieved from the root directory within the device's Configuration ROM.
UnitModelIDThe model ID for the device. This value is retrieved from the unit directory within the device's Configuration ROM.
ulUnitModelLengthThe length, in bytes, of the model text string, including the terminating UNICODE_NULL. If ulUnitModelLength is not zero in the input GET_UNIT_IDS structure, UnitModelText must point to a buffer whose size is sizeof(ulUnitModelLength).
UnitModelTextPoints to a buffer that receives the "friendly name" for the model represented as a Unicode string terminated with a UNICODE_NULL. If ulUnitModelLength is zero in the input GET_UNIT_IDS structure, UnitModelText will be NULL. This value is retrieved from the unit directory within the device's Configuration ROM.