From Tracker Software PDF SDK
Revision as of 07:18, 1 April 2016 by Palamar
Finds first occurrence of the menu item that corresponds to the given command name.
HRESULT FindFirstItemByCmdName([in] BSTR sCmdName, [out, retval] LONG* nIndex);
- [in] Value of BSTR containing the command name that corresponds to the command menu item.
- [out, retval] Pointer to LONG containing the resulting item index.
Returns S_OK if operation was successful or error code in other cases.