Skip to content

Latest commit

 

History

History
90 lines (68 loc) · 2.74 KB

nf-winddi-engmultibytetowidechar.md

File metadata and controls

90 lines (68 loc) · 2.74 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winddi.EngMultiByteToWideChar
EngMultiByteToWideChar function (winddi.h)
The EngMultiByteToWideChar function converts an ANSI source string into a wide character string using the specified code page.
EngMultiByteToWideChar
EngMultiByteToWideChar function [Display Devices]
display.engmultibytetowidechar
gdifncs_217d1045-3661-401b-af6e-148668ed97e4.xml
winddi/EngMultiByteToWideChar
display\engmultibytetowidechar.htm
display
7ed4f718-e28d-40d9-a3e0-c6961281a319
12/05/2018
EngMultiByteToWideChar, EngMultiByteToWideChar function [Display Devices], display.engmultibytetowidechar, gdifncs_217d1045-3661-401b-af6e-148668ed97e4.xml, winddi/EngMultiByteToWideChar
winddi.h
Winddi.h
Universal
Available in Windows 2000 and later versions of the Windows operating systems.
Win32k.lib
Win32k.sys
Windows
19H1
EngMultiByteToWideChar
winddi/EngMultiByteToWideChar
c++
APIRef
kbSyntax
DllExport
Win32k.sys
Ext-MS-Win-GDI-Internal-Desktop-L1-1-0.dll
GDI32.dll
GDI32Full.dll
EngMultiByteToWideChar

EngMultiByteToWideChar function

-description

The EngMultiByteToWideChar function converts an ANSI source string into a wide character string using the specified code page.

-parameters

-param CodePage [in]

Specifies the code page to use to perform the translation.

-param WideCharString [out, optional]

Pointer to the buffer into which the translated character string is copied.

-param BytesInWideCharString [in]

Specifies the size, in bytes, of WideCharString. If WideCharString is not large enough to contain the translation, EngMultiByteToWideChar truncates the string, and does not report an error.

-param MultiByteString [in, optional]

Pointer to the buffer containing the multibyte string to be translated.

-param BytesInMultiByteString [in]

Specifies the number of bytes in MultiByteString.

-returns

The EngMultiByteToWideChar function returns the number of bytes it converted to wide character form, if successful. Otherwise, the function returns -1.

-see-also

EngUnicodeToMultiByteN

EngWideCharToMultiByte