a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 hdwrench.library
  FindControllerID
  FindDefaults
  FindDiskName
  FindLastSector
  HDWCloseDevice
  HDWOpenDevice
  InMemMountfile
  InMemRDBStructs
  LowlevelFormat
  OutMemMountfile
  OutMemRDBStructs
  QueryCapacity
  QueryFindValid
  QueryInquiry
  QueryModeSense
  QueryReady
  RawRead
  RawWrite
  ReadMountfile
  ReadRDBStructs
  ReadRDBs
  VerifyDrive
  WriteBlock
  WriteMountfile
  WriteRDBStructs
  WriteRDBs
  ZZexample
  description
Include
GuruMeditation
Docs » Autodocs » hdwrench.library » QueryFindValid

NAME

    QueryFindValid

SYNOPSIS

     QueryFindValid ( ValidIDs, devicename, board, types, wide_scsi, CallBack )
A0 A1 D0 D1 D2 A2
QueryFindValid ( ValidIDstruct *ValidIDs,
char *devicename,
int board,
ULONG types,
BOOL wide_scsi,
long ( * __asm CallBack)( HDWCallbackMsg *msg ))

FUNCTION

    Fills an bitmap array with flag bits indicating valid devices on an
exhaustive test of legal SCSI Devices for a given "board".

INPUTS

    ValidIDs    Pointer to ValidIDStruct
devicename Name of the device to search
board A base unit ID for the board to be searched/
types A ULONG bitmap of acceptable types to report, type 0 == bit 0.
wide_scsi A boolean flag indicating whether the device is a wide scsi
controller.
CallBack Pointer to a display function for values in HDWCallbackMsg.
(If NULL no attempt to callback is performed.)

RESULT

    ValidIDs filled with a bitmap of valid drives according to the entry
criteria. ValidIDs->there are drives which respond to an Inquiry to
indicate their device type. ValidIDs->ready also test as ready and
test readable. A failure is indicated by all zeros. No further
indication is appropriate as this is a test for opening all legal
unit numbers on the device indicated.

BUGS

SEE ALSO

hdwrench.library/QueryCapacity(), hdwrench.library/QueryInquiry(), hdwrench.library/QueryModeSense(), hdwrench.library/QueryReady()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Tristar & Red Sector Inc.

TRSI
AFL
RBS
SCX

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se