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

NAME

    QueryInquiry

SYNOPSIS

     success = QueryInquiry ( inqbuf, errorcode )
A0 A1
BOOL QueryInquiry ( BYTE *inqbuf, int *errorcode );

FUNCTION

    Perform a SCSI Inquiry on an open device. Generally this is used to
determine the device type and its manufacturer, type, and version.

INPUTS

    inqbuf    Pointer to an INQBUFSIZE BYTE buffer to receive the inquiry
data.
errorcode Pointer to an integer error code which will contain the
DoIO error return.

RESULT

    success   BOOL with TRUE indicating valid data in inqbuf.
inqbuf filled with the first 36 bytes (through mfg data) of the
inquiry return

BUGS

SEE ALSO

hdwrench.library/QueryCapacity(), hdwrench.library/QueryFindValid(), 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:

The Silents

ANA
TSL
AFL
TBL

Comments:

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