summaryrefslogtreecommitdiff
path: root/libusb/os
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-02-15 23:49:31 +0000
committerPete Batard <pbatard@gmail.com>2010-02-15 23:49:31 +0000
commitb16c22266bcd2d97f742e34ecb4fff2d52be2298 (patch)
tree18f3419141a291f09a38fd9285ffe631d24a87b0 /libusb/os
parentadf2a8e3082be13d4324a8b277a99333dc90301d (diff)
downloadlibusb-b16c22266bcd2d97f742e34ecb4fff2d52be2298.tar.gz
fixed a couple issues with driver-install vcproja157
Diffstat (limited to 'libusb/os')
-rw-r--r--libusb/os/driver_install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/driver_install.c b/libusb/os/driver_install.c
index 81dd1f1..3af21f2 100644
--- a/libusb/os/driver_install.c
+++ b/libusb/os/driver_install.c
@@ -266,7 +266,6 @@ int install_device(char* path)
r = DriverPackagePreinstall(path, DRIVER_PACKAGE_LEGACY_MODE|DRIVER_PACKAGE_REPAIR);
// Will fail if inf not signed, unless DRIVER_PACKAGE_LEGACY_MODE is specified.
- // Will fail if no cat file has been created
// r = 87 ERROR_INVALID_PARAMETER on path == NULL
// r = 2 ERROR_FILE_NOT_FOUND if no inf in path
// r = 5 ERROR_ACCESS_DENIED if needs admin elevation
@@ -274,6 +273,7 @@ int install_device(char* path)
// r = 0xE0000304 ERROR_INVALID_CATALOG_DATA => no cat
// r = 0xE0000247 if user decided not to install on warnings
// r = 0x800B0100 ERROR_WRONG_INF_STYLE => missing cat entry in inf
+ // r = 0xB7 => missing DRIVER_PACKAGE_REPAIR flag
usbi_dbg("ret = %X", r);
return 0;