Compartilhar via


IExtensionValidation::DisplayName method

Internet Explorer 11 will call this method to determine the name of the security software to display on the blocking dialog.

Syntax

HRESULT DisplayName(
  [out] LPWSTR *displayName
);

Parameters

  • displayName [out]
    The LPWSTR string that contains the name of the security product. The string must be non-zero length and less than 256 characters long. The string should contain the full product name and major version. For example, a Contoso security product may return the string “Contoso Internet Security 2013”.

Return value

This method can return one of these values.

Return value Description
S_OK

A string containing the full product name is given.

S_FALSE

A string containing the full product name has not been given. The IExtensionValidation::Validate method will not be called for this security product.

 

Remarks

Security products will need to implement this method, otherwise, the IExtensionValidation::Validate method will not be called for the security product.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

IDL

ExtensionValidation.idl

See also

IExtensionValidation