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

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