summaryrefslogtreecommitdiff
path: root/src/VBox/HostDrivers/VBoxUSB/win
Commit message (Collapse)AuthorAgeFilesLines
* scm --update-copyright-yearvboxsync2022-01-0130-30/+30
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@93115 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUSB/win/Makefile.kmk: Use a template for the USB* programs, switching ↵vboxsync2021-12-161-35/+17
| | | | | | them to VBoxR3Static and applying VBOX_WIN_NEWDEV. bugref:10116 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92968 cfe28804-0f27-0410-a406-dd0f0b0b656f
* /Config.kmk,*.kmk: Preparing to switch to Windows 10 SDK. bugref:10116vboxsync2021-12-141-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92910 cfe28804-0f27-0410-a406-dd0f0b0b656f
* HostDrivers: More VALID_PTR -> RT_VALID_PTR/AssertPtr.vboxsync2021-08-231-7/+5
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@90804 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUSBMon: Do things in a different order (see bugref:9982).vboxsync2021-04-151-1/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@88531 cfe28804-0f27-0410-a406-dd0f0b0b656f
* iprt/cdefs.h: Refactored the typedef use of DECLCALLBACK as well as ↵vboxsync2020-07-082-4/+6
| | | | | | DECLCALLBACKMEMBER to wrap the whole expression, similar to the DECLR?CALLBACKMEMBER macros. This allows adding a throw() at the end when compiling with the VC++ compiler to indicate that the callbacks won't throw anything, so we can stop supressing the C5039 warning about passing functions that can potential throw C++ exceptions to extern C code that can't necessarily cope with such (unwind,++). Introduced a few _EX variations that allows specifying different/no calling convention too, as that's handy when dynamically resolving host APIs. Fixed numerous places missing DECLCALLBACK and such. Left two angry @todos regarding use of CreateThread. bugref:9794 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@85121 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Reverting r138262 (i.e. restoring VBOX_WITH_AUTOMATIC_DEFS_QUOTING). ↵vboxsync2020-05-261-2/+2
| | | | | | Corrected the conditions for it's definition instead. bugref:8489 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84540 cfe28804-0f27-0410-a406-dd0f0b0b656f
* s/VBOX_WITH_AUTOMATIC_DEFS_QUOTING/KMK_WITH_QUOTING/g - bugref:8489vboxsync2020-05-261-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84533 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUSB: VC++ 14.1 adjustments and warnings (and some cleanups). bugref:8489vboxsync2020-04-185-76/+58
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@83803 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Copyright year updates by scm.vboxsync2020-02-0430-30/+30
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82968 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUSBMon.sys: Comments, tweaked disabled code.vboxsync2020-01-081-3/+7
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82669 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/Win: Use a different method of obtaining the port number in VBoxUSBMon.sys.vboxsync2019-12-101-54/+82
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82538 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IoGetDevicePropertyData has trouble on Win7, don't require it (like we ↵vboxsync2019-12-061-15/+25
| | | | | | didn't require it before). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82446 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scmvboxsync2019-12-061-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82445 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/Win: Added logic to VBoxUSBMon to query USB device location, enabling ↵vboxsync2019-12-062-12/+87
| | | | | | more accurate matching (see bugref:9518). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82444 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/Win: Another round of USB enumeration updates.vboxsync2019-12-061-54/+15
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82443 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: More work on USB enumeration.vboxsync2019-11-051-2/+72
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81664 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Continuing enumeration code updates.vboxsync2019-10-251-31/+147
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81547 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Continuing enumeration changes, WIP.vboxsync2019-10-221-5/+109
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81452 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Drill down to PDO base when looking up device objects. Solves ↵vboxsync2019-09-302-1/+117
| | | | | | problems with capturing when USBPcap is installed. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81083 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Logging fix.vboxsync2019-09-301-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81078 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Log an error to Event Viewer if INTERNAL_IOCTL_PROXY_STARTUP fails ↵vboxsync2019-09-301-1/+12
| | | | | | to find the passed-in PDO. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81070 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Additional logging, format specifier fixes.vboxsync2019-09-271-50/+65
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81058 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scmvboxsync2019-09-261-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81024 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Updated VBoxUSBMon testcase to work with the current filter ↵vboxsync2019-09-262-16/+47
| | | | | | implementation. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81023 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Work around a case where userland can read USB string descriptors ↵vboxsync2019-09-241-3/+17
| | | | | | but kernel can't, don't require exact match. See bugref:9518 for details. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80981 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Make USB device class/subclass/protocol matching optional since ↵vboxsync2019-09-241-3/+33
| | | | | | VBoxUSBMon may not be able to read them and reconstruct the values (see bugref:9479). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80978 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Updated logging for better diagnostics.vboxsync2019-09-241-9/+17
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80964 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Don't let the debug build kill the host just because bogus IOCTL ↵vboxsync2019-09-232-5/+11
| | | | | | input was passed in. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80941 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Removed unused arguments.vboxsync2019-09-183-25/+16
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80891 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Corrected several debug logging format specifiers.vboxsync2019-09-181-3/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80889 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Removed unused VBOX_USB_USE_DEVICE_NOTIFICATION code from userland ↵vboxsync2019-09-184-186/+25
| | | | | | and support driver (SUPUSBFLT_IOCTL_SET_NOTIFY_EVENT). See bugref:9518 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80877 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Reverted r128297 (Windows host drivers: Use SERVICE_DEMAND_START (3) instead ↵vboxsync2019-09-151-1/+2
| | | | | | of SERVICE_SYSTEM_STA RT (1) for VBoxDrv and VBoxUSBMon.): For now go back to start on boot. Needs more work to go for the better solution, since regular users cannot start the drivers. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80796 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Continuing USB device enumeration rewrite.vboxsync2019-09-101-25/+168
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80685 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB/win: Started rewriting USB enumeration.vboxsync2019-09-061-0/+219
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80631 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUsbLib-win: Print information identifying the hub and port where an ↵vboxsync2019-08-281-22/+23
| | | | | | error occurred. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80480 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUSBMon: Also obtain USB device class, subclass, and protocol through ↵vboxsync2019-08-271-7/+84
| | | | | | IoGetDeviceProperty if descriptors can't be read. Follow-up to bugref:9479 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80441 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUSBMon: Typo fixes.vboxsync2019-08-272-3/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80436 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUSBMon: Removed unused function.vboxsync2019-08-261-29/+0
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80431 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUSBMon: Log semi-undocumented PnP IRPs that we may see.vboxsync2019-08-091-0/+10
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80207 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USBInstall: Don't make CWD assumptions.vboxsync2019-06-281-36/+48
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79408 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Removed stray text.vboxsync2019-06-271-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79399 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUsbMon: Implemented fallback method of obtaining USB vendor/product ID ↵vboxsync2019-06-271-2/+99
| | | | | | (see bugref:9479). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79392 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUsbLib-win: More logging.vboxsync2019-06-271-4/+5
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79390 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VBoxUSBMon.sys: Removed unused code.vboxsync2019-06-252-372/+0
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79334 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USBMon (bugref:6509) Drop obsolete single-hook code.vboxsync2019-06-241-141/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79311 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Remove trailing blank introduced with r131130vboxsync2019-06-051-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79000 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Undo accidental part of r131130vboxsync2019-06-051-4/+0
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@78999 cfe28804-0f27-0410-a406-dd0f0b0b656f
* HostDrivers/VBOxUSB/win: Short term workaround for @bugref{9479} which needs ↵vboxsync2019-06-052-0/+55
| | | | | | to beactivated by a special registry setting, will get removed as soon as a proper fix is found git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@78998 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Windows host drivers: Use SERVICE_DEMAND_START (3) instead of ↵vboxsync2019-01-211-2/+1
| | | | | | SERVICE_SYSTEM_START (1) for VBoxDrv and VBoxUSBMon. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@76925 cfe28804-0f27-0410-a406-dd0f0b0b656f