Microsoft DirectX 8.1 (C++)

ICADenial::put_Description

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The put_Description method specifies a description of the denial.

Syntax

HRESULT put_Description(
  CADescFormat  enFormat,
  BSTR  bstr
);

Parameters

  enFormat

[in]  Member of the CADescFormat enumeration type, specifying the format of the description.

  bstr

[in]  String containing the description.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

After a policy creates a new denial, it should call this method to set the long, HTML, and XML descriptions. An application might be attempting to display one of these formats, so the policy should call this method as soon as possible.

This method triggers an _ICADenialsEvents::StateChanged event. The enStateFrom parameter of the event indicates which format was set.

See Also