Header Header

Property handling


Detailed Description

Functions for property handling.


Functions

int gx_getproperty (gxHANDLE handle, const wchar_t *name, wchar_t *string, int maxlen)
 Gets the value of the specified property (Unicode version).
int gx_getpropertya (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets the value of the specified property (ASCII version).
int gx_getproperty (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets the value of the specified property (ASCII version).
int gx_getpropertyint (gxHANDLE handle, const wchar_t *name, int *ivalue)
 Gets the integer value of the specified property (Unicode version).
int gx_getproperty (gxHANDLE handle, const wchar_t *name, int *ivalue)
 Gets the integer value of the specified property (Unicode version).
int gx_getpropertyinta (gxHANDLE handle, const char *name, int *ivalue)
 Gets the integer value of the specified property (ASCII version).
int gx_getproperty (gxHANDLE handle, const char *name, int *ivalue)
 Gets the integer value of the specified property (ASCII version).
int gx_getpropertyint (gxHANDLE handle, const char *name, int *ivalue)
 Gets the integer value of the specified property (ASCII version).
int gx_getpropertyfloat (gxHANDLE handle, const wchar_t *name, double *fvalue)
 Gets the floating-point value of the specified property (Unicode version).
int gx_getproperty (gxHANDLE handle, const wchar_t *name, double *fvalue)
 Gets the floating-point value of the specified property (Unicode version).
int gx_getpropertyfloata (gxHANDLE handle, const char *name, double *fvalue)
 Gets the floating-point value of the specified property (ASCII version).
int gx_getproperty (gxHANDLE handle, const char *name, double *fvalue)
 Gets the floating-point value of the specified property (ASCII version).
int gx_getpropertyfloat (gxHANDLE handle, const char *name, double *fvalue)
 Gets the floating-point value of the specified property (ASCII version).
int gx_setproperty (gxHANDLE handle, const wchar_t *name, const wchar_t *string)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).
int gx_setpropertya (gxHANDLE handle, const char *name, const char *string)
 Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).
int gx_setproperty (gxHANDLE handle, const char *name, const char *string)
 Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).
int gx_setpropertyint (gxHANDLE handle, const wchar_t *name, int ivalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).
int gx_setproperty (gxHANDLE handle, const wchar_t *name, int ivalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).
int gx_setpropertyinta (gxHANDLE handle, const char *name, int ivalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).
int gx_setproperty (gxHANDLE handle, const char *name, int ivalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).
int gx_setpropertyint (gxHANDLE handle, const char *name, int ivalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).
int gx_setpropertyfloat (gxHANDLE handle, const wchar_t *name, double fvalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).
int gx_setproperty (gxHANDLE handle, const wchar_t *name, double fvalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).
int gx_setpropertyfloata (gxHANDLE handle, const char *name, double fvalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).
int gx_setproperty (gxHANDLE handle, const char *name, double fvalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).
int gx_setpropertyfloat (gxHANDLE handle, const char *name, double fvalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).
int gx_getpropertytype (gxHANDLE handle, const wchar_t *name, int *type)
 Gets the type of the specified property (Unicode version).
int gx_getpropertytypea (gxHANDLE handle, const char *name, int *type)
 Gets the type of the specified property (ASCII version).
int gx_getpropertytype (gxHANDLE handle, const char *name, int *type)
 Gets the type of the specified property (ASCII version).
int gx_rmproperties (gxHANDLE handle, const wchar_t *name)
 Removes a property and its subproperties from the specified place in the property tree (Unicode version).
int gx_rmpropertiesa (gxHANDLE handle, const char *name)
 Removes a property and its subproperties from the specified place in the property tree (ASCII version).
int gx_rmproperties (gxHANDLE handle, const char *name)
 Removes a property and its subproperties from the specified place in the property tree (ASCII version).
int gx_getproperties (gxHANDLE handle, const wchar_t *name, wchar_t *string, int maxlen)
 Gets the subproperties of a specified property from the property tree (Unicode version).
