Sensoray 819 Windows SDK User Manual
Page 10

S819_StopAll
ECODE S819_StopAll(HCNODE hCnode)
Stops capture of all streams attached to a selected capture node.
S819_WaitBuffer
ECODE S819_WaitBuffer(HCNODE hCnode, BUFFER *buffer)
A blocking function that waits for data to become available for a selected capture node. The function
times out if the data is not ready in 5 seconds and returns an error code. If the data is available the
function fills in the structure pointed to by buffer with data parameters. A buffer needs to be returned
back to the driver by calling S819_ReleaseBuffer.
S819_ReleaseBuffer
ECODE S819_ReleaseBuffer(BUFFER *buf)
Returns a buffer to the driver. It is essential to call this function after the data has been handled by the
application. Once the buffer is released members of the
*buf
become invalid.
S819_Close
void S819_Close (void)
SDK cleanup. Must be called before an application terminates. Must be the last call to the SDK.
S819_SetXPSwitch
ECODE S819_SetXPSwitch (int brd, int inp, int out)
Controls output video crosspoint switch. Connects selected input to selected output.
brd
board index (0-based).
inp
selected input channel number (1-based).
out
selected output (0-based).
S819_SetXPOut
ECODE S819_SetXPOut (int brd, int mask)
Enables/disables outputs of video crosspoint switch.
brd
board index (0-based).
10