Reference

UnicodeToMultiByte(3w)

NAME

UnicodeToMultiByte (SETUPAPI.@)

SYNOPSIS

LPSTR UnicodeToMultiByte
(
LPCWSTR lpUnicodeStr,
UINT uCodePage
)

DESCRIPTION

Converts a Unicode string to a multi-byte string.

PARAMS

lpUnicodeStr [In] Unicode string to be converted.

uCodePage [In] Code page.

RETURNS

Success: pointer to the converted multi-byte string

Failure: NULL.

NOTE

Use MyFree to release the returned multi-byte string.

IMPLEMENTATION

Declared in "setupapi.h".

Implemented in "dlls/setupapi/misc.c".

Debug channel "setupapi".

History