cbScaledWinArrayToBuf()

Copies double precision values from an array into a Windows memory buffer.

The buffer is used by devices that support output scanning of scaled data, for example devices that call cbAOutScan() using the SCALEDATA option. Create the buffer with cbScaledWinBufAlloc(). See hardware-specific information to determine if the device supports scaled data.

Function Prototype

C/C++

int cbScaledWinArrayToBuf(double *DataArray, HGLOBAL MemHandle, long StartPt, long Count);

Visual Basic

function cbScaledWinArrayToBuf(DataArray#, ByVal MemHandle&, ByVal FirstPoint&, ByVal CBCount&) As Long

Arguments

DataArray

The array containing the data to be copied.

MemHandle

This must be a memory handle that was returned by cbScaledWinBufAlloc() when the buffer was allocated. The data will be copied into this buffer.

FirstPoint

Index of the first point in the memory buffer where the data will be copied.

Count

Number of data points to copy.

Returns

Notes