Specifications

The FormatDisk function is destructive: all data stored on the disks to be
formatted will be lost.
It is possible to format several disks in parallel. Therefore, formatting one or several
disks will take the same amount of time to complete. In order to format several disks in
parallel, call the
FormatDisk function for each disk to format without waiting between
each call. After the last call, you need to wait for the end of the formatting phase by
pooling the MDR Server status. The format operation is completed when this status
changes from
MDR_SERVER_FOMATTING_DISK to MDR_SERVER_OK.
FreeMemory
Declaration:
STATUS FreeMemory (void ** DataBuffer);
Description: Free allocated memory buffer.
This function frees a memory buffer previously allocated using the
AllocateMemory
function.
Returned value:
OK or ERROR.
If
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for
MDR
errno values.
GetDiskGroupName
Declaration:
const char * GetDiskGroupName (void);
Description: Get the disk group name.
This function returns the name of the current disk group the MDR client is connected to.
Returned value: A string or
NULL.
If
NULL is returned then the errno variable will be set accordingly. See MdrDefs.h for
MDR
errno values.
GetRecordingInfo
Declaration:
STATUS GetRecordingInfo (UINT RecordingNo,
RECORDING * Recording);
and
STATUS GetRecordingInfo (char RecordingName,
RECORDING * Recording);
Description: Get information from a recording.
This function copy the recording information corresponding to the recording identified
by RecordingNo into the RECORDING structure pointed to by Recording. Either of the
recording number or name can be used to find the recording in the recording table. If 0 is
specified as recording number, then the current recording information is returned.
Returned value:
OK or ERROR.
If
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for
MDR errno values.
52 MDR User Guide
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com