IAntimalwareProvider::DisplayName method (amsi.h)

The name of the antimalware provider to be displayed.

Syntax

HRESULT DisplayName(
  [out] LPWSTR *displayName
);

Parameters

[out] displayName

A pointer to a LPWSTR that contains the display name.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
The argument is invalid.
E_NOT_VALID_STATE
The object is not initialized.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header amsi.h

See also

IAntimalwareProvider

IAntimalwareProvider interface sample

How AMSI helps