Boolean InitFileReadStringBlock(
const char * category,
const char * key,
MemHandle * block,
InitFileReadFlags flags,
word * dataSize);
This routine reads a string entry in the GEOS.INI file, allocates a new block on the global heap, and copies the read string into the new block. It returns the first instance of the category/key combination it encounters, searching the local INI file first. Thus, local settings will always override system or network settings.
This routine is used for reading data written with
InitFileWriteString()
. Pass it the following parameters:
category
key
block
flags
InitFileReadFlags
indicating the method of character conversion upon reading (upcase all, downcase all, do not change).
dataSize
The function's return value will be
true
if an error occurs or if the entry could not be found; it will be
false
otherwise.
Include: initfile.h
Boolean InitFileReadStringBuffer(
const char * category,
const char * key,
char * buffer,
InitFileReadFlags flags,
word * dataSize);
This routine reads a string entry in the GEOS.INI file, copying it into a passed, locked buffer. It returns the first instance of the category/key combination it encounters, searching the local INI file first. Thus, local settings will always override system or network settings.
This routine is used for reading data written with
InitFileWriteString()
. Pass it the following parameters:
category
key
buffer
InitFileReadStringBlock()
.
flags
InitFileReadFlags
indicating the size of the passed buffer as well as the method of character conversion upon reading (upcase all, downcase all, do not change).
dataSize
The function's return value will be
true
if an error occurs or if the entry could not be found; it will be
false
otherwise.
Include: initfile.h
Boolean InitFileReadStringSectionBlock(
const char * category,
const char * key,
word section,
MemHandle * block,
InitFileReadFlags flags,
word * dataSize);
This routine reads a string section from the specified entry in the GEOS.INI file, allocates a new block on the global heap, and copies the read string section into the new block. It returns the first instance of the category/key combination it encounters, searching the local INI file first. Thus, local settings will always override system or network settings.
This routine is used for reading data written with
InitFileWriteString()
or
InitFileWriteStringSection()
. Pass it the following parameters:
category
key
section
block
flags
InitFileReadFlags
indicating the method of character conversion upon reading (upcase all, downcase all, do not change).
dataSize
The function's return value will be
true
if an error occurs or if the entry could not be found; it will be
false
otherwise.
Include: initfile.h
Boolean InitFileReadStringSectionBuffer(
const char * category,
const char * key,
word section,
char * buffer,
InitFileReadFlags flags,
word * dataSize);
This routine reads a string section from the specified entry in the GEOS.INI file, copying it into a passed, locked buffer. It returns the indicated section in the first instance of the category/key combination it encounters, searching the local INI file first. Thus, local settings will always override system or network settings.
This routine is used for reading data written with
InitFileWriteStringSection()
. Pass it the following parameters:
category
key
section
buffer
InitFileReadStringSectionBlock()
.
flags
InitFileReadFlags
indicating the size of the passed buffer as well as the method of character conversion upon reading (upcase all, downcase all, do not change).
dataSize
The function's return value will be
true
if an error occurs or if the entry could not be found; it will be
false
otherwise.
Include: initfile.h
GEOS SDK TechDocs
|
|
InitFileEnumStringSection() ...
|
InitFileRevert() ...