Sensoray 2255 Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 33
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
S2255_DeviceClose(HANDLE hdev);
Must be called before application terminates for proper clean-up of the SDK and SDK objects.
Parameters
hdev
the handle value of the unit to be closed
.
Returns
0 on success.
S2255_SetMode(HANDLE hdev, int channel, MODE2255 *mode);
Sets the operating mode for the selected channel (1-4) of the 2255.
Parameters
hdev
A handle to the 2255 device.
channel
channel number (1-4).
mode
a pointer to MODE2255 structure containing the desired operation mode (see s2255.h).
Returns
0 on success.
S2255_DQBUF(HANDLE hdev, int channel, int frmnum);
Informs the driver that the application is releasing a frame back to the driver. Failure to do that
may cause the driver to skip frames because of “buffer starvation”.
Parameters
hdev
A handle to the 2255 device.
channel
channel number (1-4).
frmnum
frame number to dequeue (0 to SYS_FRAMES – 1).
Returns
26
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 32 33

Comentarios a estos manuales

Sin comentarios