From Tracker Software PDF SDK
Adds new double shortcut to the command's shortcuts list. If the current combination is already inside the commands list with the same priority then it will be replaced.
HRESULT AddShortcut2([in] UIX_CmdAccel* stA1, [in, defaultvalue(NULL)] UIX_CmdAccel* stA2, [in, defaultvalue(-1)] LONG nPriority);
- [in] Pointer to UIX_CmdAccel containing the key combination that should be pressed first.
- [in, defaultvalue(NULL)] Pointer to UIX_CmdAccel containing the key combination that shold be pressed after the first one.
- [in, defaultvalue(-1)] Value of LONG containing the command's priority that acts as the index in the shortcuts list.
Returns S_OK if operation was successful or error code in other cases.