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

NAME

    RawWrite

SYNOPSIS

    error = RawWrite ( bb )
D0 A0
USHORT RawWrite ( BootBlock *bb );

FUNCTION

    Write the data section of a BootBlock to the disk at the block number
stored within the BootBlock structure.

INPUTS

    bb      Pointer to "struct BootBlock" containing the data to be written
and other important data for the write operation.

RESULT

    error   USHORT containing the same value as the RWError.success field.
The bb->bb_RWErrors.block_written will be updated.
Data will be written to disk with this function. Please be careful.

NOTES

    This function is intentionally limited writing only to the lower block
numbers on large drives. RDBs do not appear "Way Out There."

BUGS

SEE ALSO

hdwrench.library/RawRead(), hdwrench.library/WriteBlock()

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:

Scoopex

CSL
DC
SCX
DJ

Comments:

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