What's the difference between PATH_NOT_FOUND and NAME_NOT_FOUND
- by Benjamin
In Win32 layer, we often meet ERROR_PATH_NOT_FOUND, ERROR_NAME_NOT_FOUND.
When does WinAPI(eg CreateFileW, RemoveDirectoryW) return these values?
And What's the difference?
If I write a file system driver, when do I set STATUS_OBJECT_PATH_NOT_FOUND or STATUS_OBJECT_NAME_NOT_FOUND?
I'm so confused.
Is there anyone who can explain clearly?
Or are there any documents explain this? I couldn't find them.
Thanks in advance.