Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
MmStatus

MmStatus

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

MmStatus()

Return the status of a multimedia graph or filter

Synopsis:

int32_t MmStatus(const void *element);

Arguments:

element
A pointer to a graph or filter.

Library:

mmedia

Description:

This function returns the status of the media element. If the status isn't an error, it's a positive number:

Returns:

>0
Success.
<0
An error occurred.

Examples:

  // Assuming the given graph is created, and hooked up,
  // and we want to know the current status (running, not
  // running, paused, playing, etc.)

  int32_t status=MmStatus(graph);

  //
  // Assuming the given filter is created, and hooked up,
  // and we want to know the current status (running, not
  // running, paused, playing, etc.)

  int32_t status=MmStatus(filter);

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmGetResourceValue()