RegLoadMUIStringW.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

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

Defined in "winreg.h".

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

Debug channel "reg".