Share via


IBrowser::get_LocationURL

The LocationURL read-only property gets the URL of the resource that Pocket Internet Explorer is currently displaying.

Syntax

HRESULT get_LocationURL(
  BSTR * pVal
);

Parameters

  • pVal
    [out] Reference to a string that receives the URL. The caller frees this buffer with the Windows CE SysFreeString function.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Remarks

If the resource is a folder or file on the network or local computer, the name is the full path of the folder or file in the Universal Naming Convention (UNC) format.

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 4.0 and later
Header: webvw.h
Library: webvw.lib

See Also

IBrowser

IBrowser2::get_LocationBaseURL

IBrowser2::put_LocationBaseURL

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.