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


Home
QNX Community Resources
QNX Documentation Library
MmGetResourceValue

MmGetResourceValue

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

MmGetResourceValue()

Get the value of a resource for a graph or filter

Synopsis:

const void *MmGetResourceValue(const void *element,
                               const char *resource);

Arguments:

element
A pointer to the graph or filter you want to get the resource for.
resource
The name of the resource you want to get the value of.

Library:

mmedia

Description:

This function gets the resource value data for the resource. The returned value is read-only. You must cast the return value to the proper type.

You can get more complete information for a resource (including type, range, etc.) by using MmGetResource(). Use MmSetResourceValue() to change the value of a resource.

These defined convenience macros make getting specific value types easier:

Returns:

A pointer to the resource value if successful, NULL otherwise.

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmSetResourceValue()