REGGETDWORD

Top  Previous  Next

Syntax

string = REGGETDWORD(string key, pointer ValueName, opt defValue as UINT)

Description

Returns a registry dword value.

Parameters

key - The registry key path.

ValueName - The key to retrieve.
defValue - Optional. Value to return if key doesn't exist.

Return value

The dword value contained in the key.

Remarks

setting ValueName to NULL will retrieve the default value

Example usage

nValue=RegGetDword("HKEY_CURRENT_USER\\Software\\XYZCorp\\File","OpenLast",TRUE)