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 » QueryReady

NAME

    QueryReady

SYNOPSIS

     ready = QueryReady ( errorcode )
D0 A0
BOOL QueryReady ( int *errorcode )

FUNCTION

    Performs a SCSI Direct "Test Unit Ready" SCSI command.

INPUTS

    errorcode   A pointer to an integer error code value.

RESULT

    ready       BOOL set TRUE if the device indicates a READY state.
errorcode Filled with the DoIO errorcode

BUGS

SEE ALSO

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

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:

Sanity

DC
SNT
FC
SCX

Comments:

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