Share via


IDMOVideoOutputOptimizations::QueryOperationModePreferences

This method retrieves the DMO's preferred optimization features.

HRESULT QueryOperationModePreferences(
  ULONG ulOutputStreamIndex,
  DWORD* pdwRequestedCapabilities
);

Parameters

  • ulOutputStreamIndex
    Zero-based index of an output stream on the DMO.
  • pdwRequestedCapabilities
    Pointer to a variable that receives the DMO's requested features. The returned value is a bitwise combination of zero or more flags from the DMO_VIDEO_OUTPUT_STREAM_FLAGS enumeration.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success
DMO_E_INVALIDSTREAMINDEX Invalid stream index
E_POINTER NULL pointer value

Requirements

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

See Also

IDMOVideoOutputOptimizations

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.