: error C2065: “SHGDN_INCLUDE_NONFILESYS”: 未声明的标识符

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.


解决方法:不要使用这个宏了。

你可能感兴趣的:(: error C2065: “SHGDN_INCLUDE_NONFILESYS”: 未声明的标识符)