ValidateSecureUrl method

Retrieves whether a URL is secure.

Syntax

HRESULT retVal = object.ValidateSecureUrl(pfAllow, pchUrlInQuestion, dwFlags);

Parameters

  • pfAllow [out]
    Type: BOOL

    Receives a pointer to a boolean indicating whether URL is secure.

  • pchUrlInQuestion [in]
    Type: OLECHAR

    Specifies a pointer to the URL to validate.

  • dwFlags [in]
    Type: DWORD

    Specifies validation flags. See SECUREURLHOSTVALIDATE_FLAGS for valid values.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

ISecureUrlHost::ValidateSecureUrl was introduced in Microsoft Internet Explorer 6