共用方式為


CreateProcess element

AXE supports the CreateProcess method. AXE uses the fundamental create process API to specify an executable and a command line for that executable. This would also include an optional current directory.

Usage

<CreateProcess>
  child elements
</CreateProcess>

Attributes

There are no attributes.

Child elements

Element Description
ApplicationName
This is the file path and name to the assessment s executable.

CreateNewConsole
The present of this tag causes AXE to set the CREATE_NEW_CONSOLE flag in the call to CreateProcess.

CreateNoWindow
The presence of this tag causes AXE to set the CREATE_NO_WINDOW flag in the call to CreateProcess.

DetachedProcess
The presence of this tag causes AXE to set the DETACHED_PROCESS flag in the call to CreateProcess.

RequiresUIAccess
The presence of this tag indicates that the assessment requires UI access in order to manipulate UI elements.

Child element sequence

(
  ApplicationName, 
  CreateNewConsole, 
  CreateNoWindow, 
  DetachedProcess, 
  RequiresUIAccess
)

Parent elements

Element Description
Execution
This node describes how AXE executes an assessment.

Remarks

This tag specifies that AXE uses the Win32 API CreateProcessW() to run the assessment. This node requires the following sub nodes. Note that AXE only calls the UNICODE (wide) version of this API.

Here, AXE determines the command line as documented in the AXE Assessment Assembly Design document.

Element information

Can be empty No

See also

AXE Assessment Manifest