NAME
          irRecogRes, irRecogRes2 - get a recognition resource number

     SYNOPSIS
          #include <irapi.h>

          int irRecogRes (channel_id cid);

          int irRecogRes2 (channel_id cid, int recog_type);

     DESCRIPTION
          The irRecogRes function returns the recognition resource
          number associated with parameter IRP_RECOG_TYPE.

          The irRecogRes2 function is identical to irRecogRes except
          the argument recog_type determines the recognizer type.

          These functions return useful results only when they are
          called after irStartRecog successfully receives a recogni-
          tion resource and before the irStopRecog for that recog-
          nizer.

          These functions do not allocate recognition resources.

     EVENT
          These functions returns no events.

     RETURN VALUE
          A recognition resource number is returned if the function
          succeeds.

          IRR_FAIL is returned if an error occurs.

     ERROR
          irError is set as follows if an error occurs:

          IRER_INVALID if the cid is not valid

          IRER_BADSTATE if the recognizer specified by IRP_RECOG_TYPE
          or recog_type is not allocated.

     SEE ALSO
          irRecog(3IRAPI)

     VERSION
          This is version 8/31/00 of this man page.