QNX Developer Support
Change the current Photon channel
struct _Ph_ctrl *PhReattach( struct _Ph_ctrl *Ph );
This function lets you change the current Photon channel if more than one channel has been opened. The function flushes the draw buffer before changing the channel.
The Ph argument points to a Photon control structure returned by a previous call to PhAttach().
If Ph is NULL, this function simply returns a pointer to the current Photon control structure.
Returns a pointer to the previous Photon channel.