ExtExtension::GetUnnamedArgU64 method (engextcpp.hpp)

The GetUnnamedArgU64 method returns the value of an unnamed expression argument from the command line used to invoke the current extension command.

Syntax

ULONG64 GetUnnamedArgU64(
  [in] ULONG Index
);

Parameters

[in] Index

Specifies the index of the argument. The command-line description used in EXT_COMMAND must specify that the type of this argument is string. Index should be between zero and the number of unnamed arguments returned by GetNumUnnamedArgs minus one (unnamed arguments - 1).

Return value

GetUnnamedArgU64 returns the value of the unnamed expression argument.

Remarks

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

Requirement Value
Target Platform Desktop
Header engextcpp.hpp (include Engextcpp.hpp)

See also

EXT_COMMAND

ExtExtension

GetNumUnnamedArgs