Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MmGetDuration()

Gets the duration of a graph

Synopsis:

MmTime_t MmGetDuration(MmGraph_t *graph);

Arguments:

graph
A pointer to the graph you want to get the duration for.

Library:

mmedia

Description:

This function returns the duration (length) of a graph, in milliseconds.

Returns:

The duration of the graph in milliseconds on success, NULL otherwise.

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmGetResourceValue()