NAME

RegLoadMUIStringW  (KERNELBASE.@)

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] Truncate output to fit the buffer if REG_MUI_STRING_TRUNCATE.
pszBaseDir [In] Base directory of loading path. If NULL, use the current directory.

RETURNS

Success: ERROR_SUCCESS,

Failure: nonzero error code from Winerror.h

IMPLEMENTATION

Declared in "include/winreg.h". gitlab.winehq.org/wine/wine/blob/master/include/winreg.h

Implemented in "dlls/kernelbase/registry.c". gitlab.winehq.org/wine/wine/blob/master/dlls/kernelbase/registry.c

Debug channel "reg".


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