How to create shortcut for virtual folder in C++ on windows 7?
问题 The platform I am using is windows 7. I need to create shortcut for the virtual folder on windows 7. I use windows 7 SDK sample to create a virtual folder under Computer: The sample project name is called ExplorerDataProvider , it defines the CLSID for the IShellFolder class: // add classes supported by this module here const CLASS_OBJECT_INIT c_rgClassObjectInit[] = { { &CLSID_FolderViewImpl, CFolderViewImplFolder_CreateInstance }, { &CLSID_FolderViewImplContextMenu