GINO Graphics Suite - GINO v9.0  

gEnqRegistryValue

Syntax

[C/C++:]
void gEnqRegistryValue(int registry, char *key, char value, int type, char *string, float data, int len);
[F90:]
subroutine gEnqRegistryValue(registry, key, value, type, string, data)

integer,           intent(in) :: registry
character*(*),  intent(in) :: key,value
integer,           intent(out) :: type
character*(*),  intent(out) :: string
real,                intent(out) :: data

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 under which data value exists

value
Name of data value

type
Type of data value

= GREGNONE, No type
= GREGSTR, String
= GREGEXPANDSTR, String containing unexpanded environment variables
= GREGBINARY, Binary value
= GREGVALUE, Real value
= GREGMULTISTR, Multi-string

string
String value setting

data
Numeric value setting

len
Length of string argument (C/C++ only)

Description

The routine gEnqRegistryValue() returns the type and setting of a data value which exists under an existing key in the top level registry within the Windows Registry. The data value is returned in string or data according to its defined type.

In C/C++ the application should declare string as 'char string[len+1];' in order to allocate enough space for the returned string plus the trailing NULL.

See Also

gEnqRegistryValue Usage
gEnqRegistryKeyInfo
gReturnRegistryKeys
gReturnRegistryValues