PEXCopyPipelineContext - Copy Pipeline Context (5.0)


Synopsis

 
   void PEXCopyPipelineContext(
        Display *display,
        unsigned long *value_mask,
        PEXPipelineContext src_context,
        PEXPipelineContext dst_context
   )
 

Arguments

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

value_mask
A pointer to an array of three unsigned long.

src_context
The resource identifier of the source pipeline.

dst_context
The resource identifier of the destination pipeline context.

Returns

None.

Description

Invoke PEXCopyPipelineContext to copy attributes from the source pipeline context (src_context) to the destination pipeline context (dst_context).

Both pipeline contexts must already exist as valid pipeline context resources. This function copies only the attributes indicated by the value_mask. The remainder of the attributes are left as they were. Invoke the PEXSetPCAttributeMask and PEXSetPCAttributeMaskAll functions to set up the value_mask.

Errors

BadPEXPipelineContext
A specified pipeline context resource identifier is invalid.

BadValue
An invalid bit is set in the value mask.

See Also

For related topics and for a list of pipeline context functions, see Pipeline Contexts.