The function behaves identically to vPrintfW but with some security enhancements.
- Parameters
-
[in] | pszFormat | is a pointer to a zero terminated wide string defining how to interpret data, passed as additional parameters, during the construction of the output. See PrintfW_s for the definition of the format lexemes. |
[in] | ap | is a variable argument list containing data used to construct an output string according to the format. |
- Returns
- On success the function returns a number of characters of the output not counting the terminating zero. If an output, encoding or runtime constraint violation error occurs the function returns a negative value.
If any of this constraints are violated the function will generate assertion and, if continue of execution is allowed, fail setting errno to EINVAL.
- See also
- PrintfW_s;
vPrintfW;
vPrintfA_s.