# scaled_win_buf_to_array()

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

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

## Prototype

scaled_win_buf_to_array(memhandle, data_array, first_point, count)

## Parameters

memhandle (int)

This must be a memory handle that was returned by win_buf_alloc() when the buffer was allocated. The buffer should contain the data that you want to copy.

data_array (POINTER(c_double))

A pointer to the start of the destination array to which the data samples are copied.

first_point (int)

The buffer index of the first sample to copy from the buffer.

count (int)

The number of samples to copy into data_array.

## Notes

- This function is used in conjunction with the SCALEDATA scan option and scaled_win_buf_alloc().