Jump to main content

##

# 1.2.1.3 SYS_MEDIA_EVENT_HANDLER Typedef

## C

    typedef void (* SYS_MEDIA_EVENT_HANDLER)
    (
        SYS_MEDIA_BLOCK_EVENT event,
        SYS_MEDIA_BLOCK_COMMAND_HANDLE commandHandle,
        uintptr_t context
    );

## Summary

Pointer to the Media Event Handler function.

## Description

This data type defines the required function signature for the media event handling callback function. A client must register a pointer to an event handling function whose function signature (parameter and return value types) match the types specified by this function pointer in order to receive event calls back from the driver.

## Parameters

Param | Description
--- | ---
event | Identifies the type of event
commandHandle | Handle returned from the media operation requests
context | Value identifying the context of the application that registered the event handling function

## Returns

None.

## Remarks

None.