Undocumented functions of NTDLL

2OO1, 1O February


NtNotifyChangeDirectoryFile
NtNotifyChangeDirectoryFile

NTSYSAPI 
NTSTATUS
NTAPI

NtNotifyChangeDirectoryFile(
IN HANDLE FileHandle, IN HANDLE Event OPTIONAL, IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, IN PVOID ApcContext OPTIONAL, OUT PIO_STATUS_BLOCK IoStatusBlock, OUT PVOID Buffer, IN ULONG BufferSize, IN ULONG CompletionFilter, IN BOOLEAN WatchTree );



NtNotifyChangeDirectoryFile is used to process changes to directory File Object. Becouse function returns immediatelly with STATUS_PENDING, you must decide to use Event Object or APC routine as notification form.



Requirements:
Library: ntdll.lib


See also:
EVENT_TYPE
FILE_NOTIFY_INFORMATION