Note: You should use PEXGetLargeElementInfo instead of this function in order to handle large output commands properly.
Status PEXGetElementInfo( Display *display, PEXStructure structure int whence1, long offset1, int whence2, long offset2, int float_format, unsigned long *count_return, PEXElementInfo **info_return )
Zero if unsuccessful; non-zero otherwise.
Invoke PEXGetElementInfo to get information about a range of elements from the specified structure.
If a computed offset is less than zero, then it is set to zero before obtaining the element information. If a computed offset is greater than the number of elements in the structure, then it is set to the offset of the last element in the structure. The element pointer attribute of structure is not affected by this command. No information is returned for inquiries on element offset zero.
Information returned about the list of inquired elements includes the type of each element and its size. The size of each element is based upon the specified floating-point format. The size returned for each element is undefined if the structure's permission is PEXStructureWriteOnly.
This function returns a value of zero in the length field if the OC is greater than 64K words in length. To work with these large OC's, invoke the PEXGetLargeElementInfo function to obtain their actual lengths.
PEXlib allocates memory for the return value. Invoke XFree to deallocate the memory.
For a list of all Structure functions and related topics, see Structures.