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


Home
QNX Community Resources
QNX Documentation Library
MmCreateGraph

MmCreateGraph

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

MmCreateGraph()

Create a multimedia graph

Synopsis:

MmGraph_t *MmCreateGraph(const char *name);

Arguments:

name
A string for the graph's name resource. This can't be an empty string.

Library:

mmedia

Description:

This function returns a pointer to a multimedia graph (an opaque MmGraph_t structure) and sets its ID resource.

When you're finished with a graph, you should use MmDestroyGraph() to destroy the graph and free its resources.

Returns:

A pointer to a MmGraph_t structure, or NULL if an error occurred.

Examples:

  // Create a new graph:

  MmGraph_t *graph=MmCreateGraph("My new graph");

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmInitialize(), MmDestroyGraph()