Function Reference


Loads the specified string from the specified key and subkey

#include <WinAPIReg.au3>
_WinAPI_RegLoadMUIString ( $hKey, $sValueName [, $sDirectory = ''] )


$hKey Handle to an open registry key. The key must have been opened with the $KEY_QUERY_VALUE access right.
This handle is returned by the _WinAPI_RegCreateKey() or _WinAPI_RegOpenKey() function. It can also
be one of the following predefined keys.
$sValueName The name of the registry value.
$sDirectory [optional] The directory path.

Return Value

Success: The loaded string.
Failure: Sets the @error flag to non-zero, @extended flag may contain the system error code.


The strings of the following form receive special handling:


The string with identifier strID is loaded from dllname; the path is optional. If the $sDirectory parameter is
empty string, the directory is prepended to the path specified in the registry data. Note that dllname can contain
environment variables to be expanded.

This function requires Windows Vista or later.


_WinAPI_RegCreateKey, _WinAPI_RegOpenKey

See Also

Search RegLoadMUIString in MSDN Library.