Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Paradox Engine 3.0 for C - <b>syntax:</b> pxkeyquery(char *indexfilename, char *fldname, int *nfields, http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: PXKeyQuery(char *indexFileName, char *fldName, int *nFields,
                   int *mode, FIELDHANDLE *fldArray,  FIELDHANDLE *indexId);

Args: *indexFileName - name of the index file
      *fldName       - returned name of the index
      *nFields       - returned number of fields in index
      *mode          - returned 0 for case sensitve,  1 for case insensitive
      *fldArray      - returned array of field handles
      *indexId       - returned field handle of the index

Returns: PXSUCCESS (0) or error number

Synopsis: Returns information about the index contained in the file
   named in indexFileName.  For a single field case sensitive index,
   this function returns the field name in fldName,  a 1 in
   nFields,  and the field handle in the first element of fldArray.

   For composite and case sensitive indices,  PXKeyQuery returns all of the
   above data. Note that fldArray must have sufficient elements to
   hold all of the returned field handles.  Since a composite index may be
   comprised of up to 16 fields,  17 is a safe bet.

See Also: Example Genealogy PXFldHandle

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson