Debugging Tools for Windows

SetArgU64

The SetArgU64 method sets a named expression argument for the current expression command.

bool
  ExtExtension::SetArgU64(
    IN PCSTR  Name,
    IN ULONG64  Arg,
    IN bool  OnlyIfUnset = false
    ) 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.
Arg
Specifies the value of the named expression argument.
OnlyIfUnset
Specifies what happens if the argument is already set. If OnlyIfUnset is true and the argument has already been set, the argument will not be changed. If OnlyIfUnset is false and the argument has already been set, the argument will be changed.

Return Value

SetArgU64 returns true if the argument was changed; false otherwise.

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