IMediaObject (Compact 2013)
3/26/2014
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 |
---|---|
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 IMediaObject interface, like all COM interfaces, inherits the IUnknown interface methods.
The IUnknown interface supports the following three methods:
Requirements
Header |
dmo.h |
Library |
Dmoguid.lib |