The vswprintf function is equivalent to the swprintf 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. See also swprintf.