IHTMLDocument2::location Property
Retrieves an interface pointer to a location object.
Syntax
HRESULT IHTMLDocument2::get_location(IHTMLLocation **p);
Parameters
- p
Address of a pointer to an IHTMLLocation interface that receives the location object.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The object contains information about the current location (full URL) of the document.