Next Previous Contents

1. Opening the disk for low level I/O

Prior to using these functions a handle to the device has to be obtained. This is done with the dio_open function. After use, the handle should be released with the dio_close function.

    dhandle_t __fastcall__ dio_open (unsigned char device);

The device specifies the device to access, with 0 being the first device, 1 the second, and so on.

    unsigned char __fastcall__ dio_close (dhandle_t handle);

Closes a handle obtained by dio_open. Returns status code.

Next Previous Contents