Debugging Tools for Windows

GetNumUnnamedArgs

The GetNumUnnamedArgs method returns the number of unnamed arguments in the command line used to invoke the current extension command.

ULONG
  ExtExtension::GetNumUnnamedArgs(
    void
    )

Parameters

None.

Return Value

GetNumUnnamedArgs returns the number of unnamed arguments.

Comments

The indices of the unnamed arguments returned by GetNumUnnamedArgs range from zero to the number of unnamed arguments minus one (unnamed args - 1).

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.

Build machine: CAPEBUILD