<p>I want to add an item into the Desktop context menu (the menu you see when you right-click on an empty space on the Windows Desktop).  </p>

<p>Something like Catalyst Control Center in this screenshot:<br>
<img src="https://i361.photobucket.com/albums/oo51/Stark3000/ContextMenuExample.png" alt="Embedded Example"></p>

<p>I know how to add items to files' and folders' context menus through registry, but the Desktop seems to work differently: I didn't even find the text in the registry.  </p>

<p>So, how can I add a new item into the Desktop menu and how can I associate some code with it?<br>
I think the solution is language independent, if it's not, I'd appreciate any code that helps.</p>

[{'answer_id': 76777, 'author': 'Peter Ritchie', 'author_id': 5620, 'author_profile': 'https://Stackoverflow.com/users/5620', 'pm_score': 1, 'selected': False, 'text': '<p>There\'s a series of articles on CodeProject that details writing Shell Extensions and is very good:</p>\n\n<p><a href="http://www.codeproject.com/KB/shell/shellextguide1.aspx" rel="nofollow noreferrer">http://www.codeproject.com/KB/shell/shellextguide1.aspx</a></p>\n'}, {'answer_id': 84878, 'author': 'efotinis', 'author_id': 12320, 'author_profile': 'https://Stackoverflow.com/users/12320', 'pm_score': 2, 'selected': False, 'text': '<p>Such a handler must be registered in HKCR\\Directory\\Background, instead of usual locations like HKCR\\Directory, HKCR\\Folder, etc.</p>\n\n<p>Check out <a href="http://msdn.microsoft.com/en-us/library/cc144067(VS.85).aspx" rel="nofollow noreferrer">Creating Shell Extension Handlers</a> in MSDN.</p>\n'}]
['https://Stackoverflow.com/questions/76553', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2239/']