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

NAME

    ReadMountfile()

SYNOPSIS

    error = ReadMountfile ( unit, filename, controller )
D0 D0 A0 A1
ULONG ReadMountfile ( ULONG unit, char *filename, char *controller );

FUNCTION

    Parse a mounfile into internal RDB structures.

INPUTS

    unit       Unit number for the parsed mountfile. (It MUST agree with the
UNIT declarations within the mountfile.)
filename Pointer to a C string containing the filename
controller Pointer to a 28 BYTE long BYTE array containing controller ID.

RESULT

    error      ULONG containing the error from the E_* codes in hdwrench.h.
If successful the internal RDB structures are filled according
to the data within the mountfile.

NOTES

    Note that no consistency checks are performed. What you send is to this
entry is what you get, data errors and all.

BUGS

SEE ALSO

hdwrench.library/InMemMountfile(), hdwrench.library/OutMemMountfile(), hdwrench.library/WriteMountfile(), hdwrench.library/InMemRDBStructs(), hdwrench.library/ReadRDBStructs(), hdwrench.library/OutMemRDBStructs(), hdwrench.library/WriteRDBStructs(), hdwrench.library/ReadRDBs(), hdwrench.library/WriteRDBs()

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:

Kefrens

KEF
DC
RSI
AOA

Comments:

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