Contents Index Topic Contents | ||
Previous Topic: IHTMLLocation::put_host Next Topic: IHTMLLocation::put_hostname |
IHTMLLocation::get_host
HRESULT get_host( BSTR *p );Retrieves the hostname part of the location or URL.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the host name. If no host name is available, this parameter receives an empty string.
See also put_host
IHTMLLocation::put_host
HRESULT put_host( BSTR v );Sets the hostname portion of the location or URL.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the host name.
See also get_host
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.