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.

gc_util_insert_parm_val( ) — insert a parameter by value into a GC_PARM_BLK<br />

Cautions<br />

Errors<br />

The gc_util_insert_parm_val( ) function can only insert data of type char, short, int, or long.<br />

The gc_util_insert_parm_val( ) function does not check whether the Set ID or the Parm ID is<br />

valid, nor does it check for duplicate parameters.<br />

To avoid a memory leak, any GC_PARM_BLK created must be deleted using the<br />

gc_util_delete_parm_blk( ) function.<br />

The maximum size of a GC_PARM_BLK is defined as PARM_BLK_HUGE bytes. If the<br />

maximum size is reached when inserting a parameter the function will return an<br />

EGC_NOMEM error.<br />

If this function returns

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

Saved successfully!

Ooh no, something went wrong!