Core Function RegRead

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> RegRead( <key>, <value>, <default> ) </pre> === Description === Reads a value from the registry === Parameters === ==== key ==== The registry key to read. ==== value ...")
Newer edit →

Revision as of 22:53, 27 April 2012

RegRead( <key>, <value>, <default> )

Contents

Description

Reads a value from the registry

Parameters

key

The registry key to read.

value

The value to read.

Return Value

Success: Returns the correct type of data if available.

Failure: Returns 0 if error occurs.

Remarks

None.

Example

my $var = RegRead(@"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion", @"ProgramFilesDir");
MsgBox("Program files are in: $var");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox