Specifications

MDR User Guide  53 
GetRecordingsInfo 
Declaration: 
int GetRecordingsInfo (RECORDING * RecordingArray, 
 UINT RecordingArraySize); 
Description:  Get information of some recordings. 
This function copy the recording information corresponding to the number of recordings 
specified by 
RecordingArraySize into the RECORDING structure pointed to by 
Recording.  RecordingArraySize gives the size, in number of recordings, of the 
RECORDING output structure RecordingArray. 
Returned value: Number of recordings put into 
RecordingArray or ERROR. 
If ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for 
MDR 
errno values. 
GetRecordingTableInfoString 
Declaration: 
STATUS GetRecordingTableInfoString (char * DataBuffer, 
  UINT  DataBufferLength); 
Description:  Get the information string of the recording table. 
This function creates an information string of the recording table. 
Returned value: 
OK or ERROR. 
If 
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for 
MDR errno values. 
GetRecTableInfo 
Declaration: 
STATUS GetRecTableInfo (REC_TABLE_INFO * RecTableInfo); 
Description:  Get the recording table information. 
This function returns the 
REC_TABLE_INFO structure of the MDR and copies it into the 
location pointed to by RecTableInfo. 
Returned value: 
OK or ERROR. 
If 
ERROR is returned then the errno variable will be set accordingly. See MdrDefs.h for 
MDR 
errno values. 
GetServerName 
Declaration: 
const char * GetServerName (void); 
Description:  Get the server name. 
This function returns a pointer to character string containing the hostname of the MDR 
server. 
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. 
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










