IUIX_CmdMenu::FindFirstItemByCmdName Method
From PDF XChange PDF SDK
Finds first occurrence of the menu item that corresponds to the given command name.
Syntax
HRESULT FindFirstItemByCmdName([in] BSTR sCmdName, [out, retval] LONG* nIndex);
Parameters
- sCmdName
- [in] Value of BSTR containing the command name that corresponds to the command menu item.
- nIndex
- [out, retval] Pointer to LONG containing the resulting item index.
Return Value
Returns S_OK if operation was successful or error code in other cases.