Brew MP 1.0.2
This function obtains the value of an attribute of an element.
Pointer to the IHTMLViewModel interface object.
Location of the element in the document
Name of attribute, zero-terminated ASCII string (case insensitive)
Pointer to the start of a buffer to hold the result (which is a
Size of the buffer, in bytes
int32 IHTMLViewModel_GetAttrValue(IHTMLViewModel *pif, int32 nElem, const char *pszAttr, char *pchBuf, int32 cbBuf);
HVM_NOTFOUND, attribute is not found
HVM_BADELEMENT, nElemPos was invalid.
HVM_BADATTR, pszAttr is not a recognized attribute name. Only recognized
attributes are available for query.
HVM_NOVALUE, attribute was specified, but no value was assigned.
Non-negative number corresponding to the length of the string copied into pchBuf.
A value larger than cbBuf may be returned, but only cbBuf bytes are written to the
buffer in that case.