Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi code project support team,

I am using windows 10 operating system and programming in c,c++ win32 . Actually I am Successfully added context menu items or verbs on right click of any folder.

e.g on right click of any folder its shows my command text.

but whenever I plugin my mobile using usb(universal serial bus) cable it does not show any context menu items on right click.

first let me know the reasons why it not adding context menu items .secondly let me know if any sample code help or idea you have.

any help would be highly appreciated.

thanx and regards
harender bhardwaj

What I have tried:

I am using shellextension methods for this purpose.
Posted
Updated 5-Apr-18 1:51am

1 solution

Read the documentation about Creating Shell Extension Handlers. You must register your shell extension with the correct Predefined Shell Objects. In your case some usb drives.

Details to USB in Windows is in the pdf Beyond Autorun documented. Complext technical stuff but in chapter 5 are interesting details to the Windows Explorer discussed which is the holder of the shell and its extension. Really worth to read and understand to get an expert in this area and write an extension.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900