Share via


IImageSinkFilter::SetQuality

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method sets the quality level for image encoding.

Syntax

HRESULT SetQuality(
  DWORD dwQuality
);   

Parameters

  • dwQuality
    [in] A DWORD value that identifies which of the quality levels defined in the registry the filter should use to produce its output. For more information, see Encoder Quality Settings in DirectShow Registry Settings.

Return Value

Returns an HRESULT value. The following table shows some of the possible return values.

Value Description

S_OK

Success.

Requirements

Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

IKsPropertySet Interface

Concepts

Pin Property Set