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

NAME

    OutMemRDBStructs

SYNOPSIS

    error = OutMemRDBStructs ( rdbp, sizew, sizeb )
D0 A0 A1 D0
ULONG OutMemRDBStructs ( char *rdbp, ULONG *sizew, ULONG sizeb );

FUNCTION

    Convert internal RDB structures into RDBs in memory as if written to a
disk.

INPUTS

    rdbp    Pointer to a BYTE array to contain the RDB data.
sizew Size of the data actually written.
sizeb Size of the buffer pointed to by rdbp.

RESULT

   error    ULONG containing an error code per E_ list in hdwrench.h.
If the rdbp entry is NULL the error code will be E_NO_ERROR and sizew
will contain the size buffer required to hold the data.
If the sizeb is insufficient to contain the entire data set an
E_INSUFFICIENT_MEMORY error code will be returned and sizew will contain
the required buffer size.
If a buffer was passed in and is of sufficient size the RDBs are written
to the memory image as if to disk. Note that the "RDSK" block will appear
first and it will be "logically offset" with regards to internal RDB
forward links by the value in the rdb_RDBBlocksLo field of the RDSK data.

BUGS

SEE ALSO

hdwrench.library/InMemMountfile(), hdwrench.library/InMemRDBStructs(), hdwrench.library/OutMemMountfile(), hdwrench.library/ReadMountFile, hdwrench.library/ReadRDBStructs(), hdwrench.library/ReadRDBs(), hdwrench.library/WriteRDBStructs(), hdwrench.library/WriteMountfile(), 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:

Defjam

ATX
KEF
DJ
RSI

Comments:

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