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


Home
QNX Community Resources
QNX Documentation Library
MmSetResourceValue

MmSetResourceValue

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

MmSetResourceValue()

Set the value of a resource for a graph or filter

Synopsis:

int32_t MmSetResourceValue(const void *element,
                           const char *resource,
                           void *data);

Arguments:

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

Library:

mmedia

Description:

This function sets the resource data for element. The resource string is the same as in MmGetResource(). The data type depends on the resource type.

After changing a resource's value, you should reload any AOResource_t structures that your application currently has cached, because some or all of the resources could have been affected.

Returns:

0
Success.
-1
An error occurred.

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmGetResourceValue()