STI_ERROR_INFOW结构(sti.h)

STI_ERROR_INFO结构用作 IStiDevice::GetLastErrorInfoIStiUSD::GetLastErrorInfo 方法的参数。 它还用作 STI_DIAG 结构的成员。

语法

typedef struct _ERROR_INFOW {
  DWORD dwSize;
  DWORD dwGenericError;
  DWORD dwVendorError;
  WCHAR szExtendedErrorText[255];
} STI_ERROR_INFOW, *PSTI_ERROR_INFOW;

成员

dwSize

STI_ERROR_INFO结构的调用方提供的大小(以字节为单位)。

dwGenericError

Win32 错误代码。

dwVendorError

可选的特定于供应商的错误代码。

szExtendedErrorText[255]

包含描述错误的文本字符串的可选字符数组。

要求

要求 价值
标头 sti.h (include Sti.h)