ACX_STREAM_CALLBACKS_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// acxstreams.h

VOID ACX_STREAM_CALLBACKS_INIT(
  PACX_STREAM_CALLBACKS Callbacks
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-acxstreams-acx_stream_callbacks_init)

Description

The ACX_STREAM_CALLBACKS_INIT function initializes the ACX stream callbacks.

Parameters

Callbacks

A ACX_STREAM_CALLBACKS structure.

Remarks

Example

  ACX_STREAM_CALLBACKS        streamCallbacks;

    //
    // Init streaming callbacks.
    //
    ACX_STREAM_CALLBACKS_INIT(&streamCallbacks);
    streamCallbacks.EvtAcxStreamPrepareHardware = EvtStreamPrepareHardware;
    streamCallbacks.EvtAcxStreamReleaseHardware = EvtStreamReleaseHardware;
    streamCallbacks.EvtAcxStreamRun = EvtStreamRun;
    streamCallbacks.EvtAcxStreamPause = EvtStreamPause;
    streamCallbacks.EvtAcxStreamAssignDrmContentId = EvtStreamAssignDrmContentId;

    status = AcxStreamInitAssignAcxStreamCallbacks(StreamInit, &streamCallbacks);

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

See also