![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Create a multimedia graph
MmGraph_t *MmCreateGraph(const char *name);
mmedia
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.
A pointer to a MmGraph_t structure, or NULL if an error occurred.
  // Create a new graph:
  MmGraph_t *graph=MmCreateGraph("My new graph");
Neutrino
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
MmInitialize(), MmDestroyGraph()
![]()  | 
![]()  | 
![]()  | 
![]()  |