Partager via


IDMOVideoOutputOptimizations::GetCurrentOperationMode (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the optimizations 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 optimizations. 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 the following.

Value Description

S_OK

Success

DMO_E_INVALIDSTREAMINDEX

Invalid stream index

E_POINTER

NULL pointer argument

Requirements

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

See Also

Reference

IDMOVideoOutputOptimizations
DMO Error Codes