Jump to content

KernStrFromUcs

From EDM2
Revision as of 03:47, 28 May 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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