* @brief Implementation of event_disable function * * @param EventId * * @return VOID */
| 1033 | * @return VOID |
| 1034 | */ |
| 1035 | VOID |
| 1036 | ScriptEngineFunctionEventDisable(UINT64 EventId) |
| 1037 | { |
| 1038 | #ifdef SCRIPT_ENGINE_USER_MODE |
| 1039 | ShowMessages("err, disabling events is not possible in user-mode\n"); |
| 1040 | #endif // SCRIPT_ENGINE_USER_MODE |
| 1041 | |
| 1042 | #ifdef SCRIPT_ENGINE_KERNEL_MODE |
| 1043 | if (!DebuggerDisableEvent(EventId + DebuggerEventTagStartSeed)) |
| 1044 | { |
| 1045 | LogInfo("Invalid tag id (%x)", EventId); |
| 1046 | } |
| 1047 | #endif // SCRIPT_ENGINE_KERNEL_MODE |
| 1048 | } |
| 1049 | |
| 1050 | /** |
| 1051 | * @brief Implementation of event_clear function |
no test coverage detected