mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[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%29.aspx as a reference CORE-2582 svn path=/trunk/; revision=62445
This commit is contained in:
parent
d315b7bb39
commit
3d38a13543
1 changed files with 13 additions and 0 deletions
|
@ -754,6 +754,19 @@ VfatCreateFile(
|
|||
&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 */
|
||||
|
|
Loading…
Reference in a new issue