IDMOQualityControl::SetStatus
This method enables or disables quality control.
HRESULT SetStatus(
DWORD dwFlags
);
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
With quality control enabled, the DMO attempts to deliver samples on time. It can skip late samples if necessary. With quality control disabled, the DMO delivers every sample. 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.
By default, quality control is disabled.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Dmoguid.lib.
See Also
IDMOQualityControl | IDMOQualityControl::SetNow
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.