Share via


IBitstreamProcessor::GetDMAChannelCount

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method returns the number of DMA channels for a previously selected bit-stream type.

Syntax

HRESULT GetDMAChannelCount(
  DWORD* pdwChannels
);

Parameters

  • pdwChannels
    [out] Pointer to return the number of DMA channels available for current bit-stream type processing.

Return Value

The following table shows a list of possible return values.

Return value Description

S_OK

The request completed successfully.

E_POINTER

An invalid argument pointer has been encountered.

E_UNEXPECTED

IBitstreamProcessor::SetBitstreamType did not succeed yet.

Remarks

IBitstreamProcessor::SetBitstreamType should succeed before calling this method.

The navigator supports only one DMA channel for the DVD navigator. The renderer model was designed to expose other hardware rendering models that support multiple media stream; for example, audio/video in PES-level rendering with dual bus mastering. The actual number of exposed DMA channels, in general, is dependent on a bit-stream type set by IBitStreamProcessor::SetBitstreamType. The metarenderer will automatically provide a data port for every exposed DMA channel. For the DVD bit-stream type, this function is expected to return 1.

Requirements

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

See Also

Reference

IBitstreamProcessor::SetBitstreamType
IBitstreamProcessor