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 "winternl.h". https://source.winehq.org/source/include/winternl.h

Implemented in "dlls/setupapi/misc.c". https://source.winehq.org/source/dlls/setupapi/misc.c

Debug channel "setupapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.