PEXCopySearchContext - Copy Search Context (5.0)


Synopsis

    void PEXCopySearchContext(
            Display *display,
            unsigned long value_mask,
            PEXSearchContext src_context,
            PEXSearchContext dst_context
       )

Arguments

display
A pointer to a display structure returned by a successful XOpenDisplay call.
value_mask
A mask specifying which attributes are to be copied.
src_context
The resource identifier of the source search context
dst_context
The resource identifier of the destination search context

Returns

None.

Description

Invoke PEXCopySearchContext to copy attributes from the source search context (src_context) to the destination search context (dst_context) resource.

Both the source and destination context must already exist as valid search context resources. This function copies attributes indicated by the value mask and the remainder of the attributes are left unchanged. The value mask is constructed by or'ing together the following constants:

All attributes are supported beginning with PEX 5.0, except PEXSCTextFontTable, which is supported beginning with PEX 5.2.

Errors

BadPEXSearchContext
A specified search context resource identifier is invalid.

BadValue
An invalid bit is set in the value mask.

See Also

For an overview and a list of Spatial Search functions, see Spatial Searches.