]> xenbits.xensource.com Git - pvdrivers/win/xencons.git/commit
Handle DBT_DEVICEREMOVEPENDING and DBT_DEVICEREMOVECOMPLETE
authorOwen Smith <owen.smith@citrix.com>
Mon, 11 Sep 2017 20:08:29 +0000 (13:08 -0700)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 11 Sep 2017 20:08:29 +0000 (13:08 -0700)
commit7fab255f9182c50430ea9d5b0e523d7e0365501c
tree2eb8450969fe3ac3bf2e404958051749effdb33d
parent84b583523c64e5e778ef261a96c7db3fe0f551af
Handle DBT_DEVICEREMOVEPENDING and DBT_DEVICEREMOVECOMPLETE

When surprise removed, DBT_DEVICEQUERYREMOVE is not called, and
the handles opened by the service need closing before the driver
gets the IRP_MN_REMOVE_DEVICE Irp.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/monitor/monitor.c