Subscribe to global events (deprecated)

Method

SubscribeGlobalEvents

Description

If you want to receive global callbacks such as OnLogAvailable, you must subscribe to global events with an appropriate event type through this call. If you subscribe to a specific type of event, you must unsubscribe to that type of event. For example, if you subscribe to a scan event type and update event type, you must both unsubscribe to the scan event type and update the event type.

Note

deprecated

Function prototype

HRESULT SubscribeGlobalEvents
(
[in] VARIANT EventType
[out, retval] VARIANT * Reserved
)

Arguments

Argument

Description

Data Type

EventType

Determines the type of events to subscribe.

  • 0: All events

  • 1: Update events

  • 2: Log events

  • 3: Scan events

UINT32

Reserved

Reserved