Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 |
|---|---|
| S_OK | The szURL parameter contains a valid URL. |
| S_FALSE | The szURL parameter does not contain a valid URL. |
| E_INVALIDARG | One of the parameters is invalid. |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Product |
Internet Explorer 3.0 |
Header |
Urlmon.h |
Library |
Urlmon.lib |
DLL |
Urlmon.dll |