Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
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:
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)