reactos/ntoskrnl/io
Victor Perevertkin 582ca68696
[NTOS:PNP] Improve and refactor PnP notifications
- BUGFIX: do not call IoGetRelatedTargetDevice while guarded mutex is acquired
  (the function issues an APC, but they are disabled inside a critical section)
- BUGFIX: only the beginning of a structure for GUID_PNP_CUSTOM_NOTIFICATION was copied and queued.
  Just pass it as-is to a subscriber, without copying
- Don't convert event GUID to string, store and compare GUID struct itself
- Split IopNotifyPlugPlayNotification into 3 functions for each type of notification
  (less stack usage and for future changes)
- Move initialization code for notifications into a separate routine
- Use separate lists and locks for every type of notification
- Put "TargetDeviceChange" notifications into their place inside DEVICE_NODE
2020-12-05 22:25:40 +03:00
..
iomgr [NTOS:PNP] Improve and refactor PnP notifications 2020-12-05 22:25:40 +03:00
pnpmgr [NTOS:PNP] Improve and refactor PnP notifications 2020-12-05 22:25:40 +03:00
debug.c [NTOS:PNP] Add set functions for debugging PNP and IO managers. (#2457) 2020-04-04 14:30:40 +02:00
pnpio.h [NTOS:PNP] Add set functions for debugging PNP and IO managers. (#2457) 2020-04-04 14:30:40 +02:00