KernStrFromUcs: Difference between revisions
Appearance
Created page with "==Synopsis== APIRET APIENTRY KernStrFromUcs(KEEUnicodeStruct* ucs, PCHAR trgt, PCHAR usrc, ULONG trgtsize, ULONG srcsize); ==Description== This converts a string from Unicode..." |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This converts a string from Unicode to ASCII. | |||
==Synopsis== | ==Synopsis== | ||
APIRET APIENTRY KernStrFromUcs(KEEUnicodeStruct* ucs, PCHAR trgt, PCHAR usrc, ULONG trgtsize, ULONG srcsize); | APIRET APIENTRY KernStrFromUcs(KEEUnicodeStruct* ucs, PCHAR trgt, PCHAR usrc, ULONG trgtsize, ULONG srcsize); | ||
==Parameters== | ==Parameters== | ||
;''ucs'' (KEEUnicodeStruct*) - input:Pointer to the Unicode conversion object created with [[KernCreateUconvObject]]. | |||
;''trgt'' ([[PCHAR]]) - input:Pointer to the ASCII buffer | |||
;''usrc'' ([[PCHAR]]) - input:Pointer to the Unicode buffer | |||
;''trgtsize'' ([[ULONG]]) - input:Length of the target buffer | |||
;''srcsize'' ([[ULONG]]) - input:Length of the source buffer | |||
[[Category:KEE]] | |||
[[Category: |
Latest revision as of 03:47, 28 May 2025
This converts a string from Unicode to ASCII.
Synopsis
APIRET APIENTRY KernStrFromUcs(KEEUnicodeStruct* ucs, PCHAR trgt, PCHAR usrc, ULONG trgtsize, ULONG srcsize);
Parameters
- ucs (KEEUnicodeStruct*) - input
- Pointer to the Unicode conversion object created with KernCreateUconvObject.
- trgt (PCHAR) - input
- Pointer to the ASCII buffer
- usrc (PCHAR) - input
- Pointer to the Unicode buffer
- trgtsize (ULONG) - input
- Length of the target buffer
- srcsize (ULONG) - input
- Length of the source buffer