Jump to content

KernStrFromUcs

From EDM2
Revision as of 23:06, 9 June 2017 by Martini (talk | contribs)

This converts a string from Unicode to ASCII.

Synopsis

APIRET APIENTRY KernStrFromUcs(KEEUnicodeStruct* ucs, PCHAR trgt, PCHAR usrc, ULONG trgtsize, ULONG srcsize);

Parameters

ucs
Pointer to the Unicode conversion object created with KernCreateUconvObject.
trgt
Pointer to the ASCII buffer
usrc
Pointer to the Unicode buffer
trgtsize
length of the target buffer
srcsize
length of the source buffer