Function GetOEMData

TMSi Data Acquisition SDK

 
TMS International BV

GetOEMData

BOOLEAN APIENTRY GetOEMData(IN HANDLE Handle,
unsigned char *OEMData,
unsigned int *OEMDataLengthInBytes )
);

Parameters

Handle
   
Handle of  the library
OEMData
   
Array in which the data from the OEM storage is stored.
LengthInBytes
   
Length of the array in bytes.

Return Value

If successful this function returns TRUE, else FALSE. If the function returns FALSE, use GetErrorCode to get the error code.

Comments

This function is not supported by all frontends. The Open() function and GetOEMSize() function must have been called before. This function will retrieve the data from the OEM storage on the frontend. The length of the buffer must be equal or larger than the value returned by GetOEMSize(). After return, the OEMDataLengthInBytes is set to the returned number of bytes.

Also see

SetOEMData