Debugging Tools for Windows

GetArgU64

The GetArgU64 method returns the value of a named expression argument from the command line used to invoke the current extension command.

ULONG64
  ExtExtension::GetArgU64(
    IN PCSTR  Name,
    IN bool  Required = true
    ) throw(...)

Parameters

Name
Specifies the name of the argument. The command-line description used in EXT_COMMAND must specify that the type of this argument is expression.
Required
Specifies if the argument is required. If Required is true and the argument was not present on the command line, ExtInvalidArgumentException is called. You do not need to set this parameter; if it is not set Required defaults to true.

Return Value

GetArgU64 returns the value of the named expression argument.

Comments

For an overview of argument parsing in the EngExtCpp extensions framework, see Parsing Extension Arguments.

This method should only be called during the execution of an extension command provided by this class.

Requirements

Headers: Defined in Engextcpp.hpp. Include Engextcpp.hpp.

See Also

EXT_COMMAND

Build machine: CAPEBUILD