IBitstreamProcessor::GetDMAChannel (Windows Embedded CE 6.0)
1/6/2010
This method retrieves the DMA channel by index.
Syntax
HRESULT GetDMAChannel(
DWORD dwIndex,
IDMAChannel** ppChannel
);
Parameters
- dwIndex
[in] Index of the channel to be retrieved. This must be between 0 and the total number of channels retrieved by IBitstreamProcessor::GetDMAChannelCount.
- ppChannel
[out] Returns the IDMAChannel interface pointer.
Return Value
The following table shows a list of possible return values.
Return value | Description |
---|---|
S_OK |
The request completed successfully. |
E_INVALIDARG |
A range check failed for the index. |
E_UNEXPECTED |
IBitstreamProcessor::SetBitstreamType did not succeed yet. |
E_POINTER |
An invalid argument pointer has been encountered. |
E_FAIL |
A generic failure to get IDMAChannel occurred. |
Remarks
IBitstreamProcessor::SetBitstreamType should succeed before calling this method.
The current version of DVD navigator requires DMA channel 0 to accept a full DVD stream.
Requirements
Header | dvddrvr.idl |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
IBitstreamProcessor
IDMAChannel
IBitstreamProcessor::SetBitstreamType
IBitstreamProcessor::GetDMAChannelCount