Windows Event Collector Constants

The Windows Event Collector SDK contains the following constants.

EC_VARIANT_TYPE_MASK

0x7f

Used to mask out the array bit from the Type property of an EC_VARIANT to extract the type of the variant value.

EC_VARIANT_TYPE_ARRAY

128 (0x80)

When this bit is set in the Type property of an EC_VARIANT, the variant contains a pointer to an array of values, rather than the value itself.

EC_READ_ACCESS

1

Read access control permission that allows information to be read from the event collector.

EC_WRITE_ACCESS

2

Write access control permission that allows information to be written to the event collector.

EC_OPEN_ALWAYS

0

Opens an existing subscription or creates the subscription if it does not exist. Used by the EcOpenSubscription method.

EC_CREATE_NEW

1

A flag passed to the EcOpenSubscription function specifying that a new subscription should be created.

EC_OPEN_EXISTING

2

A flag passed to the EcOpenSubscription function specifying that an existing subscription should be opened.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Evcoll.h