onlinedokumentation

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_CRASHSystem crash (with blue screen).
KS_SYSTEM_SHUTDOWNRegular system shutdown.
KS_SYSTEM_PROCESS_ATTACHAnother process calls KS_openDriver.
KS_SYSTEM_PROCESS_DETACHAnother process calls KS_closeDriver after it calls KS_openDriver.
KS_SYSTEM_PROCESS_ABORTAnother process terminated withput calling KS_closeDriver after it calls KS_openDriver.

Return values

KSERROR_BAD_PARAMOne 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

KS_installSystemHandler

Contained in: System Module

As part of Kithara »RealTime Suite«

Available since: version 7.00

Build date: 2013-04-17