Share via

IHTMLDocument2::plugins Property

Gets an interface pointer to a zero-based collection of all of the embed objects in an HTML document.


HRESULT IHTMLDocument2::get_plugins(IHTMLElementCollection **p);


Return Value

Returns S_OK if successful, or an error value otherwise.


The embed objects are in the same order as they appear in the document. If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must be referenced subsequently by ordinal position.