---
name: "MultiByteToUnicode"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/MultiByteToUnicode"
---

# MultiByteToUnicode(3w)

## NAME

**MultiByteToUnicode** (SETUPAPI.@)

## SYNOPSIS

LPWSTR MultiByteToUnicode\
  (\
   LPCSTR *lpMultiByteStr*,\
   UINT   *uCodePage*\
  )

## DESCRIPTION

Converts a multi-byte string to a Unicode string.

## PARAMS

*lpMultiByteStr* **\[In\]**  Multi-byte string to be converted.

*uCodePage* **\[In\]**  Code page.

## RETURNS

**Success:** pointer to the converted Unicode string

**Failure:** **NULL**.

## NOTE

Use MyFree to release the returned Unicode string.

## IMPLEMENTATION

Declared in **"setupapi.h"**.

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

Debug channel **"setupapi"**.
