Jump to content

KernStrToUcs: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This converts a string from ASCII to Unicode.
==Synopsis==
==Synopsis==
APIRET APIENTRY KernStrToUcs(KEEUnicodeStruct* ucs, PCHAR utrgt, PCHAR src, ULONG trgtsize,ULONG srcsize);
APIRET APIENTRY KernStrToUcs(KEEUnicodeStruct* ucs, PCHAR utrgt, PCHAR src, ULONG trgtsize,ULONG srcsize);
 
==Description==
This converts a string from ASCII to Unicode.


==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