This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Return the status of a multimedia graph or filter
int32_t MmStatus(const void *element);
mmedia
This function returns the status of the media element. If the status isn't an error, it's a positive number:
// Assuming the given graph is created, and hooked up, // and we want to know the current status (running, not // running, paused, playing, etc.) int32_t status=MmStatus(graph); // // Assuming the given filter is created, and hooked up, // and we want to know the current status (running, not // running, paused, playing, etc.) int32_t status=MmStatus(filter);
Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |