Reg_SetBinaryX64

Description

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

 

Syntax

Reg_SetBinaryX64(sHandle, sKey, sVariable, vValue) as Boolean

 

Parameters

sHandle (String)

HKEY-handle

sKey (String)

Subkey path

sVariable (String)

Name of variable to contain the value

vValue (Variant)

Binary value. Must be numbers only

 

Example

VBScript
Redim aTmp(2)
aTmp(0) = "10"
aTmp(1) = "1"
aTmp(2) = "5"
 
If bStatus Then bStatus = Reg_SetBinaryX64("HKLM", "Software\KeyName", "ValueName", aTmp)

Scripting Guidelines

 

Related functions

Registry Functions