Contents Index Topic Contents | ||
Previous Topic: IsAsyncMoniker Next Topic: MkParseDisplayNameEx |
IsValidURL
HRESULT IsValidURL( [in] LPBC pBC, [in] LPCWSTR szURL, [in] DWORD dwReserved );Determines if a specified string is a valid URL.
- Returns one of the following values:
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.
- pBC
- Address of the IBindCtx interface. Optional and currently ignored. Should be set to NULL.
- szURL
- URL whose validity is to be checked. For the purposes of this function, a valid URL must specify an absolute path.
- dwReserved
- Reserved for future use. Must be set to zero.
Relative URLs are not considered valid by this function.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.