Sensoray 2255 User Manual
Page 14

function after acquiring with S2255_StartAcquire. Please see demo code for usage. Obsoletes
S225_GetFrame.
Parameters
hdev
A handle to the 2255 device.
channel
channel number (1-4).
pFrame
pointer to pre-allocated memory where image is written to (see size below).
size
size of pFrame. If in doubt, use S2255_get_image_size to get required size.
timeout
timeout to wait for frame in milliseconds.
pBMI
pointer to bitmap info, which will be filled out on success.
Returns
0 on success.
S2255_GetImageSize( MODE2255 *mode);
Provides an easy way of determining the required buffer size based on the MODE2255 settings.
Parameters
mode
a pointer to MODE2255 structure.
Returns
Image size (bytes).
S2255_GetVidStatus(HDEVICE hdev, int channel, UINT32 *pStatus);
Returns the video input status on selected video channel.
Parameters
hdev
a handle to the 2255 device.
channel
14