API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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).
Interface
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
Comments
None