• XbDelEventKey(cKeyName)


    • Description
      This function is used to delete an EventKey from the Registery of the local machine.

    • Parameter(s)

      cKeyName
      the name of a event key.

    • 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"

    //
    // delete an Eventlog-Key
    //
    if (XbDelEventKey(cKey) != 0)
      XbEventGetLastError(@cError)
      ? "Error :", cError
    endif