Home Functions InquireSCSI Open
 

3.4 InquireBus

  LONG  cdecl (*InquireBus)   (WORD       what,
                               WORD       BusNo,
                               tDevInfo  *Dev);

  typedef struct
  {
    BYTE Private[32];
    DLONG SCSIId;
  }tDevInfo;

Interrogate a bus for devices present. First call with cInqFirst, then with cInqNext. Returns 0, until no further IDs are reported.

Returns:

  = 0 : OK
  < 0 : No further devices

Example: see SRCHDRV.C

Home Functions InquireSCSI Open