GINO Graphics Suite - GINO v9.0
gCreateRegistryValue
Syntax
[C/C++:]
int gCreateRegistryValue (int registry, char *key, char value, int type, char *string, float data);
[F90:]
integer function gCreateRegistryValue (registry, key, value, type, string, data) integer,           intent(in) :: registry,type character*(*),  intent(in) :: key,value,string real,                intent(in) :: 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 new data value is to be created
value
Name of new data value
type
Type of data value
= GREGEXPANDSTR,
String containing unexpanded environment variables
= GREGBINARY,
Binary value
= GREGMULTISTR,
Multi-string
string
String value setting
data
Numeric value setting
Description
The function gCreateRegistryValue() creates a new data
value under an existing
key in the top level
registry within the Windows Registry. The data value is set using
string or
data according to its defined
type .
The function returns a zero value if the creation is successful, or a system error code if not.
See Also
gCreateRegistryKey Usage gCreateRegistryKey gDeleteRegistryValue