| C T L _ G E T S M P A R A M S ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English PORTA - CTL_#?
----------------------------------------------------------------------------
NAME
ctl_getsmparams() - Allows to obtain modeid and/or depth
from 'screenmode.prefs' file.
SYNOPSIS
res = ctl_getsmparams(filename, modeid, depth);
BOOL ctl_getsmparams(UBYTE *, ULONG *, UWORD *);
FUNCTION
This function allows to read modeid and/or depth from OS
file that defines display properties.
INPUTS
filename - NULL terminated string holding filename.
modeid - Address of ULONG container or NULL if data is
not to be obtained.
depth - Address of UWORD container or NULL if data is
not to be obtained..
RETURNS
Returns TRUE upon success or FALSE if operation couldnt
be completed.
BASES
SysBase, DOSBase
NOTES
Passing NULL to 'modeid' and 'depth' at the same time is
considered no-op.
SEE ALSO
ctl_setsmparams(), nfo_getscparams()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |