Apex PDT Technical Reference Manual
6 Utility Programs
COAM30002
Rev. 2.00
8/13/02
6-13
High-Level API (C, C++ Language)
Only one header file,
[bc_api.h]
(supplied) is required to use the
C/C++ API. This file is well documented and serves as its own
reference. It is strongly recommended that the user always include
this file in applications that use the API library. It is suitable for
inclusion in programs written in C or C++.
Install Check
BcApiInstallCheck
Syntax:
bool BcApiInstallCheck(unsigned char id)
Input:
id
= driver’s multiplex ID, usually BCD_ID (0CEh)
Returns:
True if driver installed, else false.
Notes:
This function is used to determine if the driver is installed.
If not installed, the application should
exit()
, returning an
error code (non-zero) to DOS. Since it is expected that the
application would require the driver, this error is
unrecoverable from within the application.
Set Options
BcApiSetOption
Syntax:
int BcApiSetOption(unsigned char id, char far *s)
Input:
id
= driver’s multiplex ID, usually BCD_ID (0CEh)
s
= (far) pointer to ASCIIZ string
Returns:
0 for success
BAD_OPTION, BAD_MOD1, BAD_MOD2 indicating
which part of the string failed parsing.
Notes:
This function is used to pass options and modifiers to the
driver using the same syntax as the command line
interface.
Unlike the command line, only one option (and its
modifiers) can be passed as a string argument at a time.
Multiple options will result in the driver’s failure to
process the string option.
Содержание Apex III
Страница 2: ...This Page Intentionally Left Blank...
Страница 12: ...Apex PDT Technical Reference Manual Table Of Contents COAM30002 Rev 2 00 8 13 02 viii...
Страница 108: ...Apex PDT Technical Reference Manual 6 Utility Programs COAM30002 Rev 2 00 8 13 02 6 36...
Страница 132: ...Apex PDT Technical Reference Manual 7 Apex Programming Resource COAM30002 Rev 2 00 8 13 02 7 24...
Страница 152: ...Apex PDT Technical Reference Manual 10 Power Management COAM30002 Rev 2 00 8 13 02 10 8...
Страница 160: ...Apex III Technical Reference Manual 11 Technical Specifications COAM30002 Rev 2 00 8 13 02 11 8...
Страница 166: ...Apex III Technical Reference Manual Appendix A COAM30002 Rev 1 03 08 13 02 A 6...
Страница 167: ...This Page Intentionally Left Blank...
Страница 168: ...Compsee Inc A Subsidiary of McRae Industries Inc Compsee Inc Contact Information www compsee com 1 800 628 3888...