Jump to content

KernStrFromUcs: Difference between revisions

From EDM2
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
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]].
;trgt:Pointer to the ASCII buffer  
;''trgt'' ([[PCHAR]]) - input:Pointer to the ASCII buffer
;usrc:Pointer to the Unicode buffer  
;''usrc'' ([[PCHAR]]) - input:Pointer to the Unicode 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: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