PEXOCCApplicationData - Structure Application Data (5.0)


Synopsis

 
   void PEXOCCApplicationData(
        PEXOCC context,
        int length,
        char *data
   )
 

 
   void PEXApplicationData(
        Display *display,
        XID resource_id,
        PEXOCRequestType req_type,
        int length,
        char *data
   )
 

Arguments

context
An OC context returned by a successful PEXCreateOCC call.

display (OCC)
A pointer to a display structure returned by a successful XOpenDisplay call.

resource_id (OCC)
The resource identifier of the renderer or structure.

req_type (OCC)
The request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).

length
The length, in bytes, of the application data.

data
A pointer to the application data.

Returns

None.

Description

Invoke PEXOCCApplicationData to create an application data output command which has no visible effect when rendered. Use this function to store arbitrary application data in a structure.

Errors

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXStructure
The specified structure resource identifier is invalid.

See Also

See Structure Control and Miscellaneous Functions for an overview.