Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This interface provides methods for manipulating a Microsoft DirectX Media Object (DMO).
The following table shows the methods for IMediaObjectin the order the compiler calls them.
Method | Description |
---|---|
Retrieves the number of input and output streams. |
|
Retrieves information about a specified input stream. |
|
Retrieves information about a specified output stream. |
|
Retrieves a preferred media type for a specified input stream. |
|
Retrieves a preferred media type for a specified output stream. |
|
Sets the media type on an input stream or tests whether a particular media type is acceptable. |
|
Sets the media type on an output stream or tests whether a particular media type is acceptable. |
|
Retrieves the media type that was set for an input stream, if any. |
|
Retrieves the media type that was set for an output stream, if any. |
|
Retrieves the buffer requirements for a specified input stream. |
|
Retrieves the buffer requirements for a specified output stream. |
|
Retrieves the maximum latency on a specified input stream. |
|
Sets the maximum latency on a specified input stream. |
|
Flushes all internally buffered data. |
|
Signals a discontinuity on the specified input stream. |
|
Allocates resources needed by the DMO. |
|
Frees resources allocated by the DMO. |
|
Queries whether a specified input stream can accept more input data. |
|
Delivers a buffer to the specified input stream. |
|
Generates output from the current input data. |
|
Acquires or releases a lock on the DMO. |
The IMediaObjectinterface, like all COM interfaces, inherits the IUnknowninterface methods.
The IUnknowninterface supports the following three methods:
Requirements
Header | dmo.h |
Library | Dmoguid.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |