Jump to content

KernStrToUcs: Difference between revisions

From EDM2
No edit summary
No edit summary
 
Line 5: Line 5:


==Parameters==
==Parameters==
;ucs:Pointer to the Unicode conversion object created with KernCreateUconvObject.
;''ucs'' (KEEUnicodeStruct*) - input:Pointer to the Unicode conversion object created with KernCreateUconvObject.
;utrgt:Pointer to the Unicode buffer
;''utrgt'' ([[PCHAR]]) - input:Pointer to the Unicode buffer
;src:Pointer to the ASCII buffer
;''src'' ([[PCHAR]]) - input:Pointer to the ASCII buffer
;trgtsize:length of the target buffer
;''trgtsize'' ([[ULONG]]) - input:length of the target buffer
;srcsize:length of the source buffer
;''srcsize'' ([[ULONG]]) - input:length of the source buffer


[[Category:KEE]]
[[Category:KEE]]

Latest revision as of 03:48, 28 May 2025

This converts a string from ASCII to Unicode.

Synopsis

APIRET APIENTRY KernStrToUcs(KEEUnicodeStruct* ucs, PCHAR utrgt, PCHAR src, ULONG trgtsize,ULONG srcsize);

Parameters

ucs (KEEUnicodeStruct*) - input
Pointer to the Unicode conversion object created with KernCreateUconvObject.
utrgt (PCHAR) - input
Pointer to the Unicode buffer
src (PCHAR) - input
Pointer to the ASCII buffer
trgtsize (ULONG) - input
length of the target buffer
srcsize (ULONG) - input
length of the source buffer