IDMOQualityControl::SetStatus (Windows CE 5.0)

Send Feedback

This method enables or disables quality control.

HRESULT SetStatus(DWORDdwFlags);

Parameters

  • dwFlags
    [in] Value that specifies whether to enable or disable quality control. Use DMO_QUALITY_STATUS_ENABLED to enable quality control or zero to disable quality control.

Return Values

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

OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Dmoguid.lib.

See Also

IDMOQualityControl | IDMOQualityControl::SetNow

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.