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

# RegLoadMUIStringW(3w)

## NAME

**RegLoadMUIStringW** (ADVAPI32.@)

## SYNOPSIS

LSTATUS RegLoadMUIStringW\
  (\
   HKEY    *hKey*,\
   LPCWSTR *pwszValue*,\
   LPWSTR  *pwszBuffer*,\
   DWORD   *cbBuffer*,\
   LPDWORD *pcbData*,\
   DWORD   *dwFlags*,\
   LPCWSTR *pwszBaseDir*\
  )

## DESCRIPTION

Load the localized version of a string resource from some **PE**, respective id and path of which are given in the registry value in the format @\[path\]llname,-resourceId.

## PARAMS

*hKey* **\[In\]**  Key, of which to load the string value from.

pszValue **\[In\]**  The value to be loaded (Has to be of **REG\_EXPAND\_SZ** or **REG\_SZ** type).

pszBuffer **\[Out\]**  Buffer to store the localized string in.

*cbBuffer* **\[In\]**  Size of the destination buffer in bytes.

*pcbData* **\[Out\]**  Number of bytes written to pszBuffer (optional, may be **NULL**).

*dwFlags* **\[In\]**  None supported yet.

pszBaseDir **\[In\]**  Not supported yet.

## RETURNS

**Success:** **ERROR\_SUCCESS**,

**Failure:** nonzero error code from Winerror.h.

## NOTES

This is an Api of Windows(tm) Vista, which wasn't available at the time this code was written. We have to check for the correct behaviour once it's available.

## IMPLEMENTATION

Declared in **"winreg.h"**.

Implemented in **"dlls/advapi32/registry.c"**.

Debug channel **"reg"**.
