Jump to content

KernStrToUcs: Difference between revisions

From EDM2
Created page with "==Synopsis== APIRET APIENTRY KernStrToUcs(KEEUnicodeStruct* ucs, PCHAR utrgt, PCHAR src, ULONG trgtsize,ULONG srcsize); ==Description== This converts a string from ASCII to U..."
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This converts a string from ASCII to Unicode.
==Synopsis==
==Synopsis==
APIRET APIENTRY KernStrToUcs(KEEUnicodeStruct* ucs, PCHAR utrgt, PCHAR src, ULONG trgtsize,ULONG srcsize);
APIRET APIENTRY KernStrToUcs(KEEUnicodeStruct* ucs, PCHAR utrgt, PCHAR src, ULONG trgtsize,ULONG srcsize);
 
==Description==
This converts a string from ASCII to Unicode.


==Parameters==
==Parameters==
;''ucs'' (KEEUnicodeStruct*) - input:Pointer to the Unicode conversion object created with KernCreateUconvObject.
;''utrgt'' ([[PCHAR]]) - input:Pointer to the Unicode buffer
;''src'' ([[PCHAR]]) - input:Pointer to the ASCII buffer
;''trgtsize'' ([[ULONG]]) - input:length of the target buffer
;''srcsize'' ([[ULONG]]) - input:length of the source buffer


ucs
[[Category:KEE]]
    Pointer to the Unicode conversion object created with KernCreateUconvObject.
utrgt
    Pointer to the Unicode buffer
src
    Pointer to the ASCII buffer
trgtsize
    length of the target buffer
srcsize
    length of the source buffer
 
 
[[Category:The OS/2 API Project]]

Latest revision as of 03:48, 28 May 2025

This converts a string from ASCII to Unicode.

Synopsis

APIRET APIENTRY KernStrToUcs(KEEUnicodeStruct* ucs, PCHAR utrgt, PCHAR src, ULONG trgtsize,ULONG srcsize);

Parameters

ucs (KEEUnicodeStruct*) - input
Pointer to the Unicode conversion object created with KernCreateUconvObject.
utrgt (PCHAR) - input
Pointer to the Unicode buffer
src (PCHAR) - input
Pointer to the ASCII buffer
trgtsize (ULONG) - input
length of the target buffer
srcsize (ULONG) - input
length of the source buffer