http://www.bytecenter.de/mario-becker/selfdoc/programming/nsx/nsx_93.html
Remarks
Starting with Windows NT 5.0, the SHGDN_INCLUDE_NONFILESYS flag is no longer available. To determine if a display name is from a file system, call IShellFolder::GetAttributesOf and test for SFGAO_FILESYSTEM.