Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 829 Bytes

File metadata and controls

42 lines (28 loc) · 829 Bytes

Home

Function name : DeregisterEventSource

Group: Event Logging - Library: advapi32


Closes a write handle to the specified event log.


Code examples:

Writing entries to custom Event Log

Declaration:

BOOL DeregisterEventSource(
  HANDLE hEventLog
);
  

FoxPro declaration:

DECLARE INTEGER DeregisterEventSource IN advapi32;
	INTEGER hEventLog  

Parameters:

hEventLog [in, out] A handle to the event log. This handle is returned by the RegisterEventSource function.


Return value:

If the function succeeds, the return value is nonzero.