Jump to content

KernStrFromUcs

From EDM2

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