DeregisterEventSource

  BOOL DeregisterEventSource(hEventSource)    
  HANDLE hEventSource;    

The DeregisterEventSource function closes a handle returned by the RegisterEventSource function.

Parameters

hEventSource

Specifies the event-log handle returned by the RegisterEventSource function.

Return Value

The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.

See Also

RegisterEventSource