Jump to content

KernStrFromUcs: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
Line 1: Line 1:
This converts a string from Unicode to ASCII.
==Synopsis==
==Synopsis==
APIRET APIENTRY KernStrFromUcs(KEEUnicodeStruct* ucs, PCHAR trgt, PCHAR usrc, ULONG trgtsize, ULONG srcsize);
APIRET APIENTRY KernStrFromUcs(KEEUnicodeStruct* ucs, PCHAR trgt, PCHAR usrc, ULONG trgtsize, ULONG srcsize);
 
==Description==
This converts a string from Unicode to ASCII.


==Parameters==
==Parameters==

Revision as of 23:06, 9 June 2017

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