Previous PageTable Of Contents../index.htmlIndexNext Page

gfqFindFirst( )

Description | Example

Name:

  int gfqFindFirst (GFQCHAR *gfqFileName, GFQRECORD *pQRec, GFQINT Link, GFQINT End, GFQCHAR *User);

Inputs:

GFQCHAR *gfqFileName

  • Name of Queue File access.

GFQRECORD *pQRec

  • Queue record buffer.

GFQINT Link

  • Link list to be read.

GFQINT End

  • The end from which to begin - GFQLIST_START or GFQLIST_END.

GFQCHAR *User

  • Valid queue record, if return is GFQSUCCESS.

Outputs:

GFQRECORD *pQRec

  • Valid queue record, if return is GFQSUCCESS.

Returns:

GFQSUCCESS

  • A valid record was found.

GFQLIST_NOTFOUND

  • The link specified was not valid.

GFQLIST_EOF

  • No records matching the search values were found.

GFQRECORD_NOTFOUND

  • List is empty.

Includes:

gfq.h

 

Top Of PageDescription

The gfqFindFirst( ) function locates the first item in a list using the user ID, and the direction it was passed to determine which record is the first. That record is then read into the buffer pointed to by pQRec.

Top Of PageExample


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002