Boolean SysGetPenMode();
This routine returns true if GEOS is running on a pen-based system, false if it is not.
Include: system.h
DiskHandle SysLocateFileInDosPath( /* sets thread's error value */
const char * fname, /* file name */
char * buffer); /* returned path of file */
This routine searches for a specified file along the search path specified in the DOS environment variable PATH. The parameters are
fname
buffer
This routine returns the disk handle of the disk on which the file resides as well as the file's full path (with drive name) in the buffer pointed to by
buffer
. The path returned is a null-terminated character string. If the file could not be found, a null disk handle will be returned. The error value can be retrieved with
ThreadGetError()
.
Include: system.h
word SysNotify(
SysNotifyFlags flags, /* options to offer user */
const char * string1, /* first string to display */
const char * string2); /* second string to display */
This routine causes the kernel to put up a standard notification dialog box on the screen. This dialog box is white with a black border and is used nearly exclusively for error notification by the kernel. Pass this routine the following parameters:
flags
SysNotifyFlags
indicating the options the dialog presents to the user. These flags are shown below.
string1
string2
The returned word is the user's response, based on the
SysNotifyFlags
passed (see below).
Structures:
SysNotifyFlags
is a record of several flags; none, any, or all of the flags may be set at a time. The five flags are
Include: system.h
void SysSetECLevel(
ErrorCheckingFlags flags, /* level of error checking */
MemHandle checksumBlock); /* block to check, if any */
This routine sets the error-checking level of the software. Pass it a record of
ErrorCheckingFlags
indicating which levels of error checking should be employed. If checksum checking (ECF_BLOCK_CHECKSUM) is turned on, also pass the handle of a block on which the checksum will be performed.
Include: ec.h
GEOS SDK TechDocs
|
|
StreamWrite() ...
|
SysShutdown() ...