Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PmMemStop

PmMemStop

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PmMemStop()

Deactivate a memory context

Synopsis:

#include <photon/PhRender.h>

PhDrawContext_t * PmMemStop( 
                      PmMemoryContext_t *mc );

Library:

ph

Description:

This function deactivates the memory context mc, if it's active, making the default draw context active. This means that draw commands are sent to Photon (i.e. draws will no longer be affecting the memory image).

Returns:

The mc argument if the memory context was successfully deactivated, or NULL if it wasn't active at the time of this call.

Examples:

See PmMemCreateMC().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PmMemCreateMC(), PmMemReleaseMC(), PmMemStart()

"Flickerless animation" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide