PEXGetDefinedIndices - Get Lookup Table Defined Indices (5.0)


Synopsis

 
   Status PEXGetDefinedIndices(
          Display *display,
          PEXLookupTable table,
          unsigned long *count_return,
          PEXTableIndex **indices_return
   )
 

Arguments

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

table
The resource identifier of the lookup table.

count_return
Returns the number of returned indices.

indices_return
Returns an array of indices to defined table entries.

Returns

Zero if unsuccessful; non-zero otherwise.

Description

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.

Errors

BadPEXLookupTable
The specified lookup table resource identifier is invalid.

See Also

For an overview, see Lookup Tables.