The Context Menu Extension DLL is a standard type of the Shell extension handlers. Like all such handlers, it is in-process Component Object Model (COM) object implemented as dynamic-link library (DLL). The Context Menu Extension handler exports two interfaces in addition to IUnknown: IShellExtInit and IContextMenu. It uses standard functions and procedures that Windows Shell calls to manage data between the extension and the Shell, like IShellExtInit::Initialize, IContextMenu::QueryContextMenu, IContextMenu::GetCommandString, IContextMenu::InvokeCommand. And (of course) like all another COM objects the Context Menu Extension DLL exports standard functions: DllMain, DllGetClassObject, DllCanUnloadNow.
BUT YOUR OWN APPLICATION NEEDN'T TO KNOW ALL THE THINGS WRITTEN ABOVE!
Why?
Because the Context Menu Extension DLL works only with the Shell and interacts with your own application through a Command Line, using ShellExecute function with the next parameters:
lpOperation = "open";
lpFile = "fully_qualified_path_to_your_application" (The Context Menu Extension DLL reads this path from the registry)
lpParameters = pointer to the zero terminated string that consists all the items the Context Menu Extension DLL had got from the Shell. Your application parses this string to retrieve all the item user had selected from the Windows Explorer.
nShowCmd = SW_SHOWNORMAL
The last and only thing, you have to write in your code in order to start execute your application together with the Context Menu is parsing the Command Line to get all the items, that Context Menu Extension Dll had passed into the Command Line string. Provided in this package TestMenu application helps you to test the parsing of the string (as well as menu functionality) prior you will code it in your project.
Screenshot
Comments
No comments have been submitted for this product. Be the first user to submit a comment.
More Similar Software
Context Magic v1.0 Beta 5 ... Context Magic is a Windows Explorer context menu extension that extends functionality of the Send To menu and lets you manage files and folders. ...
Context ThumbView v1.8.1 ... Context ThumbView is a Windows Explorer context menu extension that provides a pop-up menu containing thumbnail of selected image file. It supports most of popular image file formats. ...
ShellToys XP v6.0.0 ... ShellToys XP is a suite of 27 shell extensions adding new features to the Windows context menu for files, folders, windows and dialogs. Right-click a single file to encrypt, decrypt, shred or split it, change its extension, date or attributes. Image files display a preview on the menu, zip files display contents for easy extraction of one or more files. ...
Windows Explorer Context Menu (.Net Component) 6.83 ... Add Items to Windows Explorer context menu - fast and easy ? Then you need Windows Explorer Context Menu. This .Net component will add all your custom items to Windows Explorer Shell context menu - automatically. All is supported (.Net, C#, VB.Net, C++, Java, CLR, etc.) ~ Add items to Windows Explorer Shell context menu on-the-fly ~ Add items with your icon and caption to Windows Explorer Shell context menu ~ Add to Explorer context menu items (entries) of all types.
Key features:
~ Add ...
Explorer Context Menu Platinum 4.20 ... Add custom items to Windows Explorer shell context menu easily with Context Menu Platinum (.Net Component for C#, VB, etc.). Easy to start (just install), easy to add your custom menu items (just one lines of template code for every menu item), easy to use (.Net, C#, VB, etc.) easy to deploy (just add 1 small file to your installation pack).
First, some words about appending of your items to Explorer context menu - and about how you may do it.
Shell context menu items appending ...