BB FlashBack SDK: FBRecorder

CheckDriver

Description

Returns a value indicating whether the capture driver has been successfully installed or uninstalled and whether a reboot is needed to complete the process.

This method should be used after calling InstallDriver or UninstallDriver, in order to know how to proceed.

Syntax

[C#/C++]
public long CheckDriver();

[VB.NET]
Public Function CheckDriver As Long

Return values

Returns -1 if an error occurs.

Otherwise it returns these values on success:

Upper, most significant 16 bits:

Value

Meaning

1

PC needs a reboot to complete the installation or uninstallation.

2

No reboot is required.

Lower 16 bits:

Value

Meaning

1

Driver is installed

2

 

Driver is not installed

12

Driver is installed but the version does not match that required by this installation of the SDK.

 

See Also

IsDriverInstalled property, InstallDriver method, UninstallDriver method, IsDriverVersionOK method