DosQueryRASInfo: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
==Syntax== | ==Syntax== | ||
APIRET APIENTRY DosQueryRASInfo(ULONG Index, PPVOID Addr); | APIRET APIENTRY DosQueryRASInfo(ULONG Index, PPVOID Addr); | ||
==Returns== | |||
; NO_ERROR: Success | |||
; ERROR_INVALID_PARAMETER | |||
; ERROR_DENIED_ACCESS | |||
==Sample Code== | ==Sample Code== |
Revision as of 00:30, 24 December 2017
![]() | |
---|---|
It is recommended to use a newer replacement for this function. | |
Replacement: | |
Remarks: | This page list the older version of the function for reference. |
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);