08.01.2013 Views

Voice API for HMP Library Reference - Dialogic

Voice API for HMP Library Reference - Dialogic

Voice API for HMP Library Reference - Dialogic

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.

ATDX_DEVTYPE( ) — return the device type<br />

}<br />

/* Open the board device */<br />

if ((bddev = dx_open("dxxxB1",NULL)) == -1) {<br />

/* Process error */<br />

}<br />

if((devtype = ATDX_DEVTYPE(bddev)) == AT_FAILURE) {<br />

/* Process error */<br />

}<br />

if(devtype == DT_DXBD) {<br />

printf("Device is a Board\n");<br />

}<br />

/* Continue processing */<br />

.<br />

.<br />

� See Also<br />

None.<br />

42 <strong>Voice</strong> <strong>API</strong> <strong>for</strong> <strong>HMP</strong> <strong>Library</strong> <strong>Reference</strong> — September 2004

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

Saved successfully!

Ooh no, something went wrong!