Developer

API Reference

IHTMLViewModel_FindElem()

Brew Release
Brew MP 1.0.2
See Also
Description
This function finds an element, given the element name and the number of the occurrence.
Parameters
  • po
    []:
    [in] Pointer to the IHTMLViewModel interface object.
  • pszElem
    []:
    [in] Name of the element to find, which is a zero-terminated ASCII string (case insensitive).
  • nIndex
    []:
    [in] Which occurrence to find (0 => first element, 1=> second element, and so on).
Prototype
   int32 IHTMLViewModel_FindElem(IHTMLViewModel *pif, const char *pszElem, int32 nIndex);
Return
   A non-negative number corresponding to the location of the element within the document,
   if found
   
   HVM_NOTFOUND, if pszElem was not found.
   
   HVM_BADELEMENT, if pszElem was not a recognized element name. Only recognized
   elements can be inspected
Side Effect
None
Comment
None
  • Follow