This is the interface for the LEAD Windows Media Reader filter.
Lists the valid values for the ApiLevel parameter that can be passed to the ResetToDefaultsEx method.
typedef enum
{
LMWMReader_APILEVEL_1 = 0,
} LMWMReader_APILEVEL;
Enumeration | Description |
---|---|
LMWMReader_APILEVEL_1 | Use the defaults from the current version of the filter. |
Type | Name | Description |
---|---|---|
double | BufferingTime | The amount of data buffered before rendering (in seconds). |
Call this while buffering to get information on the buffering process.
Pointer to a variable that will be updated with the amount of data buffered so far (as a percentage value between 0 and 100).
Pointer to a variable to be updated with the estimated number of seconds until the buffering is complete.
If you call this before buffering has started, the percentage reported might be 0.
If you call this after buffering has finished, the percentage reported might be 100.
You should call this method only after your application received the EC_BUFFERING_DATA (0x11) event notification.
Return | Description |
---|---|
S_OK | Succeeded. |
< 0 | An error occurred. |
Stops buffering and start playback as soon as possible.
The behavior depends on the Windows Media components. The playback might still not start right away.
Return | Description |
---|---|
S_OK | Succeeded. |
< 0 | An error occurred. |
Resets the filter to default values.
Determines which default values to use. Current applications should set ApiLevel to LMWMReader_APILEVEL_1 = 0.
The Windows Media Reader might change in the future and have different properties or default behavior. Calling this method ensure the filter will have the same default values as they were at the time you developed your application.
It is recommended you call ResetToDefaultsEx(LMWMReader_APILEVEL_1) before you start setting properties and start calling other methods for this interface.
Return | Description |
---|---|
S_OK | Succeeded. |
< 0 | An error occurred. |