Click to return to the Reusing Browser Technology home page    
IWebBrowser2::get_Left Me...     IWebBrowser2::get_Locatio...     IWebBrowser2 Interface    
Web Workshop  |  Reusing Browser Technology

IWebBrowser2::get_LocationName Method


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.