DosQueryRASInfo: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
==Syntax== | ==Syntax== | ||
APIRET APIENTRY DosQueryRASInfo(ULONG Index, PPVOID Addr); | APIRET APIENTRY DosQueryRASInfo(ULONG Index, PPVOID Addr); | ||
==Parameters== | |||
;Index ([[ULONG]]) - input: | |||
;Addr (P[[PVOID]]) - input: | |||
==Returns== | ==Returns== |
Revision as of 00:22, 25 April 2025
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);
Parameters
- Index (ULONG) - input
- Addr (PPVOID) - input
Returns
- 0
- NO_ERROR: Success
- 5
- ERROR_DENIED_ACCESS
- 87
- ERROR_INVALID_PARAMETER
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);