Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method enables or disables quality control.

Syntax

HRESULT SetStatus(
  DWORD 
dwFlags
);

Parameters

dwFlags

[in] Valuethat specifies whether to enable or disable quality control. Use DMO_QUALITY_STATUS_ENABLED to enable quality control or zero to disable quality control.

Return Value

Returns an HRESULTvalue. Possible values include the following.

Value Description

S_OK

Success

E_INVALIDARG

Invalid argument

Remarks

By default, quality control is disabled. With quality control disabled, the DMO delivers every sample.

With quality control enabled, the DMO attempts to deliver samples on time. It can skip late samples if necessary.

If you enable quality control, call the IDMOQualityControl::SetNowmethod to specify the earliest time stamp that the DMO should process. Otherwise, the call to SetStatussucceeds but the DMO does not perform quality control.

Requirements

Header dmo.h
Library Dmoguid.lib
Windows Embedded CE Windows CE .NET 4.1 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also