This function checks whether a rule is enabled for a given type of program.
Context
Windows client,
Windows server.
Parameters
- ALPHA(n) |
RuleId |
Internal ID of the rule. |
- ALPHA(4) |
ProgramType |
Program type (AD_I, AD_B, etc.). |
- BOOL |
ReturnCode |
Return code for the operation: *TRUE if the rule is enabled. *FALSE if the rule is disabled or does not exist. |
Example
BEGIN_PROCEDURE BEGIN_PGM
...
BOOL RULE_ENABLED
...
PARAM PGMNAME PGMTYP
...
CALL_DLL 'qualmgrtoolbx' 'QMIsRuleEnabled' 'MyRule' PGMTYP RULE_ENABLED
...
IF RULE_ENABLED
...
END
...