EcOpenSubscriptionEnum function (evcoll.h)

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

Syntax

EC_HANDLE EcOpenSubscriptionEnum(
  [in] DWORD Flags
);

Parameters

[in] Flags

Reserved. Must be 0.

Return value

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

Requirements

Requirement Value
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