FILE_NOTIFY_INFORMATION structure
Applies to: desktop apps only
Describes the changes found by the ReadDirectoryChangesW function.
Syntax
typedef struct _FILE_NOTIFY_INFORMATION {
DWORD NextEntryOffset;
DWORD Action;
DWORD FileNameLength;
WCHAR FileName[1];
} FILE_NOTIFY_INFORMATION, *PFILE_NOTIFY_INFORMATION;
Members
- NextEntryOffset
-
The number of bytes that must be skipped to get to the next record. A value of zero indicates that this is the last record.
- Action
-
The type of change that has occurred. This member can be one of the following values.
- FileNameLength
-
The size of the file name portion of the record, in bytes. Note that this value does not include the terminating null character.
- FileName
-
A variable-length field that contains the file name relative to the directory handle. The file name is in the Unicode character format and is not null-terminated.
If there is both a short and long name for the file, the function will return one of these names, but it is unspecified which one.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 4/17/2012