PEXCopyPipelineContext(3) — Subroutines
Name
PEXCopyPipelineContext - Copy Pipeline Context
Synopsis
void PEXCopyPipelineContext(Display ∗display, unsigned long ∗value_mask, PEXPipelineContext src_context, PEXPipelineContext dst_context)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
value_maskA pointer to an array of three unsigned long.
src_contextThe resource identifier of the source pipeline.
dst_contextThe resource identifier of the destination pipeline context.
Returns
None
Description
This function copies attributes from the source pipeline context to the destination pipeline context. Both must already exist as valid pipeline context resources. Only the attributes indicated by the value mask are copied and the remainder of the attributes are left as they were. PEXSetPCAttributeMask and PEXSetPCAttributeMaskAll can be called to setup the value mask.
Data Structures
typedef XID PEXPipelineContext;
Errors
BadPEXPipelineContext
A specified pipeline context resource identifier is invalid.
BadValueAn invalid bit is set in the value mask.
See Also
PEXCreatePipelineContext, PEXSetPCAttributeMask