PEXCreatePipelineContext(3) — Subroutines
Name
PEXCreatePipelineContext - Create Pipeline Context
Synopsis
PEXPipelineContext PEXCreatePipelineContext(Display ∗display, unsigned long ∗value_mask, PEXPCAttributes ∗values)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
value_maskA pointer to an array of three unsigned long.
valuesA pointer to values to override default attribute values in the new pipeline context.
Returns
The resource identifier of the newly-created pipeline context.
Description
This function creates a pipeline context and returns its resource identifier. The value mask indicates the values specified. Attribute values not specified will be initialized to the default values. PEXSetPCAttributeMask and PEXSetPCAttributeMaskAll can be called to setup the value mask.
Data Structures
typedef XID PEXPipelineContext;
See also the PEXStructuresman page.
Errors
BadAllocThe server failed to allocate the resource.
BadPEXColorType
The specified color type is invalid or unsupported.
BadPEXNameSet
A specified name set resource identifier is invalid.
BadValueA specified value is out of range, or an invalid bit is set in the value mask.
See Also
PEXFreePipelineContext