The vwprintf function is equivalent to the wprintf function, with the variable argument list replaced by the ap argument. Initialize ap with the va_start macro, and possibly with subsequent va_arg calls. The vwprintf function does not invoke the va_end macro. See also wprintf.