C_CopyBuffer

Call C_CopyBuffer to copy from a buffer handle to a block of memory. For examples of how to use this function, refer to C_SaveDataMem and C_SaveSimulationMem.

void C_CopyBuffer(

TOrcFxAPIHandle SourceBufferHandle,

unsigned char *lpDestBuffer,

int64_t DestBufferLen,

int *lpStatus

);

Parameters

SourceBufferHandle (IN)

The handle to the source buffer.

lpDestBuffer (OUT)

Pointer to the destination buffer.

DestBufferLen (IN)

The length of the destination buffer.

lpStatus (OUT)

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

See also

C_FreeBuffer