Share via


ErrorInfo structure

This structure defines an AXE error.

Syntax

struct ErrorInfo {
  DWORD     size;
  UINT      index;
  UINT      assessmentIndex;
  ErrorType errorType;
  HRESULT   errorValue;
  WCHAR     file[MAX_PATH];
};

Members

size

The number of bytes in the structure. Used to detect different versions of structure.

index

The zero-based index of this error in the error list.

assessmentIndex

The zero-based index of the assessment in the job manifest. If the errorType and errorValue parameters indicate this error does not pertain to an assessment, this value will be ((unsigned int)-1) and should be ignored.

errorType

The type of error that occurred.

errorValue

The HRESULT error value that occurred during the operation.

file

The absolute path to the file that caused the failure. If there is no file associated with the error then this value will contain the empty string.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeHosting.h