Status PEXGetDefinedIndices( Display *display, PEXLookupTable table, unsigned long *count_return, PEXTableIndex **indices_return )
Zero if unsuccessful; non-zero otherwise.
Invoke PEXGetDefinedIndices to obtain the defined indices for the specified lookup table.
This function returns the index of each defined table in a list.
PEXlib allocates memory for the returned indices. Invoke XFree to deallocate the memory.
For an overview, see Lookup Tables.