Brew MP 1.0.2
This function obtains the text content of an element. Contained elements
are ignored, and separate sections of text content (including that of
sub-elements) are concatenated.
Pointer to the IHTMLViewModel interface object.
nElem The location of the element in the document. This can be obtained from
pchBuf Pointer to the start of a buffer to hold the result (which is a
cbBuf Size of the buffer, in bytes
HVM_BADELEMENT, if failure. This occurs only when the nElemPos value is invalid.
Length of the resulting string, if successful.
0(zero), if an empty element, or an element that contains no text is present.
A value larger than cbBuf may be returned, but only cbBuf bytes are written to
the buffer in that case.