From Tracker Software PDF SDK
Recursively finds owner command menu and index of the menu item inside of it that corresponds to the given command ID.
HRESULT DeepFindFirstItemByCmdID([in] LONG nCmdID, [out] LONG* nIndex, [out] IUIX_CmdMenu** pOwner);
- [in] Value of LONG containing the command ID that needs to be searched for.
- [out] Pointer to LONG containing the index of the item in the owner command menu.
- [out] Pointer to IUIX_CmdMenu containing the owner command menu.
Returns S_OK if operation was successful or error code in other cases.