다음을 통해 공유


IMediaObject (Windows CE 5.0)

Send Feedback

This interface provides methods for manipulating a Microsoft DirectX Media Object (DMO).

The following table shows the methods for IMediaObject in the order the compiler calls them.

Method Description
GetStreamCount Retrieves the number of input and output streams.
GetInputStreamInfo Retrieves information about a specified input stream.
GetOutputStreamInfo Retrieves information about a specified output stream.
::GetInputType Retrieves a preferred media type for a specified input stream.
GetOutputType Retrieves a preferred media type for a specified output stream.
SetInputType Sets the media type on an input stream or tests whether a particular media type is acceptable.
SetOutputType Sets the media type on an output stream or tests whether a particular media type is acceptable.
GetInputCurrentType Retrieves the media type that was set for an input stream, if any.
GetOutputCurrentType Retrieves the media type that was set for an output stream, if any.
GetInputSizeInfo Retrieves the buffer requirements for a specified input stream.
GetOutputSizeInfo Retrieves the buffer requirements for a specified output stream.
GetInputMaxLatency Retrieves the maximum latency on a specified input stream.
SetInputMaxLatency Sets the maximum latency on a specified input stream.
Flush Flushes all internally buffered data.
Discontinuity Signals a discontinuity on the specified input stream.
AllocateStreamingResources Allocates resources needed by the DMO.
FreeStreamingResources Frees resources allocated by the DMO.
GetInputStatus Queries whether a specified input stream can accept more input data.
ProcessInput Delivers a buffer to the specified input stream.
ProcessOutput Generates output from the current input data.
Lock Acquires or releases a lock on the DMO.

The IMediaObject interface, like all COM interfaces, inherits the IUnknown interface methods.

The IUnknown interface supports the following three methods:

Requirements

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

See Also

DMO Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.