Share via


IDMAChannel::OnDiscontinuity (Windows Embedded CE 6.0)

1/6/2010

This method is to be called between series of DMA transfers to indicate discontinuity in the data stream. The implementation is responsible for routing this call to associate the media renderer as appropriate.

Syntax

HRESULT OnDiscontinuity();

Parameters

None.

Return Value

The following table shows a list of possible return values.

Return value Description

S_OK

The request completed successfully.

E_NOTIMPLEMENTED

This method was unsuccessful.

Remarks

IDMAChannel::OnDiscontinuity can be called between two data transfers after the first transfer is completed, but before the second starts. This means that the second data block is part of a new timeline in terms of the encoder clock. To reset STC, use the IDVDRenderer::Abort method. IDMAChannel::OnDiscontinuity usually only delegates to the renderer's Abort method.

Requirements

Header dvddrvr.idl
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IDMAChannel
IDVDRenderer::Abort