Instruction manual

AMPDIO DRIVERS
Page 233
pIOBuffer pointer to unsigned long: pointer to IOCTL
data packet cast as pointer to unsigned long.
Content depends on IOCTL code used. (See
ADIOCTL.RTF for more information.) It may be
one of the following types:
ULONG
TDIO_PORTIO
TDIO_2PORTIO
TDIO_BLKPORTIO
TDIO_IRQSETUP
Array of ULONG
SizeOfBuffer unsigned long: size of IOCTL buffer pointed
to by pIOBuffer in bytes.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
See Also
6.5 Library Error Codes
Mnemonic Returned
Value
Meaning
OK 0 Operation successful.
ERRSUPPORT –1 Operation not supported by board, or the maximum
boards/buffers are already registered.
ERRBASE –2 Base address is invalid or in use.
ERRIRQ –3 Interrupt level is invalid or in use.
ERRHANDLE –4 Invalid board handle, or board not registered.
ERRCHAN –5 Invalid channel number
ERRDATA –6 Invalid data
ERRRANGE –7 Out of range
ERRMEMORY –8 Insufficient Memory
ERRBUFFER –9 Invalid buffer handle not allocated
ERRPC226 10 PC226 board not found (for VCO function)