KS_removeSystemHandler
The function KS_removeSystemHandler uninstalls a system event handler.
C/C++
Error KS_removeSystemHandler(int eventMask);
Delphi
function KS_removeSystemHandler(eventMask: int): Error;
C#
int KS_removeSystemHandler(int eventMask);
Parameters
eventMask (int)
Specifies the event which should be uninstalled, can binary ored together.
KS_SYSTEM_CRASH | System crash (with blue screen). |
KS_SYSTEM_SHUTDOWN | Regular system shutdown. |
KS_SYSTEM_PROCESS_ATTACH | Another process calls KS_openDriver. |
KS_SYSTEM_PROCESS_DETACH | Another process calls KS_closeDriver after it calls KS_openDriver. |
KS_SYSTEM_PROCESS_ABORT | Another process terminated withput calling KS_closeDriver after it calls KS_openDriver. |
Return values
KSERROR_BAD_PARAM | One parameter is wrong. |
Comments
eventMask can contain OR-combined events.
Example 1
In the following example ….
... int ksError = KS_removeSystemHandler(eventMask); ... // error handling ...
Example 2
See smp\SystemHandler.
See also
Contained in: System Module
As part of Kithara »RealTime Suite«
Available since: version 7.00
Build date: 2013-04-17