C_LoadDataMem

Call C_LoadDataMem to load OrcaFlex data, held in memory, into a model.

void C_LoadDataMem(

TOrcFxAPIHandle ModelHandle,

int DataFileType,

const unsigned char *lpBuffer,

int64_t BufferLen,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model.

DataFileType (IN)

Either dftBinary or dftText, to indicate whether the buffer contains data in binary or text format.

lpBuffer (IN)

Pointer to the buffer.

BufferLen (IN)

The length of the buffer.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

See also

C_LoadData, C_LoadSimulationMem, C_SaveDataMem, C_SaveSimulationMem.