.\" @(#)PEXCopyLookupTable.3 1.5 95/03/24 SMI; .so man3/pex.macs .TH PEXCopyLookupTable 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXCopyLookupTable \- Copy Lookup Table .SH SYNTAX .LP .IP void .4i PEXCopyLookupTable\^(\^Display *\fIdisplay\fP\^, PEXLookupTable \fIsrc_table\fP\^, PEXLookupTable \fIdst_table\fP\^) .SH PARAMETERS .TP 1i \fIdisplay\fP A pointer to a display structure returned by a successful .B XOpenDisplay call. .TP \fIsrc_table\fP The resource identifier of the source lookup table. .TP \fIdst_table\fP The resource identifier of the destination lookup table. .SH RETURNS None .SH DESCRIPTION .\" indexing .IX PEXCopyLookupTable .IX "Copy" "PEXCopyLookupTable" .LP This function copies entries from the source lookup table to destination lookup table, after first deleting all entries in the destination lookup table. Both tables must already exist as valid lookup table resources. Both must have been created for the same class of drawables, and both must be the same table type. .SH DATA STRUCTURES .LP .nf typedef XID PEXLookupTable; .sp .fi .SH ERRORS .TP .SB BadMatch The specified lookup tables were not created with compatible drawables. .TP .SB BadPEXLookupTable A specified lookup table resource identifier is invalid, or the table type is unsupported. .SH SEE ALSO .LP .nf .BR PEXCreateLookupTable (3) .fi