Home  /  Autodocs  /  trackfile.device

NAME

NSCMD_DEVICEQUERY
Obtain information about the type and capabilities of an Amiga device driver.

FUNCTION

This command will provide information about the device driver type and which commands it supports.

INPUTS

io_Device
preset by the call to OpenDevice()

io_Unit
preset by the call to OpenDevice()

io_Command
NSCMD_DEVICEQUERY

io_Length
sizeof(struct NSDeviceQueryResult)

io_Flags
0 or IOF_QUICK

io_Data
pointer to NSDeviceQueryResult structure

RESULT

io_Error
0 for success, or an error code as defined in <devices/trackdisk.h> or <exec/errors.h>

SEE ALSO

<devices/newstyle.h>, <devices/trackdisk.h>, <exec/errors.h>