SIMPOL Documentation

Chapter 65. registrylib

win32_registry

Description

Type Tags

None

Object Value

Objects of type win32_registry have no value, and it is an error to try to get or set this value.

win32_registry.new()

Description

Prototype

win32_registry.new ( win32_registry me )

Parameters

ParameterDefault valueType nameDescription
meNonewin32_registry

Properties

PropertyTypeDescription
closekeyfunction
createkeyexfunction
deletekeyfunction
deletevaluefunction
enumkeyexfunction
enumvaluefunction
enumvalue_getbufsizefunction
getvaluefunction
openkeyexfunction
queryvalueexfunction
regfuncssharedlibrary
setvalueex_dwordfunction
setvalueex_stringfunction
typetype

Methods

closekey()

Description

Prototype

win32_registryvar.closekey ( win32_registry me, integer hkey, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
errorNoneinteger

createkeyex()

Description

Prototype

win32_registryvar.createkeyex ( win32_registry me, integer hkey, string subkey, integer options, integer samaccess, integer disposition, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
subkeyNonestring
options0integer
samaccess983103integer
dispositionNoneinteger
errorNoneinteger

deletekey()

Description

Prototype

win32_registryvar.deletekey ( win32_registry me, integer hkey, string keyname, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
keynameNonestring
errorNoneinteger

deletevalue()

Description

Prototype

win32_registryvar.deletevalue ( win32_registry me, integer hkey, string valuename, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
valuenameNonestring
errorNoneinteger

enumkeyex()

Description

Prototype

win32_registryvar.enumkeyex ( win32_registry me, integer hkey, integer index, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
indexNoneinteger
errorNoneinteger

enumvalue()

Description

Prototype

win32_registryvar.enumvalue ( win32_registry me, integer hkey, integer index, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
indexNoneinteger
errorNoneinteger

getvalue()

Description

Prototype

win32_registryvar.getvalue ( win32_registry me, integer hkey, string subkey, string valuename, integer flags, integer valuetype, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
subkeyNonestring
valuenameNonestring
flags65535integer
valuetypeNoneinteger
errorNoneinteger

openkeyex()

Description

Prototype

win32_registryvar.openkeyex ( win32_registry me, integer hkey, string subkey, integer samaccess, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
subkeyNonestring
samaccess983103integer
errorNoneinteger

queryvalueex()

Description

Prototype

win32_registryvar.queryvalueex ( win32_registry me, integer hkey, string valuename, integer valuetype, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
valuenameNonestring
valuetypeNoneinteger
errorNoneinteger

setvalueex_dword()

Description

Prototype

win32_registryvar.setvalueex_dword ( win32_registry me, integer hkey, string valuename, integer value, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
valuenameNonestring
valueNoneinteger
errorNoneinteger

setvalueex_string()

Description

Prototype

win32_registryvar.setvalueex_string ( win32_registry me, integer hkey, string valuename, string value, integer valuetype, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonewin32_registry
hkeyNoneinteger
valuenameNonestring
valueNonestring
valuetype1integer
errorNoneinteger