EcOpenSubscriptionEnum function

The EcOpenSubscriptionEnum function is creates a subscription enumerator to enumerate all registered subscriptions on the local machine.


EC_HANDLE EcOpenSubscriptionEnum(
  DWORD Flags



Reserved. Must be 0.

Return Value

If the function succeeds, it returns an handle (EC_HANDLE) to a new subscription enumerator object. Returns NULL otherwise, in which case use the GetLastError function to obtain the error code.


Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header evcoll.h
Library Wecapi.lib
DLL Wecapi.dll

See Also

Windows Event Collector Functions