| DEPRECATED: | Since Creo 3 | ||||||||||
| SUPERSEDED BY: | No successor will be provided. | ||||||||||
| Description | |||||||||||
| Converts a native-encoded multibyte string to a Creo Parametric compatible UNICODE-encoded multibyte string. Use this function when you have a native-encoded multibyte string from an external interface that needs to sent to Creo Parametric as a char*.
The resulting string will always be NULL-terminated as long as the result buffer has sufficient space for this. |
|||||||||||
| Synopsis | |||||||||||
| #include <ProUtil.h> | |||||||||||
| ProError | ProNativestringToString | ( | |||||||||
| char* result | |||||||||||
| /* (Out) | |||||||||||
| The UNICODE-encoded widestring. The function must supply enough memory for this result. | |||||||||||
| */ | |||||||||||
| int result_size | |||||||||||
| /* (In) | |||||||||||
| The size of the buffer supplied for conversion. | |||||||||||
| */ | |||||||||||
| char* input | |||||||||||
| /* (In) | |||||||||||
| The legacy-encoded string. | |||||||||||
| */ | |||||||||||
| int input_size | |||||||||||
| /* (In) | |||||||||||
| The size of the input widestring supplied for conversion. If this is PRO_VALUE_UNUSED, the entire input string should be converted. | |||||||||||
| */ | |||||||||||
| ) | |||||||||||
| Returns | |||||||||||
|
|||||||||||