IDMOVideoOutputOptimizations::GetCurrentOperationMode

 
Microsoft DirectShow 9.0

IDMOVideoOutputOptimizations::GetCurrentOperationMode

The GetCurrentOperationMode method retrieves the optimization features in effect.

Syntax

  HRESULT GetCurrentOperationMode(
    ULONG ulOutputStreamIndex,
    DWORD *pdwEnabledFeatures
);

Parameters

ulOutputStreamIndex

Zero-based index of an output stream on the DMO.

pdwEnabledFeatures

Pointer to a variable that receives the current features. The returned value is a bitwise combination of zero or more flags from the DMO_VIDEO_OUTPUT_STREAM_FLAGS enumeration.

Return Value

Returns an HRESULT value. Possible values include those in the following table.

Return Code Description
DMO_E_INVALIDSTREAMINDEX Invalid stream index
E_POINTER NULL pointer argument
S_OK Success

Requirements

  Header: Declared in Mediaobj.h; include Dmo.h
  Library: Dmoguids.lib.

See Also