GINO Graphics Suite - GINO v9.0  

gEnqRegistryKeyInfo

Syntax

[C/C++:]
int gEnqRegistryKeyInfo(int registry, char *key, int *nsub, int *maxsub, int *nval, int *maxval, int *maxdat);
[F90:]
integer function gEnqRegistryKeyInfo(registry, key, nsub, maxsub, nval, maxval, maxdat)

integer,           intent(in) :: registry
character*(*),  intent(in) :: key
integer,           intent(out) :: nsub,maxsub,nval,maxval,maxdat

Arguments

registry
Top level registry root key

= GREGCLASSESROOT, Root classes registry
= GREGCURRENTUSER, Current User Registry
= GREGLOCALMACHINE, Local Machine Registry
= GREGUSERS, Users Registry
= GREGCURRENTCONFIG, Current Configuration Registry

key
Name of key for which information is required

nsub
Number of subkeys

maxsub
Length of longest subkey name

nval
Number of data values

maxval
Length of longest data value name

maxdat
Length of longest data value setting in bytes/characters

Description

The function gEnqRegistryKeyInfo() returns information pertaining to the subkeys and data values for the specified key in the top level registry within the Windows Registry.

The function returns a zero value if the specified key does not exist.

See Also

gEnqRegistryKeyInfo Usage
gEnqRegistryValue
gReturnRegistryKeys
gReturnRegistryValues