Reg_SetIntegerX64

Description

Set the value of a registry variable of type integer in 64 bit registry from a 32 bit context

 

Syntax

Reg_SetIntegerX64(sHandle, sKey, sVariable, iValue) as Boolean

 

Parameters

sHandle (String)

HKEY-handle

sKey (String)

Subkey path

sVariable (String)

Name of variable to contain the value

iValue (Integer/Long)

Value of the type Integer or Long

 

Example

VBScript
If bStatus Then bStatus = Reg_SetIntegerX64("HKLM", "Software\KeyName", "ValueName", 5)

Scripting Guidelines

 

Related functions

Registry Functions