Home » Software Development » Component & Library » Context Menu Extension DLL 3.1
( Free Trial |656.00 KB ) Context Menu Extension DLL 3.1 Publisher's description
Context Menu Extension DLL 3.1
Easiest way to add your own Windows Explorer menu with icon near your verb.
- Developer:
- SoftMajor
- License:
- Demo
- OS:
- Windows 98 / ME / 2000 / XP / 2003
- Price:
- $69.00
Price is subject to change at any time by the company - Date added:
- 9/13/2004
- Last Update:
- 2/14/2007
- Average Rating:
- Not yet rated.
- Your Rating:
( Free Trial |656.00 KB ) - Full Version | $69.00 / €51.52 / £44.08
- Purchase from Regnow

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.
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.
Related downloads for Context Menu Extension DLL
New release of Component & Library
More products from SoftMajor
Categories
- » Software Development
- » MP3 & Audio
- » Multimedia & Design
- » Desktop Enhancement
- » Games
- » Home & Education
- » Business & Finance
- » Internet
- » Utility
- » Web Developer