Share via


SolutionError enumeration

Provides an enumeration of AXE errors that are pertinent to the Solution interface.

Syntax

enum SolutionError {
  SolutionErrorNone                   = 0, 
  SolutionErrorAlreadyInit            = AXE_E_ALREADY_INIT, 
  SolutionErrorWorkloadInit           = AXE_E_WORKLOAD_INIT, 
  SolutionErrorInternalError          = AXE_E_INTERNAL_ERROR, 
  SolutionErrorUnknownWin32Error      = AXE_E_UNKNOWN_WIN32_ERROR, 
  SolutionErrorBadManifest            = AXE_E_BAD_MANIFEST, 
  SolutionErrorJobRunning             = AXE_E_JOB_RUNNING, 
  SolutionErrorJobNotRunning          = AXE_E_JOB_NOT_RUNNING, 
  SolutionErrorShellExecuteNoProcess  = AXE_E_SHELLEXECUTE_NOPROCESS, 
  SolutionErrorQueuedEvents           = AXE_E_QUEUED_APC_EVENTS 

};

Constants

SolutionErrorNone

0

No error has occurred.

SolutionErrorAlreadyInit

0x80040200

The Axecore.dll cannot be initialized in both assessment and solution modes in the same process. However, it can be initialized in assessment mode and then in workload mode within the same process

SolutionErrorWorkloadInit

0x80040201

The Axecore.dll cannot be initialized by a solution in workload mode unless it is first initialized by an assessment.

SolutionErrorInternalError

0x80040202

An unexpected internal error occurred.

SolutionErrorUnknownWin32Error

0x80040203

An unknown Win32 system error occurred.

SolutionErrorBadManifest

0x80041000

The job manifest has bad or missing data.

SolutionErrorJobRunning

0x80041005

The engine is running a job, and the requested operation is only possible when a job is not executing.

SolutionErrorJobNotRunning

0x80041006

The engine is not currently running a job, and the requested operation is only possible when a job is executing.

SolutionErrorShellExecuteNoProcess

0x80041011

The assessment manifest described a ShellExecute() statement that did not result in a new process being created that AXE could wait on to finish.

SolutionErrorQueuedEvents

0x80041012

The registered event handlers cannot be changed while there are outstanding Asynchronous Procedure Calls (APCs) queued for the existing event handlers.

Remarks

Managed code uses the SolutionError enum.

Requirements

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