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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

gc_AttachResource( ) — attach a voice or media resource to a line device<br />

}<br />

/* process error from gc_OpenEx() using gc_ErrorInfo() */<br />

gc_ErrorInfo( &gc_error_info );<br />

printf ("Error: gc_OpenEx() on devname: %s, GC ErrorValue: 0x%hx - %s, CCLibID: %i - %s,<br />

CC ErrorValue: 0x%lx - %s\n", devname, gc_error_info.gcValue,<br />

gc_error_info.gcMsg, gc_error_info.ccLibId, gc_error_info.ccLibName,<br />

gc_error_info.ccValue, gc_error_info.ccMsg);<br />

return (gc_error_info.gcValue);<br />

}<br />

return (0);<br />

See Also<br />

gc_Close( )<br />

gc_Detach( )<br />

gc_GetNetworkH( ) (deprecated)<br />

gc_GetResourceH( )<br />

gc_GetVoiceH( ) (deprecated)<br />

gc_LoadDxParm( )<br />

gc_OpenEx( )<br />

66 Dialogic ® <strong>Global</strong> <strong>Call</strong> <strong>API</strong> <strong>Library</strong> <strong>Reference</strong> — January 2008<br />

Dialogic Corporation

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

Saved successfully!

Ooh no, something went wrong!