Windows file system is case insensitive. How, given a file/folder name (e.g. \"somefile\"), I get the actual name of that file/folder (e.g. it should return \"SomeF
There is another solution. First call GetShortPathName() and then GetLongPathName(). Guess what character case will be used then? ;-)