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]\dllname,-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® 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". source.winehq.org/source/dlls/advapi32/registry.c

Debug channel "reg".


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