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


Home
QNX Community Resources
QNX Documentation Library
PmMemReleaseMC

PmMemReleaseMC

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

PmMemReleaseMC()

Release a memory context

Synopsis:

#include <photon/PhRender.h>

void PmMemReleaseMC( PmMemoryContext_t *mc );

Library:

ph

Description:

This function releases the draw context, and shuts down and frees any resources created by the provided memory context.


Note: This function doesn't release the image buffer if PmMemCreateMC() didn't create it.

If the provided memory context is active at the time of this call, the default draw context automatically becomes the current draw context.

Examples:

See PmMemCreateMC().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PmMemCreateMC()

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