int gx_getpropertiesa (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets the subproperties of a specified property from the property tree (ASCII version).
int gx_getproperties (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets the subproperties of a specified property from the property tree (ASCII version).
int gx_getallproperties (gxHANDLE handle, const wchar_t *name, wchar_t *string, int maxlen)
 Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (Unicode version).
int gx_getallpropertiesa (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (ASCII version).
int gx_getallproperties (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (ASCII version).
int gx_setpropertyparent (gxHANDLE handle, const wchar_t *name, const wchar_t *string)
 Changes the parent of a specified property (Unicode version).
int gx_setpropertyparenta (gxHANDLE handle, const char *name, const char *string)
 Changes the parent of a specified property (ASCII version).
int gx_setpropertyparent (gxHANDLE handle, const char *name, const char *string)
 Changes the parent of a specified property (ASCII version).
int gx_getpropertyparent (gxHANDLE handle, const wchar_t *name, wchar_t *string, int maxlen)
 Gets the parent of a specified property (Unicode version).
int gx_getpropertyparenta (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets the parent of a specified property (ASCII version).
int gx_getpropertyparent (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets the parent of a specified property (ASCII version).
int gx_loadproperties (gxHANDLE handle, const wchar_t *name)
 Loads properties from a specified file (Unicode version).
int gx_loadpropertiesa (gxHANDLE handle, const char *name)
 Loads properties from a specified file (ASCII version).
int gx_loadproperties (gxHANDLE handle, const char *name)
 Loads properties from a specified file (ASCII version).
int gx_saveproperties (gxHANDLE handle, const wchar_t *name, int unicode)
 Saves properties into a specified file (Unicode version).
int gx_saveproperties (gxHANDLE handle, const wchar_t *name)
 Saves properties into a specified file (Unicode version).
int gx_savepropertiesa (gxHANDLE handle, const char *name, int unicode=false)
 Saves properties into a specified file (ASCII version).
int gx_saveproperties (gxHANDLE handle, const char *name, int unicode=false)
 Saves properties into a specified file (ASCII version).
int gx_flushproperties (gxHANDLE handle)
 Forces writing of all buffered data.
int gx_getproperty (const wchar_t *name, wchar_t *string, int maxlen)
 Gets the value of the specified property (Obsolete).
int gx_getproperty (const char *name, char *string, int maxlen)
 Gets the value of the specified property (Obsolete).
int gx_getproperty (const wchar_t *name, int *ivalue)
 Gets the integer value of the specified property (Obsolete).
int gx_getproperty (const char *name, int *ivalue)
 Gets the integer value of the specified property (Obsolete).
int gx_getproperty (const wchar_t *name, double *fvalue)
 Gets the floating-point value of the specified property (Obsolete).
int gx_getproperty (const char *name, double *fvalue)
 Gets the floating-point value of the specified property (Obsolete).
int gx_setproperty (const wchar_t *name, const wchar_t *string)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).
int gx_setproperty (const char *name, const char *string)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).
int gx_setproperty (const wchar_t *name, int ivalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).
int gx_setproperty (const char *name, int ivalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).
int gx_setproperty (const wchar_t *name, double fvalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).
int gx_setproperty (const char *name, double fvalue)
 Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).
int gx_getpropertytype (const wchar_t *name, int *type)
 Gets the type of a specified property (Obsolete).
int gx_getpropertytype (const char *name, int *type)
 Gets the type of a specified property (Obsolete).
int gx_rmproperties (const wchar_t *name)
 Removes a property and its subproperties at the specified place from the property tree (Obsolete).
int gx_rmproperties (const char *name)
 Removes a property and its subproperties the a specified place from the property tree (Obsolete).
int gx_getproperties (const wchar_t *name, wchar_t *string, int maxlen)
 Gets the subproperties of the specified property from the property tree (Obsolete).
int gx_getproperties (const char *name, char *string, int maxlen)
 Gets the subproperties of the specified property from the property tree (Obsolete).
int gx_getallproperties (const wchar_t *name, wchar_t *string, int maxlen)
 Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (Obsolete).
int gx_getallproperties (const char *name, char *string, int maxlen)
 Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (Obsolete).
int gx_setpropertyparent (const wchar_t *name, const wchar_t *string)
 Changes the parent of a specified property (Obsolete).
int gx_setpropertyparent (const char *name, const char *string)
 Changes the parent of a specified property (Obsolete).
int gx_getpropertyparent (const wchar_t *name, wchar_t *string, int maxlen)
 Gets the parent of a specified property (Obsolete).
int gx_getpropertyparent (const char *name, char *string, int maxlen)
 Gets the parent of a specified property (Obsolete).
int gx_flushproperties (void)
 Forces a write of all buffered data (Obsolete).
int gx_getmoduleproperty (gxHANDLE handle, const wchar_t *name, wchar_t *string, int maxlen)
 Gets a property of the specified module (Unicode version).
int gx_getmodulepropertya (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets a property of the specified module (ASCII version).
int gx_getmoduleproperty (gxHANDLE handle, const char *name, char *string, int maxlen)
 Gets a property of the specified module (ASCII version).
int gx_getmodulepropertyint (gxHANDLE handle, const wchar_t *name, int *ivalue)
 Gets an integer property of the specified module (Unicode version).
int gx_getmoduleproperty (gxHANDLE handle, const wchar_t *name, int *ivalue)
 Gets an integer property of the specified module (Unicode version).
int gx_getmodulepropertyinta (gxHANDLE handle, const char *name, int *ivalue)
 Gets an integer property of the specified module (ASCII version).
int gx_getmoduleproperty (gxHANDLE handle, const char *name, int *ivalue)
 Gets an integer property of the specified module (ASCII version).
int gx_getmodulepropertyint (gxHANDLE handle, const char *name, int *ivalue)
 Gets an integer property of the specified module (ASCII version).
int gx_getmodulepropertyfloat (gxHANDLE handle, const wchar_t *name, double *fvalue)
 Gets a floating-point property of the specified module (Unicode version).
int gx_getmoduleproperty (gxHANDLE handle, const wchar_t *name, double *fvalue)
 Gets a floating-point property of the specified module (Unicode version).
int gx_getmodulepropertyfloata (gxHANDLE handle, const char *name, double *fvalue)
 Gets a floating-point property of the specified module (ASCII version).
int gx_getmoduleproperty (gxHANDLE handle, const char *name, double *fvalue)
 Gets a floating-point property of the specified module (ASCII version).
int gx_getmodulepropertyfloat (gxHANDLE handle, const char *name, double *fvalue)
 Gets a floating-point property of the specified module (ASCII version).
int gx_getmodulepropertyversion (gxHANDLE handle, const wchar_t *name, unsigned int *version)
 Gets a version property of the specified module (Unicode version).
int gx_getmodulepropertyversiona (gxHANDLE handle, const char *name, unsigned int *version)
 Gets a version property of the specified module (ASCII version).
int gx_getmodulepropertyversion (gxHANDLE handle, const char *name, unsigned int *version)
 Gets a version property of the specified module (ASCII version).
int gx_setmoduleproperty (gxHANDLE handle, const wchar_t *name, const wchar_t *string)
 Sets a property of the specified module (Unicode version).
int gx_setmodulepropertya (gxHANDLE handle, const char *name, const char *string)
 Sets a property of the specified module (ASCII version).
int gx_setmoduleproperty (gxHANDLE handle, const char *name, const char *string)
 Sets a property of the specified module (ASCII version).
int gx_setmodulepropertyint (gxHANDLE handle, const wchar_t *name, int ivalue)
 Sets an integer property of the specified module (Unicode version).
int gx_setmoduleproperty (gxHANDLE handle, const wchar_t *name, int ivalue)
 Sets an integer property of the specified module (Unicode version).
int gx_setmodulepropertyinta (gxHANDLE handle, const char *name, int ivalue)
 Sets an integer property of the specified module (ASCII version).
int gx_setmoduleproperty (gxHANDLE handle, const char *name, int ivalue)
 Sets an integer property of the specified module (ASCII version).
int gx_setmodulepropertyint (gxHANDLE handle, const char *name, int ivalue)
 Sets an integer property of the specified module (ASCII version).
int gx_setmodulepropertyfloat (gxHANDLE handle, const wchar_t *name, double fvalue)
 Sets a floating-point property of the specified module (Unicode version).
int gx_setmoduleproperty (gxHANDLE handle, const wchar_t *name, double fvalue)
 Sets a floating-point property of the specified module (Unicode version).
int gx_setmodulepropertyfloata (gxHANDLE handle, const char *name, double fvalue)
 Sets a floating-point property of the specified module (ASCII version).
int gx_setmoduleproperty (gxHANDLE handle, const char *name, double fvalue)
 Sets a floating-point property of the specified module (ASCII version).
int gx_setmodulepropertyfloat (gxHANDLE handle, const char *name, double fvalue)
 Sets a floating-point property of the specified module (ASCII version).
int gx_mpstarttransaction (gxHANDLE handle)
 It starts the property transaction.
int gx_mpcommit (gxHANDLE handle)
 It ends the property transaction and updates your changes to module.
int gx_savemoduleproperties (gxHANDLE handle, const wchar_t *name, int level=0)
 Saves properties of a module stored in the memory to a branch of the property tree stored on a mass storage device (Unicode version).
int gx_savemodulepropertiesa (gxHANDLE handle, const char *name, int level=0)
 Saves properties of a module stored in the memory to a branch of the property tree stored on a mass storage device (ASCII version).
int gx_savemoduleproperties (gxHANDLE handle, const char *name, int level=0)
 Saves properties of a module stored in the memory to a branch of the property tree stored on a mass storage device (ASCII version).


Function Documentation

int gx_getproperty ( gxHANDLE  handle,
const wchar_t *  name,
wchar_t *  string,
int  maxlen 
) [inline]

Gets the value of the specified property (Unicode version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the value.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetProperty(), gx_getproperty(), gx_getpropertyfloat(), and gx_getpropertyint().

int gx_getpropertya ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the value of the specified property (ASCII version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the value.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetProperty(), gx_getproperty(), gx_getpropertyfloata(), and gx_getpropertyinta().

int gx_getproperty ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the value of the specified property (ASCII version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the value.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertya().

int gx_getpropertyint ( gxHANDLE  handle,
const wchar_t *  name,
int *  ivalue 
) [inline]

Gets the integer value of the specified property (Unicode version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Pointer to a memory area where to store the integer value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getproperty().

Referenced by gxProperty::GetProperty(), gxProperty::GetPropertyInt(), and gx_getproperty().

int gx_getproperty ( gxHANDLE  handle,
const wchar_t *  name,
int *  ivalue 
) [inline]

Gets the integer value of the specified property (Unicode version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Pointer to a memory area where to store the integer value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertyint().

int gx_getpropertyinta ( gxHANDLE  handle,
const char *  name,
int *  ivalue 
) [inline]

Gets the integer value of the specified property (ASCII version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Pointer to a memory area where to store the integer value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertya().

Referenced by gxProperty::GetProperty(), gxProperty::GetPropertyInt(), gx_getproperty(), and gx_getpropertyint().

int gx_getproperty ( gxHANDLE  handle,
const char *  name,
int *  ivalue 
) [inline]

Gets the integer value of the specified property (ASCII version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Pointer to a memory area where to store the integer value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertyinta().

int gx_getpropertyint ( gxHANDLE  handle,
const char *  name,
int *  ivalue 
) [inline]

Gets the integer value of the specified property (ASCII version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Pointer to a memory area where to store the integer value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertyinta().

int gx_getpropertyfloat ( gxHANDLE  handle,
const wchar_t *  name,
double *  fvalue 
) [inline]

Gets the floating-point value of the specified property (Unicode version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Pointer to a memory area where to store the floating-point value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getproperty().

Referenced by gxProperty::GetProperty(), gxProperty::GetPropertyFloat(), and gx_getproperty().

int gx_getproperty ( gxHANDLE  handle,
const wchar_t *  name,
double *  fvalue 
) [inline]

Gets the floating-point value of the specified property (Unicode version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Pointer to a memory area where to store the floating-point value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertyfloat().

int gx_getpropertyfloata ( gxHANDLE  handle,
const char *  name,
double *  fvalue 
) [inline]

Gets the floating-point value of the specified property (ASCII version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Pointer to a memory area where to store the floating-point value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertya().

Referenced by gxProperty::GetProperty(), gxProperty::GetPropertyFloat(), gx_getproperty(), and gx_getpropertyfloat().

int gx_getproperty ( gxHANDLE  handle,
const char *  name,
double *  fvalue 
) [inline]

Gets the floating-point value of the specified property (ASCII version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Pointer to a memory area where to store the floating-point value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertyfloata().

int gx_getpropertyfloat ( gxHANDLE  handle,
const char *  name,
double *  fvalue 
) [inline]

Gets the floating-point value of the specified property (ASCII version).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Pointer to a memory area where to store the floating-point value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertyfloata().

int gx_setproperty ( gxHANDLE  handle,
const wchar_t *  name,
const wchar_t *  string 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).

Note:
If the property exists it changes the value.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::ClearProperty(), gx_setproperty(), gx_setpropertyfloat(), gx_setpropertyint(), and gxProperty::SetProperty().

int gx_setpropertya ( gxHANDLE  handle,
const char *  name,
const char *  string 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).

Note:
If the property exists it changes the value.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::ClearProperty(), gx_setproperty(), gx_setpropertyfloata(), gx_setpropertyinta(), and gxProperty::SetProperty().

int gx_setproperty ( gxHANDLE  handle,
const char *  name,
const char *  string 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).

Note:
If the property exists it changes the value.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertya().

int gx_setpropertyint ( gxHANDLE  handle,
const wchar_t *  name,
int  ivalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).

Note:
If the property exists it changes the value. The integer value is converted to string and then written in the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setproperty().

Referenced by gx_setproperty(), and gxProperty::SetProperty().

int gx_setproperty ( gxHANDLE  handle,
const wchar_t *  name,
int  ivalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).

Note:
If the property exists it changes the value. The integer value is converted to string and then written in the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertyint().

int gx_setpropertyinta ( gxHANDLE  handle,
const char *  name,
int  ivalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).

Note:
If the property exists it changes the value. The integer value is converted to string and then written to the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertya().

Referenced by gx_setproperty(), gx_setpropertyint(), and gxProperty::SetProperty().

int gx_setproperty ( gxHANDLE  handle,
const char *  name,
int  ivalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).

Note:
If the property exists it changes the value. The integer value is converted to string and then written to the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertyinta().

int gx_setpropertyint ( gxHANDLE  handle,
const char *  name,
int  ivalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).

Note:
If the property exists it changes the value. The integer value is converted to string and then written to the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertyinta().

int gx_setpropertyfloat ( gxHANDLE  handle,
const wchar_t *  name,
double  fvalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).

Note:
If the property exists it changes the value. The floating-point value is converted to string and then written to the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setproperty().

Referenced by gx_setproperty(), and gxProperty::SetProperty().

int gx_setproperty ( gxHANDLE  handle,
const wchar_t *  name,
double  fvalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Unicode version).

Note:
If the property exists it changes the value. The floating-point value is converted to string and then written to the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertyfloat().

int gx_setpropertyfloata ( gxHANDLE  handle,
const char *  name,
double  fvalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).

Note:
If the property exists it changes the value. The floating-point value is converted to string and then written to the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertya().

Referenced by gx_setproperty(), gx_setpropertyfloat(), and gxProperty::SetProperty().

int gx_setproperty ( gxHANDLE  handle,
const char *  name,
double  fvalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).

Note:
If the property exists it changes the value. The floating-point value is converted to string and then written to the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertyfloata().

int gx_setpropertyfloat ( gxHANDLE  handle,
const char *  name,
double  fvalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (ASCII version).

Note:
If the property exists it changes the value. The floating-point value is converted to string and then written to the tree.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertyfloata().

int gx_getpropertytype ( gxHANDLE  handle,
const wchar_t *  name,
int *  type 
) [inline]

Gets the type of the specified property (Unicode version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
type Pointer to a memory area where to store the property type (see GX_PROPERTYTYPES).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetPropertyType(), and gx_getpropertytype().

int gx_getpropertytypea ( gxHANDLE  handle,
const char *  name,
int *  type 
) [inline]

Gets the type of the specified property (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
type Pointer to a memory area where to store the property type (see GX_PROPERTYTYPES).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetPropertyType(), and gx_getpropertytype().

int gx_getpropertytype ( gxHANDLE  handle,
const char *  name,
int *  type 
) [inline]

Gets the type of the specified property (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
type Pointer to a memory area where to store the property type (see GX_PROPERTYTYPES).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertytypea().

int gx_rmproperties ( gxHANDLE  handle,
const wchar_t *  name 
) [inline]

Removes a property and its subproperties from the specified place in the property tree (Unicode version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_rmproperties(), and gxProperty::RmProperties().

int gx_rmpropertiesa ( gxHANDLE  handle,
const char *  name 
) [inline]

Removes a property and its subproperties from the specified place in the property tree (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_rmproperties(), and gxProperty::RmProperties().

int gx_rmproperties ( gxHANDLE  handle,
const char *  name 
) [inline]

Removes a property and its subproperties from the specified place in the property tree (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_rmpropertiesa().

int gx_getproperties ( gxHANDLE  handle,
const wchar_t *  name,
wchar_t *  string,
int  maxlen 
) [inline]

Gets the subproperties of a specified property from the property tree (Unicode version).

Note:
The names are separated with LF.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetProperties(), and gx_getproperties().

int gx_getpropertiesa ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the subproperties of a specified property from the property tree (ASCII version).

Note:
The names are separated with LF.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetProperties(), and gx_getproperties().

int gx_getproperties ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the subproperties of a specified property from the property tree (ASCII version).

Note:
The names are separated with LF.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertiesa().

int gx_getallproperties ( gxHANDLE  handle,
const wchar_t *  name,
wchar_t *  string,
int  maxlen 
) [inline]

Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (Unicode version).

Note:
The names are separated with LF.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetAllProperties(), and gx_getallproperties().

int gx_getallpropertiesa ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (ASCII version).

Note:
The names are separated with LF.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetAllProperties(), and gx_getallproperties().

int gx_getallproperties ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (ASCII version).

Note:
The names are separated with LF.
Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getallpropertiesa().

int gx_setpropertyparent ( gxHANDLE  handle,
const wchar_t *  name,
const wchar_t *  string 
) [inline]

Changes the parent of a specified property (Unicode version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Parent of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::ClearPropertyParent(), gx_setpropertyparent(), and gxProperty::SetPropertyParent().

int gx_setpropertyparenta ( gxHANDLE  handle,
const char *  name,
const char *  string 
) [inline]

Changes the parent of a specified property (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Parent of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::ClearPropertyParent(), gx_setpropertyparent(), and gxProperty::SetPropertyParent().

int gx_setpropertyparent ( gxHANDLE  handle,
const char *  name,
const char *  string 
) [inline]

Changes the parent of a specified property (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Parent of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setpropertyparenta().

int gx_getpropertyparent ( gxHANDLE  handle,
const wchar_t *  name,
wchar_t *  string,
int  maxlen 
) [inline]

Gets the parent of a specified property (Unicode version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the parent of the property.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetPropertyParent(), and gx_getpropertyparent().

int gx_getpropertyparenta ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the parent of a specified property (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the parent of the property.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetPropertyParent(), and gx_getpropertyparent().

int gx_getpropertyparent ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the parent of a specified property (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the parent of the property.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getpropertyparenta().

int gx_loadproperties ( gxHANDLE  handle,
const wchar_t *  name 
) [inline]

Loads properties from a specified file (Unicode version).

Parameters:
handle Handle of an opened property module.
name Name of the property file.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::Load().

int gx_loadpropertiesa ( gxHANDLE  handle,
const char *  name 
) [inline]

Loads properties from a specified file (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property file.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_loadproperties(), and gxProperty::Load().

int gx_loadproperties ( gxHANDLE  handle,
const char *  name 
) [inline]

Loads properties from a specified file (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property file.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_loadpropertiesa().

int gx_saveproperties ( gxHANDLE  handle,
const wchar_t *  name,
int  unicode 
) [inline]

Saves properties into a specified file (Unicode version).

Parameters:
handle Handle of an opened property module.
name Name of the property file.
unicode If it is true, the file will be unicode.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_saveproperties(), and gxProperty::Save().

int gx_saveproperties ( gxHANDLE  handle,
const wchar_t *  name 
) [inline]

Saves properties into a specified file (Unicode version).

Parameters:
handle Handle of an opened property module.
name Name of the property file.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_saveproperties().

int gx_savepropertiesa ( gxHANDLE  handle,
const char *  name,
int  unicode = false 
) [inline]

Saves properties into a specified file (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property file.
unicode If it is true, the file will be unicode.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_saveproperties(), and gxProperty::Save().

int gx_saveproperties ( gxHANDLE  handle,
const char *  name,
int  unicode = false 
) [inline]

Saves properties into a specified file (ASCII version).

Parameters:
handle Handle of an opened property module.
name Name of the property file.
unicode If it is true, the file will be unicode.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_savepropertiesa().

int gx_flushproperties ( gxHANDLE  handle  )  [inline]

Forces writing of all buffered data.

Parameters:
handle Handle of an opened property module.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::Flush(), and gx_flushproperties().

int gx_getproperty ( const wchar_t *  name,
wchar_t *  string,
int  maxlen 
) [inline]

Gets the value of the specified property (Obsolete).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the value.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getproperty().

int gx_getproperty ( const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the value of the specified property (Obsolete).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the value.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getproperty().

int gx_getproperty ( const wchar_t *  name,
int *  ivalue 
) [inline]

Gets the integer value of the specified property (Obsolete).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
name Name of the property and place in the property tree.
ivalue Pointer to a memory area where to store the integer value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getproperty().

int gx_getproperty ( const char *  name,
int *  ivalue 
) [inline]

Gets the integer value of the specified property (Obsolete).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
name Name of the property and place in the property tree.
ivalue Pointer to a memory area where to store the integer value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getproperty().

int gx_getproperty ( const wchar_t *  name,
double *  fvalue 
) [inline]

Gets the floating-point value of the specified property (Obsolete).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
name Name of the property and place in the property tree.
fvalue Pointer to a memory area where to store the floating-point value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getproperty().

int gx_getproperty ( const char *  name,
double *  fvalue 
) [inline]

Gets the floating-point value of the specified property (Obsolete).

Note:
If there is no such property in the property tree, it tries to return the value from the inherited path or the /default path of the tree.
Parameters:
name Name of the property and place in the property tree.
fvalue Pointer to a memory area where to store the floating-point value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getproperty().

int gx_setproperty ( const wchar_t *  name,
const wchar_t *  string 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).

Note:
If the property exists it changes the value.
Parameters:
name Name of the property and place in the property tree.
string Value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_setproperty().

int gx_setproperty ( const char *  name,
const char *  string 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).

Note:
If the property exists it changes the value.
Parameters:
name Name of the property and place in the property tree.
string Value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_setproperty().

int gx_setproperty ( const wchar_t *  name,
int  ivalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).

Note:
If the property exists it changes the value. The integer value is converted to string and then written to the tree.
Parameters:
name Name of the property and place in the property tree.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_setproperty().

int gx_setproperty ( const char *  name,
int  ivalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).

Note:
If the property exists it changes the value. The integer value is converted to string and then written to the tree.
Parameters:
name Name of the property and place in the property tree.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_setproperty().

int gx_setproperty ( const wchar_t *  name,
double  fvalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).

Note:
If the property exists it changes the value. The floating-point value is converted to string and then written to the tree.
Parameters:
name Name of the property and place in the property tree.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_setproperty().

int gx_setproperty ( const char *  name,
double  fvalue 
) [inline]

Creates a property with the specified name in the property tree and assigns the specified value to it (Obsolete).

Note:
If the property exists it changes the value. The floating-point value is converted to string and then written to the tree.
Parameters:
name Name of the property and place in the property tree.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_setproperty().

int gx_getpropertytype ( const wchar_t *  name,
int *  type 
) [inline]

Gets the type of a specified property (Obsolete).

Parameters:
name Name of the property and place in the property tree.
type Pointer to a memory area where to store the property type (see GX_PROPERTYTYPES).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getpropertytype().

int gx_getpropertytype ( const char *  name,
int *  type 
) [inline]

Gets the type of a specified property (Obsolete).

Parameters:
name Name of the property and place in the property tree.
type Pointer to a memory area where to store the property type (see GX_PROPERTYTYPES).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getpropertytype().

int gx_rmproperties ( const wchar_t *  name  )  [inline]

Removes a property and its subproperties at the specified place from the property tree (Obsolete).

Parameters:
name Name of the property and place in the property tree.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_rmproperties().

int gx_rmproperties ( const char *  name  )  [inline]

Removes a property and its subproperties the a specified place from the property tree (Obsolete).

Parameters:
name Name of the property and place in the property tree.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_rmproperties().

int gx_getproperties ( const wchar_t *  name,
wchar_t *  string,
int  maxlen 
) [inline]

Gets the subproperties of the specified property from the property tree (Obsolete).

Note:
The names are separated with LF.
Parameters:
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getproperties().

int gx_getproperties ( const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the subproperties of the specified property from the property tree (Obsolete).

Note:
The names are separated with LF.
Parameters:
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getproperties().

int gx_getallproperties ( const wchar_t *  name,
wchar_t *  string,
int  maxlen 
) [inline]

Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (Obsolete).

Note:
The names are separated with LF.
Parameters:
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getallproperties().

int gx_getallproperties ( const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the subproperties and parents of a specified property from the property tree and from the /default subtree (Obsolete).

Note:
The names are separated with LF.
Parameters:
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the names.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getallproperties().

int gx_setpropertyparent ( const wchar_t *  name,
const wchar_t *  string 
) [inline]

Changes the parent of a specified property (Obsolete).

Parameters:
name Name of the property and place in the property tree.
string Parent of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_setpropertyparent().

int gx_setpropertyparent ( const char *  name,
const char *  string 
) [inline]

Changes the parent of a specified property (Obsolete).

Parameters:
name Name of the property and place in the property tree.
string Parent of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_setpropertyparent().

int gx_getpropertyparent ( const wchar_t *  name,
wchar_t *  string,
int  maxlen 
) [inline]

Gets the parent of a specified property (Obsolete).

Parameters:
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the parent of the property.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getpropertyparent().

int gx_getpropertyparent ( const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets the parent of a specified property (Obsolete).

Parameters:
name Name of the property and place in the property tree.
string Pointer to a memory area where to store the parent of the property.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_getpropertyparent().

int gx_flushproperties ( void   )  [inline]

Forces a write of all buffered data (Obsolete).

Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_direct(), and gx_flushproperties().

int gx_getmoduleproperty ( gxHANDLE  handle,
const wchar_t *  name,
wchar_t *  string,
int  maxlen 
) [inline]

Gets a property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
string Pointer to a memory area where to store the value.
maxlen Size of the memory area in characters (not bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetModuleProperty(), gxHandle::GetProperty(), gx_getmodulepropertyfloat(), gx_getmodulepropertyint(), and gx_getmodulepropertyversion().

int gx_getmodulepropertya ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets a property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
string Pointer to a memory area where to store the value.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxProperty::GetModuleProperty(), gxHandle::GetProperty(), gx_getmoduleproperty(), gx_getmodulepropertyfloata(), gx_getmodulepropertyinta(), and gx_getmodulepropertyversiona().

int gx_getmoduleproperty ( gxHANDLE  handle,
const char *  name,
char *  string,
int  maxlen 
) [inline]

Gets a property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
string Pointer to a memory area where to store the value.
maxlen Size of the memory area in characters (or bytes).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertya().

int gx_getmodulepropertyint ( gxHANDLE  handle,
const wchar_t *  name,
int *  ivalue 
) [inline]

Gets an integer property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Pointer to an integer where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmoduleproperty().

Referenced by gxProperty::GetModuleProperty(), gxProperty::GetModulePropertyInt(), gxHandle::GetProperty(), gxHandle::GetPropertyInt(), and gx_getmoduleproperty().

int gx_getmoduleproperty ( gxHANDLE  handle,
const wchar_t *  name,
int *  ivalue 
) [inline]

Gets an integer property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Pointer to an integer where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertyint().

int gx_getmodulepropertyinta ( gxHANDLE  handle,
const char *  name,
int *  ivalue 
) [inline]

Gets an integer property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Pointer to an integer where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertya().

Referenced by gxProperty::GetModuleProperty(), gxProperty::GetModulePropertyInt(), gxHandle::GetProperty(), gxHandle::GetPropertyInt(), gx_getmoduleproperty(), and gx_getmodulepropertyint().

int gx_getmoduleproperty ( gxHANDLE  handle,
const char *  name,
int *  ivalue 
) [inline]

Gets an integer property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Pointer to an integer where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertyinta().

int gx_getmodulepropertyint ( gxHANDLE  handle,
const char *  name,
int *  ivalue 
) [inline]

Gets an integer property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Pointer to an integer where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertyinta().

int gx_getmodulepropertyfloat ( gxHANDLE  handle,
const wchar_t *  name,
double *  fvalue 
) [inline]

Gets a floating-point property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
fvalue Pointer to a floating-point where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmoduleproperty().

Referenced by gxProperty::GetModuleProperty(), gxProperty::GetModulePropertyFloat(), gxHandle::GetProperty(), gxHandle::GetPropertyFloat(), and gx_getmoduleproperty().

int gx_getmoduleproperty ( gxHANDLE  handle,
const wchar_t *  name,
double *  fvalue 
) [inline]

Gets a floating-point property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
fvalue Pointer to a floating-point where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertyfloat().

int gx_getmodulepropertyfloata ( gxHANDLE  handle,
const char *  name,
double *  fvalue 
) [inline]

Gets a floating-point property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
fvalue Pointer to a floating-point where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertya().

Referenced by gxProperty::GetModuleProperty(), gxProperty::GetModulePropertyFloat(), gxHandle::GetProperty(), gxHandle::GetPropertyFloat(), gx_getmoduleproperty(), and gx_getmodulepropertyfloat().

int gx_getmoduleproperty ( gxHANDLE  handle,
const char *  name,
double *  fvalue 
) [inline]

Gets a floating-point property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
fvalue Pointer to a floating-point where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertyfloata().

int gx_getmodulepropertyfloat ( gxHANDLE  handle,
const char *  name,
double *  fvalue 
) [inline]

Gets a floating-point property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
fvalue Pointer to a floating-point where to store the value.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertyfloata().

int gx_getmodulepropertyversion ( gxHANDLE  handle,
const wchar_t *  name,
unsigned int *  version 
) [inline]

Gets a version property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
version Pointer to an integer where to store the version.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmoduleproperty().

Referenced by gxHandle::GetPropertyVersion().

int gx_getmodulepropertyversiona ( gxHANDLE  handle,
const char *  name,
unsigned int *  version 
) [inline]

Gets a version property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
version Pointer to an integer where to store the version.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertya().

Referenced by gxHandle::GetPropertyVersion(), and gx_getmodulepropertyversion().

int gx_getmodulepropertyversion ( gxHANDLE  handle,
const char *  name,
unsigned int *  version 
) [inline]

Gets a version property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
version Pointer to an integer where to store the version.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_getmodulepropertyversiona().

int gx_setmoduleproperty ( gxHANDLE  handle,
const wchar_t *  name,
const wchar_t *  string 
) [inline]

Sets a property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
string Value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_setmodulepropertyfloat(), gx_setmodulepropertyint(), gxProperty::SetModuleProperty(), and gxHandle::SetProperty().

int gx_setmodulepropertya ( gxHANDLE  handle,
const char *  name,
const char *  string 
) [inline]

Sets a property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
string Value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_setmoduleproperty(), gx_setmodulepropertyfloata(), gx_setmodulepropertyinta(), and gxHandle::SetProperty().

int gx_setmoduleproperty ( gxHANDLE  handle,
const char *  name,
const char *  string 
) [inline]

Sets a property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
string Value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmodulepropertya().

int gx_setmodulepropertyint ( gxHANDLE  handle,
const wchar_t *  name,
int  ivalue 
) [inline]

Sets an integer property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmoduleproperty().

Referenced by gx_setmoduleproperty(), gxProperty::SetModuleProperty(), and gxHandle::SetProperty().

int gx_setmoduleproperty ( gxHANDLE  handle,
const wchar_t *  name,
int  ivalue 
) [inline]

Sets an integer property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmodulepropertyint().

int gx_setmodulepropertyinta ( gxHANDLE  handle,
const char *  name,
int  ivalue 
) [inline]

Sets an integer property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmodulepropertya().

Referenced by gx_setmoduleproperty(), gx_setmodulepropertyint(), gxProperty::SetModuleProperty(), and gxHandle::SetProperty().

int gx_setmoduleproperty ( gxHANDLE  handle,
const char *  name,
int  ivalue 
) [inline]

Sets an integer property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmodulepropertyinta().

int gx_setmodulepropertyint ( gxHANDLE  handle,
const char *  name,
int  ivalue 
) [inline]

Sets an integer property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
ivalue Integer value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmodulepropertyinta().

int gx_setmodulepropertyfloat ( gxHANDLE  handle,
const wchar_t *  name,
double  fvalue 
) [inline]

Sets a floating-point property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle handle of the module.
name Name of the property.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmoduleproperty().

Referenced by gx_setmoduleproperty(), gxProperty::SetModuleProperty(), and gxHandle::SetProperty().

int gx_setmoduleproperty ( gxHANDLE  handle,
const wchar_t *  name,
double  fvalue 
) [inline]

Sets a floating-point property of the specified module (Unicode version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle handle of the module.
name Name of the property.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmodulepropertyfloat().

int gx_setmodulepropertyfloata ( gxHANDLE  handle,
const char *  name,
double  fvalue 
) [inline]

Sets a floating-point property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmodulepropertya().

Referenced by gx_setmoduleproperty(), gx_setmodulepropertyfloat(), gxProperty::SetModuleProperty(), and gxHandle::SetProperty().

int gx_setmoduleproperty ( gxHANDLE  handle,
const char *  name,
double  fvalue 
) [inline]

Sets a floating-point property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmodulepropertyfloata().

int gx_setmodulepropertyfloat ( gxHANDLE  handle,
const char *  name,
double  fvalue 
) [inline]

Sets a floating-point property of the specified module (ASCII version).

Module properties can be found at the description of the specified module. These settings are unique for each module handle and are not stored on the mass storage device.
Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Name of the property.
fvalue Floating-point value of the property.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_setmodulepropertyfloata().

int gx_mpstarttransaction ( gxHANDLE  handle  )  [inline]

It starts the property transaction.

The module accepts but doesn't update properties (setmoduleproperty). You must use 'gx_mpcommit' to updates these properties.

Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxHandle::MPStartTransaction().

int gx_mpcommit ( gxHANDLE  handle  )  [inline]

It ends the property transaction and updates your changes to module.

Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxHandle::MPCommit().

int gx_savemoduleproperties ( gxHANDLE  handle,
const wchar_t *  name,
int  level = 0 
) [inline]

Saves properties of a module stored in the memory to a branch of the property tree stored on a mass storage device (Unicode version).

Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Place of property in the property tree.
level Higher numbers give more details (0 = basic properties, 100 = all properties).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gxHandle::SaveProperties().

int gx_savemodulepropertiesa ( gxHANDLE  handle,
const char *  name,
int  level = 0 
) [inline]

Saves properties of a module stored in the memory to a branch of the property tree stored on a mass storage device (ASCII version).

Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Place of property in the property tree.
level Higher numbers give more details (0 = basic properties, 100 = all properties).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_call().

Referenced by gx_savemoduleproperties(), and gxHandle::SaveProperties().

int gx_savemoduleproperties ( gxHANDLE  handle,
const char *  name,
int  level = 0 
) [inline]

Saves properties of a module stored in the memory to a branch of the property tree stored on a mass storage device (ASCII version).

Warning:
Not supported by each module!
Parameters:
handle Handle of the module.
name Place of property in the property tree.
level Higher numbers give more details (0 = basic properties, 100 = all properties).
Returns:
On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).

References gx_savemodulepropertiesa().


Generated  for GX
(c) ARH Inc.