Description
This function is used to check if then named EventKey is exist in
the Registery of the local machine.
Parameter(s)
cKeyName
the name of a event key you will check.
Return Value
If the function succeeds, the return value is 0, every other value means an
error. To get extended error information, call XbEventGetLastError.
Sample #include "xbevent.ch"
local cKey := "MyEventEntry"
//
// create an Eventlog-Key
//
if (XbCheckEventKey(cKey) != 0) XbEventGetLastError(@cError)
? "Error :", cError
endif