Article ID: 245214 - Last Review: November 21, 2006 - Revision: 4.1 PRB: ReadDirectoryChangesW Not Giving Consistent NotificationThis article was previously published under Q245214 On This PageSYMPTOMS
If you are using ReadDirectoryChangesW or FindNextChangeNotification to be notified when files are accessed you may not be notified when expected if the file is accessed soon after you were last notified.
CAUSE
Windows NT and Windows 2000 only updates the Last Access Time every hour for performance reasons.
RESOLUTION
To find out if a file has been accessed more frequently then hourly use GetFileTime().
STATUS
This behavior is by design.
MORE INFORMATIONSteps to Reproduce Behavior
REFERENCES
For additional information, see the following article or articles in the
Microsoft Knowledge Base: 188321
(http://support.microsoft.com/kb/188321/EN-US/
)
FindFirstChangeNotification May Not Notify All Processes
| Article Translations
|

Back to the top
