Checking nFileExtension may NOT be reliable because it can also be 0 if the user entered no file extension (but just the dot, like "file.").
I think to distinguish between single and multi file selection one has to check if there is a null character (terminator) at position nFileOffset - 1.