Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 9.0 | 
IMediaObject Interface
The IMediaObject interface provides methods for manipulating a Microsoft DirectX Media Object (DMO).
In addition to the methods inherited from IUnknown, the IMediaObject interface exposes the following methods.
| Method | Description | 
| AllocateStreamingResources | Allocates any resources needed by the DMO. | 
| Discontinuity | Signals a discontinuity on the specified input stream. | 
| Flush | Flushes all internally buffered data. | 
| FreeStreamingResources | Frees resources allocated by the DMO. | 
| GetInputCurrentType | Retrieves the media type that was previously set for an input stream, if any. | 
| GetInputMaxLatency | Retrieves the maximum latency on a specified input stream. | 
| GetInputSizeInfo | Retrieves the buffer requirements for a specified input stream. | 
| GetInputStatus | Queries whether a specified input stream can accept more input data. | 
| GetInputStreamInfo | Retrieves information about a specified input stream. | 
| GetInputType | Retrieves a preferred media type for a specified input stream. | 
| GetOutputCurrentType | Retrieves the media type that was previously set for an output stream, if any. | 
| GetOutputSizeInfo | Retrieves the buffer requirements for a specified output stream. | 
| GetOutputStreamInfo | Retrieves information about a specified output stream. | 
| GetOutputType | Retrieves a preferred media type for a specified output stream. | 
| GetStreamCount | Retrieves the number of input and output streams. | 
| Lock | Acquires or releases a lock on the DMO. | 
| ProcessInput | Delivers a buffer to the specified input stream. | 
| ProcessOutput | Generates output from the current input data. | 
| SetInputMaxLatency | Sets the maximum latency on a specified input 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. | 
Requirements
  Header: Declared in Mediaobj.h; include Dmo.h
  Library: Dmoguids.lib.