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


Home
QNX Community Resources
QNX Documentation Library
PdReleaseDirectContext

PdReleaseDirectContext

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

PdReleaseDirectContext()

Leave direct mode and release the direct-mode context

Synopsis:

void PdReleaseDirectContext( 
        PdDirectContext_t *DirectContext );

Arguments:

DirectContext
The pointer to a PdDirectContext_t structure returned by PdCreateDirectContext(). This argument must not be NULL.

Library:

ph

Description:

This function leaves direct mode (if the application is currently in it), destroys the direct-mode context, and restores the original default context.


Note: You must target this function at a specific card by calling PdSetTargetDevice().

Examples:

See PdCreateDirectContext().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PdCreateDirectContext(), PdDirectStart(), PdDirectStop(), PdSetTargetDevice()

"Direct mode" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide