Group: URL Monikers - Library: urlmon
Validating URLs using moniker functions
HRESULT IsValidURL(
LPBC pBC,
LPCWSTR szURL,
DWORD dwReserved
);
DECLARE INTEGER IsValidURL IN urlmon;
INTEGER pBC,;
STRING szURL,;
INTEGER dwReserved
pBC [in] Pointer to the IBindCtx interface. This parameter is currently ignored. It should be set to NULL.
szURL [in] Pointer to a string value that contains the full URL to be checked.
dwReserved [in] Reserved. Must be set to 0.
Returns one of the following values: S_OK = 0 S_FALSE = 1 E_INVALIDARG = 0x80070057