Jump to content

DosQueryRASInfo

From EDM2
Revision as of 23:14, 7 June 2019 by Ak120 (talk | contribs)

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 */
#define SIS_MMIOADDR            0
#define SIS_MEC_TABLE           1
#define SIS_SYS_LOG             2
#define LF_LOGENABLE    0x0001          /* Logging enabled */
#define LF_LOGAVAILABLE 0x0002          /* Logging available */

APIRET  APIENTRY        DosQueryRASInfo(ULONG Index, PPVOID Addr);