Resolves to vfPrintfA_s or to vfPrintfW_s depending on the template parameter.
- Template Parameters
-
CHAR_TYPE | is a template parameter specifying a type of strings the template specialization is to work with. That is CHAR_TYPE=char for multibyte strings in the current locale or CHAR_TYPE=wchar_t for wide strings. The corresponding functions, wrapped over by the template specializations, are vfPrintfA_s and vfPrintfW_s. |
- Parameters
-
[in] | stream | is a stream descriptor where the formatted string is flushed out. |
[in] | pszFormat | is a zero-terminated formatting string. |
[in] | ap | is a list of additional parameters corresponding to pszFormat. |
- 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.
See vfPrintfA_s and vfPrintfW_s for the details.