CreateShortcut icon index can now be larger than 255 (Bug #1123)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6638 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b519aae63b
commit
8f65eb3c23
4 changed files with 34 additions and 25 deletions
|
@ -510,6 +510,17 @@ typedef struct {
|
|||
#define DEL_REBOOT 4
|
||||
#define DEL_SIMPLE 8
|
||||
|
||||
#ifdef NSIS_SUPPORT_CREATESHORTCUT
|
||||
#define CS_HK_MASK 0xffff0000 // HotKey
|
||||
#define CS_HK_SHIFT 16
|
||||
#define CS_NWD 0x00008000 // NoWorkingDirectory flag
|
||||
#define CS_SC_MASK 0x00007000 // ShowCmd
|
||||
#define CS_SC_SHIFT 12
|
||||
#define CS_II_MASK 0x00000fff // IconIndex
|
||||
#define CS_II_SHIFT 0
|
||||
#define CS_II_MAX (CS_II_MASK >> CS_II_SHIFT)
|
||||
#endif
|
||||
|
||||
// special escape characters used in strings: (we use control codes in order to minimize conflicts with normal characters)
|
||||
#define NS_LANG_CODE _T('\x01') // for a langstring
|
||||
#define NS_SHELL_CODE _T('\x02') // for a shell folder path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue