Retrieves the name of the resource that Microsoft® Internet Explorer is currently displaying.
Syntax
HRESULT get_LocationName( BSTR* pbstrLocationName );
Parameters
- pbstrLocationName
- Address of a callee-allocated string (BSTR) that receives the name of the location. The caller frees this buffer with the SysFreeString function.
Return Value
Returns S_OK if the operation was successful.
Remarks
If the resource is an HTML page on the World Wide Web, the name is the title of that page. If the resource is a folder or file on the network or local computer, the name is the UNC or full path of the folder or file.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
IWebBrowser2::get_LocationURL