The IWMReader interface is used to open, close, start, pause, resume, and unlock the WMReader object. It is also used to stop reading files, and to get and set the output properties.
Many of the methods in this interface are asynchronous and send status notifications to the application through an IWMStatusCallback::OnStatus method implemented in the application.
The IWMReader interface inherits from the IUnknown interface. IWMReader also has these types of members:
The IWMReader interface has these methods.
Deletes all outputs on the reader and releases the file resources.
Retrieves the number of uncompressed media streams sent from the reader.
Retrieves the supported formats for a specified output media stream.
Retrieves the number of format types supported by this output media stream on the reader.
Retrieves the current properties of an uncompressed output stream.
Opens an ASF file for reading.
Pauses the current read operation.
Restarts read operation from the current time offset.
Specifies the properties of an uncompressed output stream.
Starts reading from the current time offset. Uncompressed data is passed to IWMReaderCallback::OnSample.
Stops reading, after which there is no current read position.
For information about which interfaces can be obtained by using the QueryInterface method of this interface, see Reader Object.
- IWMReaderAdvanced Interface
- IWMReaderAdvanced2 Interface
- IWMReaderAdvanced3 Interface
- IWMReaderAdvanced4 Interface
- IWMReaderCallback Interface
- IWMReaderCallbackAdvanced Interface
- Reading ASF Files