Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the port number from the URL.
Syntax
HRESULT get_port( BSTR *p );
Parameters
- p
- Address of a variable that receives the port number. If no port is specified, this parameter receives an empty string.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
put_port
Sets the port number in a URL.
Syntax
HRESULT put_port( BSTR v );
Parameters
- v
- String specifying the port number.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
get_port, IHTMLLocation
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.