How to Add Shortcuts to the Start Menu

To add an item to the Programs submenu, follow these steps.


Step 1:

Create a shell link by using the IShellLink interface.

Step 2:

Obtain the location of the Programs folder by using the SHGetKnownFolderPath function, passing FOLDERID_Programs.

Step 3:

Add the Shell link to the Programs folder. You can also create a folder in the Programs folder and add the link to that folder.