Category Creo Parametric TOOLKIT fundamentals, Object ProWstring

Function ProTKSwprintf


Description
Provides a UNICODE-supported equivalent to the C run time function swprintf(). This function supports all format specifiers and modifiers as are supported by the C-language specification. The output buffer will contain UNICODE data.
Synopsis
#include <ProTKRunTime.h>
intProTKSwprintf(
wchar_t* buffer
/* (Out)
The buffer into which the output will be printed.
*/
const wchar_t* format_string
/* (In)
The format string.
*/
...
/* (In)
The variant values to replace the format specifiers included in the string.
*/
)
Returns
ValueThe number of characters copied into the buffer.