Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
MmDestroyGraph()
Destroy a multimedia graph
Synopsis:
int32_t MmDestroyGraph(MmGraph_t *graph);
Arguments:
- graph
- A pointer to the multimedia graph to destroy.
Library:
mmedia
Description:
This function destroys a multimedia graph and frees its resources. Calling MmDestroyGraph() causes the graph to perform the following steps:
- Signal all the filters in the graph to stop.
- Once all filters are stopped, detach and release each filter's channels.
- Free the filters.
- Destroy the graph.
Returns:
- 0
- Success.
- -1
- An error occurred.
Examples:
// Destroy a previously created graph: MmDestroyGraph(graph);
Classification:
Neutrino
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
MmInitialize(), MmCreateGraph()
![]() |
![]() |
![]() |
![]() |

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