PEXCopySearchContext(3) — Subroutines
Name
PEXCopySearchContext - Copy Search Context
Synopsis
void PEXCopySearchContext(Display ∗display, unsigned long value_mask, PEXSearchContext src_context, PEXSearchContext dst_context)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
value_maskA mask specifying which attributes are to be copied.
src_contextThe resource identifier of the source search context.
dst_contextThe resource identifier of the destination search context.
Returns
None
Description
This function copies attributes from the source search context to the destination search context resource. Both must already exist as valid search context resources. Attributes indicated by the value mask are copied and the remainder of the attributes are left unchanged. The value mask is constructed by or’ing together the following constants:
PEXSCPosition
PEXSCDistance
PEXSCCeiling
PEXSCModelClipFlag
PEXSCStartPath
PEXSCNormalList
PEXSCInvertedList
Data Structures
typedef XID PEXSearchContext;
Errors
BadPEXSearchContext
The specified search context resource identifier is invalid.
BadValueAn invalid bit is set in the value mask.
See Also
PEXCreateSearchContext