VM_CHSET_CONVERT_RESULT vm_chset_convert( VM_CHSET_ENCODING source_type, VM_CHSET_ENCODING destination_type, const VMCHAR* source, VMCHAR* destination, VMINT destination_size );
VM_CHSET_CONVERT_RESULT vm_chset_convert( VM_CHSET_ENCODING source_type, VM_CHSET_ENCODING destination_type, const VMCHAR* source, VMCHAR* destination, VMINT destination_size );
Converts a string between 2 character sets, and add the corresponding terminate character to the destination string. The caller should ensure that the size of the destination buffer is large enough to contain the resulting string. If not, the conversion will only convert a part of the source string up to the size of the destination buffer. In other words, the resulting string is a truncated string up to the size of the destination buffer.
|
Parameters |
Description |
|
VM_CHSET_ENCODING source_type |
[IN] The character set of the source string. |
|
VM_CHSET_ENCODING destination_type |
[IN] The character set of the resulting string. |
|
const VMCHAR* source |
[IN] The source string. |
|
VMCHAR* destination |
[OUT] The resulting string. |
|
VMINT destination_size |
[IN] The size of the destination buffer in bytes. |
vmchset.h
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.