RMGetSnoopLevel

This rminfo service gets the next boot and default snoop level for the system. RMSaveDetectedData must save the previous.dat file before the snoop levels can be returned.

Syntax
RMGetSnoopLevel(SnoopLevel, SnoopFlags);

Parameters

 * SnoopLevel (USHORT) - input : Indicates the snoop level.

SNP_NO_RISK SNP_LOW_RISK SNP_MEDIUM_RISK SNP_HIGH_RISK SNP_WARP_RISK


 * SnoopFlags (USHORT) - input : Indicates how to use the snoop level.


 * SNP_FLG_DEFAULT : Sets snoop level to default.
 * SNP_FLG_NEXTBOOT : Sets snoop level for next boot only.

Return Code

 * rc (APIRET) - returns : On systems where the Resource Manager driver is not installed, the library interface code will return RMRC_NOT_INSTALLED.

Other possible return values follow: RMRC_BAD_FLAGS RMRC_NO_DETECTED_DATA RMRC_SUCCESS

Remarks
If both SnoopFlags are set, the default level and the next boot level values are reset in the previous.dat file.

C

 * 1) include 
 * 2) include 

USHORT   SnoopLevel; USHORT   SnoopFlags; APIRET   rc;

rc = RMGetSnoopLevel(SnoopLevel, SnoopFlags); 