LPAllocateChannel (Windows Embedded CE 6.0)
1/6/2010
This function is used by the DMA platform dependent driver (PDD) to create a DMA_PDD_CHANNEL_CONTEXT structure.
Syntax
typedef PDMA_PDD_CHANNEL_CONTEXT (* LPAllocateChannel)(
PDMA_PDD_ADAPTER_CONTEXT lpAdapterContext,
PDMA_MDD_CHANNEL_CONTEXT lpDmaMDDChannelContext
);
Parameters
- lpAdapterContext
[in] Pointer to a DMA_PDD_ADAPTER_CONTEXT structure.
- lpDmaMDDChannelContext
[in] Pointer to a DMA_MDD_CHANNEL_CONTEXT structure.
Return Value
Returns nonzero value on success. Returns NULL on failure. The return value is delivered back to the PDD when the PDD transfer function is called.
Requirements
Header | dmamif.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |