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


Home
QNX Community Resources
QNX Documentation Library
PhWindowClose

PhWindowClose

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

PhWindowClose()

Close a window

Synopsis:

int PhWindowClose( PhRid_t window_rid );

Arguments:

window_rid
The region ID of the window to close.

Library:

ph

Description:

This function closes a window with the given region ID, that was previously opened by a call to PhWindowOpen().


Note: Don't use this function in an application that uses widgets.

Returns:

A nonnegative value
Successful completion.
-1
An error occurred. Either a nonwindow RID was given, or the function can't communicate with Photon or the window manager.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhWindowOpen()