Help Center

AfxCommandLineCountfunction

Returns the number of command line arguments used to call the program

WindowsfunctionAfxWin.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Return value

The number of command line arguments used to call the program.

Description

Returns the number of command line arguments used to call the program. WCommandArgsc is an alias for AfxCommandLineCount.

Example

FUNCTION AfxCommandLineCount (BYVAL nIndex AS LONG = -1) AS DWSTRING #define WCommandArgsc AfxCommandLineCount

Reference

  • Include file AfxWin.inc
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures