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_ErrorInfo( ) — provide error information about a failed function<br />

Errors<br />

Do not overwrite the message space pointed to by any of the char * in the GC_INFO data<br />

structure as these point to private internal space.<br />

The lifetime of the strings pointed to by the GC_INFO data structure is from the time the<br />

gc_ErrorInfo( ) function returns to the time the next <strong>Global</strong> <strong>Call</strong> function is called.<br />

The gc_ErrorInfo( ) function should not be called recursively if it returns gcValue);<br />

printf("a_Info->gcMsg = %s\n", a_Info->gcMsg);<br />

printf("a_Info->ccLibId = %d\n", a_Info->ccLibId);<br />

printf("a_Info->ccLibName = %s\n", a_Info->ccLibName);<br />

printf("a_Info->ccValue = 0x%x\n", a_Info->ccValue);<br />

printf("a_Info->ccMsg = %s\n", a_Info->ccMsg);<br />

printf("a_Info->additionalInfo = %s\n", a_Info->additionalInfo);<br />

printf("Enter to continue: ");<br />

getchar();<br />

}<br />

See Also<br />

gc_ErrorValue( ) (deprecated)<br />

gc_ResultInfo( )<br />

gc_ResultMsg( ) (deprecated)<br />

gc_CCLibIDToName( )<br />

102 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!