Argument Access

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Argument Access.

The va_arg, va_end, and va_start macros provide access to function arguments when the number of arguments is variable. These macros are defined in STDARG.H for ANSI C compatibility and in VARARGS.H for compatibility with UNIX System V.

Argument-Access Macros

MacroUse.NET Framework equivalent
va_argRetrieve argument from listSystem::ParamArrayAttribute Class
va_endReset pointerSystem::ParamArrayAttribute Class
va_startSet pointer to beginning of argument listSystem::ParamArrayAttribute Class

Run-Time Routines by Category

Show: