devenum: Only scan for devices for the requested filter category.
commit9316d8ae864757429e71f1d3de34e7985800bdb5
authorZebediah Figura <z.figura12@gmail.com>
Sun, 23 Sep 2018 01:31:57 +0000 (22 20:31 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 24 Sep 2018 08:25:06 +0000 (24 10:25 +0200)
tree7e4e75ebc74bb1b786b1548a408022e9af0db4b6
parentec16a92b1d900858df7924289e815283c433b9cc
devenum: Only scan for devices for the requested filter category.

This matches native behaviour, and greatly reduces the overhead of
IFilterMapper2_EnumMatchingFilters().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/devenum/createdevenum.c