[IOEVENT]
authorPierre Schweitzer <pierre@reactos.org>
Wed, 23 Jun 2010 19:37:22 +0000 (19:37 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 23 Jun 2010 19:37:22 +0000 (19:37 +0000)
commit22576dee0566c615f47e89a256048c25a06eac79
tree7897c74259d3202ad6dfb0bfb253497391dd772e
parentbbbbb74fd5fe59cc7bfde8d7d39ec9ecaf116ffa
[IOEVENT]
Added a library containing GUIDs for PnP notifications

[BUGCODES]
Added missing bugcheck code for PnP manager

[NTOSKRNL]
- Implemented FsRtlNotifyVolumeEvent()
- Implemented IoReportTargetDeviceChange(), IoReportTargetDeviceChangeAsynchronous()
- Craplemented PpSetCustomTargetEvent() to match our actual PnP manager notifications system. This is to be rewritten
- Added support for custom notifications in IopNotifyPlugPlayNotification()
- Added use of FsRtlNotifyVolumeEvent() in RawUserFsCtrl() to notify volume state changes
- Added use of IoEvent library to ntoskrnl

[FASTFAT]
- Added use of FsRtlNotifyVolumeEvent() when successfully mounting a volume

Finally, purpose of that patch is to implement volumes events notifications. Behaviour and implementation is correct till PpSetCustomTargetEvent(). The PnP notifications manager should be rewritten to match Microsoft's one. Furthermore, it appears that in Windows, those notifications are asynchronous.

svn path=/trunk/; revision=47837
reactos/drivers/filesystems/fastfat/fsctl.c
reactos/include/psdk/ioevent.h [new file with mode: 0644]
reactos/include/reactos/mc/bugcodes.mc
reactos/lib/sdk/ioevent/ioevent.c [new file with mode: 0644]
reactos/lib/sdk/ioevent/ioevent.rbuild [new file with mode: 0644]
reactos/lib/sdk/sdk.rbuild
reactos/ntoskrnl/fsrtl/pnp.c
reactos/ntoskrnl/io/iomgr/rawfs.c
reactos/ntoskrnl/io/pnpmgr/pnpnotify.c
reactos/ntoskrnl/io/pnpmgr/pnpreport.c
reactos/ntoskrnl/ntoskrnl-generic.rbuild