beautypg.com

Sensoray 2255 User Manual

Page 17

background image

array of at least *pCount devices. If querying the number of devices (*pCount = 0),

pDevices may be NULL.

Returnst

Returns 0 on success.

S2255_GetFirmware(HDEVICE hdev, UINT32 *usb, UINT32 *dsp);

Returns the board's firmware version. This function is informational only.

Parameters

hdev

a handle to the 2255 device.

usb

USB firmware version.

dsp

Current loaded DSP firmware version. 0 if unknown. Unpacking for display is as follows: x =

dsp / 10000, y = (dsp % 10000) / 100, z = (dsp % 100), version = x.y.z

Returns

Returns 0 on success.

S2255_GetVersions(HDEVICE hdev, UINT32 *dll, INT32 *driver);

Windows only. Returns the versions of various software components being used. This function is
useful to make sure the SDK was installed correctly and the correct DLL is being used.

Parameters

hdev

a handle to the 2255 device.

dll

DLL version.

driver

Driver version.

Returns

Returns 0 on success.

17