IUIX_CmdAccelTargetCallback::OnGetCmdAccelTarget Method
Gets target object of the given shortcut.
Syntax
HRESULT OnGetCmdAccelTarget([in] IUIX_Obj* pStart,
[in] UIX_CmdAccel* stA1,
[in] UIX_CmdAccel* stA2,
[out] LONG* nCmdID,
[out] LONG* nCmdState,
[out] IUIX_Obj** pCmdTarget);
Parameters
- pStart
- [in] Pointer to IUIX_Obj containing the starting object.
- stA1
- [in] Pointer to UIX_CmdAccel containing the first part of the shortcut.
- stA2
- [in] Pointer to UIX_CmdAccel containing the second part of the shortcut.
- nCmdID
- [out] Pointer to LONG containing the resulting command ID.
- nCmdState
- [out] Pointer to LONG containing the command's state.
- pCmdTarget
- [out] Pointer to IUIX_Obj containing the command's target.
Return Value
Returns S_OK if operation was successful or error code in other cases.