LPTransferCompleteNotify (Windows Embedded CE 6.0)
1/6/2010
This callback function is used to notify the model device driver (MDD) when a direct memory access (DMA) transfer is completed.
Syntax
typedef BOOL (* LPTransferCompleteNotify)(
PDMA_MDD_CHANNEL_CONTEXT pDmaMDDChannelContext,
PDMA_MDD_TRANFER_CONTEXT pDmaTransfer,
DMA_STATUS_CODE status,
DWORD dwRemaining
);
Parameters
- pDmaMDDChannelContext
[in] Pointer to a DMA_MDD_CHANNEL_CONTEXT structure.
- pDmaTransfer
[in] Pointer to a DMA_MDD_TRANFER_CONTEXT structure.
- status
[in] DMA_STATUS_CODE indicates the state of the DMA transfer.
- dwRemaining
[in] The number of bytes remaining for DMA transfer.
Return Value
Returns TRUE on success. Returns FALSE if an error occurs. For extended error information, the user driver can call GetLastError.
Requirements
Header | dmamif.h |
Library | DmaMDD.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |