IUIX_Cmd::GetShortcut Method
From PDF XChange PDF SDK
Gets single or double shortcut from the command's shortcuts list by index.
Syntax
HRESULT GetShortcut([in] LONG nIndex, [out] UIX_CmdAccel* stA1, [out] UIX_CmdAccel* stA2);
Parameters
- nIndex
- [in] Value of LONG containing index in the shortcuts list.
- stA1
- [out] Pointer to UIX_CmdAccel containing single shortcut or first part of the double shortcut.
- stA2
- [out] Pointer to UIX_CmdAccel containing the second part of the double shortcut (if present).
Return Value
Returns S_OK if operation was successful or error code in other cases.