Context Menu Extension DLL
Rating
By 3 Users
Downloads
: 5
|
Price : 69
Demo
Size :
0.64MB |
|
Version : 3.1 |
Minor Update
|
OS
Win95 , Win98 , WinME , WinNT 3.x , WinNT 4.x , Windows2000 , WinXP
|
|
Your own Windows Explorer menu verb with icon
The This program 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 This program exports standard functions: DllMain, DllGetClassObject, DllCanUnloadNow.
BUT YOUR OWN APPLICATION NEEDNT TO KNOW ALL THE THINGS WRITTEN ABOVE!
Why!
Because the This program 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 This program reads this path from the registry)
lpParameters = pointer to the zero terminated string that consists all the items the This program 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.
|
|
|
|
Questions or Problems with This Program ! |
Report Bad Link |
If you have any questions please post it and we will answer it asap .
[ Comments allowed for anonymous users, please dont register ]
|
So far so good :
No Comments :: No Problems :: No Answers
|
|
Please Scan for Viruses before use .