Share via


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

  • 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

See Also

Reference

Direct Memory Access Abstraction MDD Functions