[This is preliminary documentation and subject to change.]
The Shortcut table holds the information the application needs to create Shortcuts on the user's computer.
The Shortcut table has the following columns.
Column | Type | Key | Nullable |
---|---|---|---|
Shortcut | Identifier | Y | N |
Directory_ | Identifier | N | |
Name | Text | N | |
Component_ | Identifier | N | |
Target | Identifier | N | |
Arguments | KeyFormatted | Y | |
Description | Text | Y | |
HotKey | Integer | Y | |
Icon_ | Identifier | Y | |
IconIndex | Integer | Y | |
ShowCmd | Integer | Y | |
WkDir | Identifier | Y |
External key to column one of the Directory table.
External key to column one of the Component table.
External key to column one of the Feature table or KeyFormatted.
Non-negative numbers only. The low-order byte contains the virtual-key code for the key, and the high-order byte contains modifier flags.
Non-negative numbers only.
The following values may be used. The values are exactly as defined for the Windows API function ShowWindow.
Value | Meaning |
---|---|
0 | SW_HIDE |
1 | SW_SHOWNORMAL |
2 | SW_SHOWMINIMIZED |
3 | SW_SHOWMAXIMIZED |
4 | SW_SHOWNOACTIVATE |
5 | SW_SHOW |
6 | SW_MINIMIZE |
7 | SW_SHOWMINNOACTIVE |
8 | SW_SHOWNA |
9 | SW_RESTORE |
10 | SW_SHOWDEFAULT |
10 | SW_MAX |
The Shortcuts are created only if the IShellLink interface is present on the system. An advertised shortcut is created when the corresponding feature has been enabled. A non-advertised shortcut is created when the corresponding component has been selected to be installed, either locally or run from source.
This table is referred to when the CreateShortcuts action and the RemoveShortcuts action is executed.