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


Home
QNX Community Resources
QNX Documentation Library
PtAppInit

PtAppInit

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

PtAppInit()

Initialize an application and create the main window

Synopsis:

PtWidget_t *PtAppInit( PtAppContext_t *app_context,
                       int *argc, 
                       char **argv,
                       int num_args, 
                       PtArg_t const *args );

Library:

ph

Description:

This function:

Returns:

A pointer to the main window, or NULL if an error occurs.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhAttach(), PtArg_t. PtCreateWidget(), PtInit(), PtMainLoop()

"Basic steps" in the Programming Photon without PhAB chapter of the Photon Programmer's Guide