IsValidURL function
Determines if a specified string is a valid URL.
Syntax
HRESULT IsValidURL( _In_ LPBC pBC, _In_ LPCWSTR szURL, _Reserved_ DWORD dwReserved );
Parameters
- pBC [in]
-
A pointer to the IBindCtx interface. This parameter is currently ignored. It should be set to NULL.
- szURL [in]
-
A pointer to a string value that contains the full URL to check.
- dwReserved [in]
-
Reserved. Must be set to 0.
Return value
Returns one of the following values.
| Return code | Description |
|---|---|
|
The szURL parameter contains a valid URL. |
|
The szURL parameter does not contain a valid URL. |
|
One of the parameters is invalid. |
Requirements
|
Minimum supported client |
Windows XP |
|---|---|
|
Minimum supported server |
Windows 2000 Server |
|
Product |
Internet Explorer 3.0 |
|
Header |
|
|
Library |
|
|
DLL |
|
Show: