From Tracker Software PDF SDK
Revision as of 07:40, 31 March 2016 by Palamar
Finds command menu item by the given command ID.
HRESULT FindFirstCmd([in] LONG nCmdID, [in, defaultvalue(-1)] VARIANT_BOOL bRecursive, [out, retval] IUIX_Cmd** pCmd);
- [in] Value of LONG containing the command ID by which the corresponding command menu item should be searched for.
- [in, defaultvalue(-1)] Value of VARIANT_BOOL representing whether the search should be done recursively.
- [out, retval] Pointer to IUIX_Cmd containing the resulting command.
Returns S_OK if operation was successful or error code in other cases.