[Previous] [Contents] [Index] [Next]

PhReattach()

Change the current Photon channel

Synopsis:

struct _Ph_ctrl *PhReattach( struct _Ph_ctrl *Ph );

Description:

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:

Returns a pointer to the previous Photon channel.

Examples:

See PhAttach().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhAttach(), PhDetach()


[Previous] [Contents] [Index] [Next]