在 GET_ERROR_STATUS 命令中使用。 请参阅 UCSI 规范版本 1.2中的表 4-47。
语法
typedef struct _UCSI_GET_ERROR_STATUS_IN {
union {
UINT16 AsUInt16;
struct {
UINT16 UnrecognizedCommandError : 1;
UINT16 NonExistentConnectorNumberError : 1;
UINT16 InvalidCommandParametersError : 1;
UINT16 IncompatibleConnectorPartnerError : 1;
UINT16 CcCommunicationError : 1;
UINT16 CommandFailureDueToDeadBattery : 1;
UINT16 ContractNegotiationFailure : 1;
};
} ErrorInformation;
UINT8 VendorDefined[14];
} UCSI_GET_ERROR_STATUS_IN, *PUCSI_GET_ERROR_STATUS_IN;
成员
ErrorInformation
ErrorInformation.AsUInt16
ErrorInformation.UnrecognizedCommandError
ErrorInformation.NonExistentConnectorNumberError
ErrorInformation.InvalidCommandParametersError
ErrorInformation.IncompatibleConnectorPartnerError
ErrorInformation.CcCommunicationError
ErrorInformation.CommandFailureDueToDeadBattery
ErrorInformation.ContractNegotiationFailure
VendorDefined[14]
要求
| 要求 | 价值 |
|---|---|
| 最低 KMDF 版本 | 1.27 |
| 最低 UMDF 版本 | N/A |
| 标头 | ucmucsispec.h (包括 UcmUcsiCx.h) |