wwAPI::ReadRegistryString

Reads a string or integer value from the registry.

o.ReadRegistryString(tnHKey, tcSubkey, tcEntry, tlInteger)

Return Value

String value or Integer. If not found NULL is returned.

Parameters

tnHKey
HKEY value from WCONNECT.H

#DEFINE HKEY_CLASSES_ROOT           -2147483648  && (( HKEY ) 0x80000000 )
#DEFINE HKEY_CURRENT_USER           -2147483647  && (( HKEY ) 0x80000001 )
#DEFINE HKEY_LOCAL_MACHINE          -2147483646  && (( HKEY ) 0x80000002 )
#DEFINE HKEY_USERS                  -2147483645  && (( HKEY ) 0x80000003 )

tcSubkey
The key to read.

tcEntry
The value name to read.

tlInteger
If .T. the value read is converted to a VFP numeric value. Only works with DWORD entries.


See also:

Class wwAPI

© West Wind Technologies, 1996-2024 • Updated: 09/13/09
Comment or report problem with topic