Retrieves a reference to the form the element is embedded on.
Syntax
HRESULT get_form( IHTMLFormElement **p );
Parameters
- p
- Address of a pointer to an IHTMLFormElement interface that identifies the form this element is contained in, or returns NULL if the element does not participate in a form.
Return Value
Returns S_OK if successful, or an error code otherwise.