Page History
...
1 If the path points to a valid directory with no filefiles.
Remarks
The IsDirectoryEmpty service determines if the directory is both valid and devoid of any files. This is includes invisible system files. So, even if a directory appears empty in Windows Explorer, this will return 0 if there are any files whatsoever in the directory.
...
Result1 will be 0. Result2 will be 1, assuming it is truly empty.
See Also
IsDirectory, IsNetworkPath, IsRelative, IsRoot, IsSameRoot, IsSystemFolder, IsUNC, IsURL