Author: pschweitzer Date: Fri Mar 7 19:46:37 2014 New Revision: 62445
URL: http://svn.reactos.org/svn/reactos?rev=62445&view=rev Log: [FASTFAT] Add really limited support for file system notifications. In case of file creation, we report this.
More cases are missing, such as: dir creation, attributes change, size change, last write change. See: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364417%28v=vs.85%2... as a reference
CORE-2582
Modified: trunk/reactos/drivers/filesystems/fastfat/create.c
Modified: trunk/reactos/drivers/filesystems/fastfat/create.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat... ============================================================================== --- trunk/reactos/drivers/filesystems/fastfat/create.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fastfat/create.c [iso-8859-1] Fri Mar 7 19:46:37 2014 @@ -754,6 +754,19 @@ &pFcb->FCBShareAccess); }
+ if (Irp->IoStatus.Information == FILE_CREATED) + { + FsRtlNotifyFullReportChange(DeviceExt->NotifySync, + &(DeviceExt->NotifyList), + (PSTRING)&pFcb->PathNameU, + pFcb->PathNameU.Length - pFcb->LongNameU.Length, + NULL, + NULL, + FILE_NOTIFY_CHANGE_FILE_NAME, + FILE_ACTION_ADDED, + NULL); + } + pFcb->OpenHandleCount++;
/* FIXME : test write access if requested */