PEXGetPipelineContext(3) — Subroutines
Name
PEXGetPipelineContext - Get Pipeline Context Attributes
Synopsis
PEXPCAttributes ∗PEXGetPipelineContext(Display ∗display, PEXPipelineContext context, unsigned long ∗value_mask)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
contextThe resource identifier of the pipeline context.
value_maskA pointer to an array of three unsigned long.
Returns
A pointer to pipeline context values; a null pointer if unsuccessful.
Description
This function returns the requested attribute values of the pipeline context. The value mask indicates which attribute values are requested. PEXSetPCAttributeMask and PEXSetPCAttributeMaskAll can be called to setup the value mask. PEXlib allocates the memory for the return value. PEXFreePCAttributes should be called to deallocate the memory.
Data Structures
typedef XID PEXPipelineContext;
See also the PEXStructuresman page.
Errors
BadPEXPipelineContext
The specified pipeline context resource identifier is invalid.
BadValueAn invalid bit is set in the value mask.
See Also
PEXCreatePipelineContext, PEXChangePipelineContext