Share via


IDMOQualityControl::SetStatus (Windows Embedded CE 6.0)

1/6/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 HRESULT value. 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::SetNow method to specify the earliest time stamp that the DMO should process. Otherwise, the call to SetStatus succeeds 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

See Also

Reference

IDMOQualityControl
IDMOQualityControl::SetNow