EcClose function (evcoll.h)

The EcClose function closes a handle received from other Event Collector functions. Any handle returned by an event collector management API call must be closed using this call when the user is finished with the handle. The handle becomes invalid when this function is successfully called.


BOOL EcClose(
  [in] EC_HANDLE Object


[in] Object

A valid open handle returned from an event collector management API call.

Return value

This function returns BOOL.


Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header evcoll.h
Library Wecapi.lib
DLL Wecapi.dll

See also

Windows Event Collector Functions