Share via


IsValidURL (Windows CE 5.0)

Send Feedback

This function determines if a specified string is a valid URL.

HRESULT IsValidURL(LPBCpBC,LPCWSTRszURL,DWORDdwReserved);

Parameters

  • pBC
    [in] Address of the IBindCtx interface. This parameter is optional and is currently ignored. It should be set to NULL.
  • szURL
    [in] Address of a string value that contains the full URL to be checked.
  • dwReserved
    [in] Reserved. Must be set to zero.

Return Values

This function returns one of the values shown in the following table.

Value 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.

Remarks

The function determines that the syntax of the specified URL is valid. It does not attempt to determine whether there is an actual Web site associated with the URL.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.