DosQueryRASInfo

This function is undocumented.

It is believed that RAS is IBMspeak for "reliability and serviceability," meaning MB system trace. Used to be 'reliability, availability, serviceability'. Maybe it is part of the OS/2 event logging facility.

Syntax
APIRET APIENTRY DosQueryRASInfo(ULONG Index, PPVOID Addr);

Returns

 * NO_ERROR: Success
 * ERROR_INVALID_PARAMETER
 * ERROR_DENIED_ACCESS

Sample Code
 /* definitions for DosQueryRASInfo Index */
 * 1) define SIS_MMIOADDR           0
 * 2) define SIS_MEC_TABLE          1
 * 3) define SIS_SYS_LOG            2
 * 4) define LF_LOGENABLE   0x0001          /* Logging enabled */
 * 5) define LF_LOGAVAILABLE 0x0002         /* Logging available */

APIRET APIENTRY        DosQueryRASInfo(ULONG Index, PPVOID Addr); 