Debugging Tools for Windows

HasUnnamedArg

The HasUnnamedArg method indicates whether a specified unnamed argument is present in the command line used to invoke the current extension command.

bool
  ExtExtension::HasUnnamedArg(
    IN ULONG  Index
    )

Parameters

Index
Specifies the index of the argument. Index should be between zero and the number of unnamed arguments returned by GetNumUnnamedArgs minus one (unnamed arguments - 1).

Return Value

HasUnnamedArg returns true if the argument is present; false if it is not present.

Comments

This method will work for all types of unnamed arguments. 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

GetNumUnnamedArgs

Build machine: CAPEBUILD