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


Home
QNX Community Resources
QNX Documentation Library
PtCreateTransportCtrl

PtCreateTransportCtrl

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

PtCreateTransportCtrl()

Create a transport control structure for use with Drag and Drop

Synopsis:

PtTransportCtrl_t *PtCreateTransportCtrl();

Library:

ph

Description:

This function creates and initializes a control structure for the request and inline transport mechanism used for Drag and Drop. A widget that wants to act as the source in a drag-and-drop operation typically calls PtCreateTransportCtrl() in its Pt_CB_ARM callback.

Returns:

A pointer to the PtTransportCtrl_t structure, or NULL if it couldn't be created.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtDndFetch_t, PtDndSelect(), PtInitDnd(), PtReleaseTransportCtrl(), PtTransportCtrl_t, PtTransportType()

Drag and Drop chapter of the Photon Programmer's Guide