PEXApplicationData(3) — Subroutines
Name
PEXApplicationData - Structure Application Data
Synopsis
void PEXApplicationData(Display ∗display, XID resource_id, PEXOCRequestType req_type, int length, char ∗data)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
resource_idThe resource identifier of the renderer or structure.
req_typeThe request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).
lengthThe length, in bytes, of the application data.
dataA pointer to the application data.
Returns
None
Description
This function creates an application data output command which has no visible effect when rendered. It is typically used 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.