|
UninstallDriver
Description
Attempts to uninstall the screen capture driver on the system.
Syntax
[C#/C++]
public: long UninstallDriver()
[VB.NET]
Public Overridable Function UninstallDriver() As Integer
Return Value
The return value is formatted as follows.
High order word:
|
Value |
Meaning |
|
SUCCESS_SUCCESS = 0 |
Successfully uninstalled |
|
SUCCESS_REBOOT_NEEDED = 1 |
Successfully uninstalled, but PC needs to be rebooted for the process
to be completed. |
|
SUCCESS_NOREBOOT_NEEDED = 2 |
Successfully uninstalled and PC does not require reboot. |
|
FAILURE = 3 |
Uninstall failed. |
Low order word:
|
Value |
Meaning |
|
ERROR_UNKNOWN = -1 |
|
|
ERROR_NOERROR = 0 |
|
|
ERROR_NOADMINRIGHTS = 1 |
Administrator rights are required for capture driver uninstallation,
and the current user does not have these rights.
|
|
ERROR_UNKNOWN = 4 |
|
|
ERROR_RUNONCE_SETUP = 16 |
The PC needs to be rebooted to complete the uninstall process. |
|
DRIVER_NOTINSTALLED = 64 |
|
|
UNINSTALL_FAILURE = 128 |
|
|
UNINSTALL_SUCCESS = 256 |
|
|
REGISTRY_ERROR = 512 |
|
Remarks
Administrative access rights are required to uninstall the
driver. An alternative method of uninstalling the driver, that can be
more easily used at application uninstall-time is via FlashbackDriverInstaller.exe.
See Installing
the Capture Driver on End-User PCs for details.
Read the IsDriverInstalled
property to determine if the screen capture driver has been installed.
See Also
IsDriverInstalled property,
InstallDriver method, IsDriverVersionOK
method, CanDriverBeInstalled method |