U2C_GetDriverVersion()

U2C_RESULT U2C_GetDriverVersion(
      HANDLE hDevice,
      PU2C_VESION_INFO pVersion
);

The U2C_GetDriverVersion() function retrieves the version of the driver used to communicate with U2C-12 device.

Parameters:

hDevice
Handle to the U2C-12 device to obtain the version of the driver used to communicate with.
pVersion
Pointer to a U2C_VERSION_INFO structure to be filled with the driver version number.

Return values:

U2C_SUCCESS

The driver version was successfully retrieved.

U2C_HARDWARE_NOT_FOUND

U2C-12 device referenced by hDevice handle was not found.

Rating: 
Голосов пока нет