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
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry |
Properties
Property | Type | Description |
---|---|---|
closekey | function | |
createkeyex | function | |
deletekey | function | |
deletevalue | function | |
enumkeyex | function | |
enumvalue | function | |
enumvalue_getbufsize | function | |
getvalue | function | |
openkeyex | function | |
queryvalueex | function | |
regfuncs | sharedlibrary | |
setvalueex_dword | function | |
setvalueex_string | function | |
type | type |
Methods
closekey()
Description
Prototype
win32_registryvar
.closekey
(
win32_registry
,
integer me
,
integer hkey
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
error | None | integer |
createkeyex()
Description
Prototype
win32_registryvar
.createkeyex
(
win32_registry
,
integer me
,
string hkey
,
integer subkey
,
integer options
,
integer samaccess
,
integer disposition
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
subkey | None | string | |
options | 0 | integer | |
samaccess | 983103 | integer | |
disposition | None | integer | |
error | None | integer |
deletekey()
Description
Prototype
win32_registryvar
.deletekey
(
win32_registry
,
integer me
,
string hkey
,
integer keyname
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
keyname | None | string | |
error | None | integer |
deletevalue()
Description
Prototype
win32_registryvar
.deletevalue
(
win32_registry
,
integer me
,
string hkey
,
integer valuename
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
valuename | None | string | |
error | None | integer |
enumkeyex()
Description
Prototype
win32_registryvar
.enumkeyex
(
win32_registry
,
integer me
,
integer hkey
,
integer index
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
index | None | integer | |
error | None | integer |
enumvalue()
Description
Prototype
win32_registryvar
.enumvalue
(
win32_registry
,
integer me
,
integer hkey
,
integer index
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
index | None | integer | |
error | None | integer |
getvalue()
Description
Prototype
win32_registryvar
.getvalue
(
win32_registry
,
integer me
,
string hkey
,
string subkey
,
integer valuename
,
integer flags
,
integer valuetype
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
subkey | None | string | |
valuename | None | string | |
flags | 65535 | integer | |
valuetype | None | integer | |
error | None | integer |
openkeyex()
Description
Prototype
win32_registryvar
.openkeyex
(
win32_registry
,
integer me
,
string hkey
,
integer subkey
,
integer samaccess
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
subkey | None | string | |
samaccess | 983103 | integer | |
error | None | integer |
queryvalueex()
Description
Prototype
win32_registryvar
.queryvalueex
(
win32_registry
,
integer me
,
string hkey
,
integer valuename
,
integer valuetype
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
valuename | None | string | |
valuetype | None | integer | |
error | None | integer |
setvalueex_dword()
Description
Prototype
win32_registryvar
.setvalueex_dword
(
win32_registry
,
integer me
,
string hkey
,
integer valuename
,
integer value
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
valuename | None | string | |
value | None | integer | |
error | None | integer |
setvalueex_string()
Description
Prototype
win32_registryvar
.setvalueex_string
(
win32_registry
,
integer me
,
string hkey
,
string valuename
,
integer value
,
integer valuetype
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | win32_registry | |
hkey | None | integer | |
valuename | None | string | |
value | None | string | |
valuetype | 1 | integer | |
error | None | integer |