shell-namespace-extension

How to create shortcut for virtual folder in C++ on windows 7?

流过昼夜 提交于 2021-01-29 08:44:35
问题 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

Quick Access and Namespace Extensions: Unpin object

谁说胖子不能爱 提交于 2020-01-06 05:58:11
问题 When I right click on an lnk file - link on a virtual folder in a namespace extension -, then the functions CreateViewObject and/or GetUiObjectOf of my IShellFolder/IShellFolder2 implementations are called. These functions are called with the IID_IContextMenu as parameter (riid) . Also when QueryContextMenu is called the flag CMF_VERBSONLY (0x00000002) is set. It means that 1) I know that a menu should be shown and 2) that because of the flag CMF_VERBSONLY that this menu was queried by a .lnk

cannot get the path for the virtual folder on windows 7 C++(shell namespace extension related)

亡梦爱人 提交于 2020-01-03 04:50:06
问题 By using Microsoft windows SDK 7.0, explorerDataProvider, I installed a virtual folder on windows 7. When I open the file browse dialog from an application, CFileDialog dlg(TRUE, NULL, 0, OFN_ENABLESIZING | OFN_ALLOWMULTISELECT, L"all(*.*)|*.*||", this); INT_PTR result = dlg.DoModal(); if (result == IDOK) { . . . //some actions } it can also display the virtual folder: But when I select the file, like "Zero" can then clicks "Open", I tried to add breakpoints to INT_PTR result = dlg.DoModal();

Reload a namespace extension in explorer.exe that failed to load previously

自古美人都是妖i 提交于 2019-12-11 00:19:33
问题 Background I have a Shell Namespace Extension that is located (using a virtual folder as its junction point) under MyComputer. It is possible to create a shortcut to my namespace extension. Here I show my namespace extension with a shortcut on the desktop. If my namespace extension is not installed, the shortcut that I created when it was installed will be unresolved as expected. When my application starts up, it installs my namespace extension into the registry. When it exits, it removes the