Resolves to scPrintfA or to scPrintfW 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 scPrintfA and scPrintfW. |
- Parameters
-
[in] | pszFormat | is a pointer to a zero terminated string defining how to interpret data, passed as additional parameters, during the construction of the output. |
| ... | constitute an optional set of additional parameters to build the formatted output according to pszFormat. |
- Returns
- On success the function returns a number of characters required to hold the formatted string except for the terminating null. On failure the function returns a negative number.
See scPrintfA and scPrintfW for the details.