08.01.2013 Views

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Termination Events<br />

generate a response to a requested service — gc_RespService( )<br />

GCEV_SERVICERESPCMPLT<br />

indicates that a response has been successfully generated<br />

GCEV_TASKFAIL<br />

indicates that the function failed<br />

Note: The extevtdatap field of these events contains a pointer to a GC_PARM_BLK that contains an<br />

unsigned long value that is the Service ID associated with the event. This pointer is only valid until<br />

the next gc_GetMetaEvent( ) or gc_GetMetaEventEx( ) is called. See the appropriate <strong>Global</strong><br />

<strong>Call</strong> Technology Guide for technology-specific information.<br />

Cautions<br />

Errors<br />

Only synchronous mode is supported for the following target objects:<br />

GCTGT_GCLIB_SYSTEM, GCTGT_CCLIB_SYSTEM, GCTGT_PROTOCOL_SYSTEM,<br />

and GCTGT_FIRMWARE_NETIF. Otherwise, the function will return the async mode error.<br />

When using the gc_RespService( ) function, PARM_SERVICEID is a mandatory parameter<br />

of the GC_PARM_BLK pointed to by the datap function parameter.<br />

If this function returns

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!