DeviceEventCallback Callback

Definition

(C++) Facilitates callbacks related to generic device events, supporting broad event handling.

typedef int (* id3DevicesDeviceEventCallback) (
    void * context,
    int eventCode,
    int param,
    int param2)

Parameters

context void *
in The callback context.

eventCode int
in Numeric code representing the specific event that occurred.

param int
in Primary parameter or argument associated with the event.

param2 int
in Secondary parameter for additional context or data related to the event.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.