
Reading back data of a recording being recorded in infinite mode may end up in reading back
data that will be (very) soon overwritten by the MDR.
ReadRecordingBlock
Declaration:
STATUS ReadRecordingBlock (UINT RecordingNo,
UINT FirstRecordingBlockToRead,
UINT RecordingBlocksToRead,
void * DataBuffer,
UINT DataBufferSize);
Description:
Read user block(s) of a recording.
This function reads one or more user blocks of the recording specified by
RecordingNo
.
If the recording data contains tags then these tags are
not
read by the MDR and therefore
are
not
present in the data buffer. The
FirstRecordingBlockToRead
and
RecordingBlocksToRead
parameters map to the user block parameters in the
RECORDING
structure corresponding to the specified recording. Hence, the
RecordingBlockSize
specifies the size of the blocks.
Returned value:
OK
or
ERROR
.
If
ERROR
is returned then the
errno
variable will be set accordingly. See
MdrDefs.h
for
MDR
errno
values.
Using the
ReadRecordingBlock
function while making a recording affects the recording
performance. The MDR Server may stop recording due to this.
Reading back data of a recording being recorded in infinite mode may end up in reading back
data that will be (very) soon overwritten by the MDR.
RemoveDisksFromDiskGroup
Declaration:
STATUS RemoveDisksFromDiskGroup (char * DiskGroupName,
UINT * DiskPortIdTbl,
UINT DiskPortIdTblSize,
BOOL ClearRecordingTable);
Description:
Remove a list of disks from a disk group.
This function removes a list of disks (specified by their port identifier) from an existing
disk group (specified by its name).
When removing a list of disks from an existing disk group, the recording table contained
on the disk group is cleared or kept intact according to the value or the parameter
ClearRecordingTable
. If the recording table is cleared then any recording data present
on the initial disk group or on the disks to add will be
lost
.
Returned value:
OK
or
ERROR
.
If
ERROR
is returned then the
errno
variable will be set accordingly. See
MdrDefs.h
for
MDR
errno
values.
56
MDR User Guide
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com