| Microsoft DirectX 8.1 (C++) | 
The AlterQuality method notifies the filter that a quality change is requested.
Syntax
virtual HRESULT AlterQuality(
    Quality q
);
Parameters
q
Quality structure that contains the quality control message.
Return Value
Returns an HRESULT value. Possible values include those shown in the following table.
| Value | Description | 
| S_FALSE | Did not handle the quality message. The message should be passed upstream. | 
| S_OK | Handled the quality message. No further action is necessary. | 
The base class returns S_FALSE.
Remarks
Override this method if the filter can perform quality control. For more information, see Quality-Control Management.
See Also