UnicodeToMultiByte.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "setupapi.h".

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

Debug channel "setupapi".