## Function Syntax¶

RETURN_CODE AlazarAbortAsyncRead(HANDLE handle)

Aborts a dual-port acquisition, and any in-process DMA transfers.

Remark

If you have started an acquisition and/or posted DMA buffers to a board, you must call AlazarAbortAsyncRead() before your application exits. If you do not, when your program exists, Microsoft Windows may stop with a blue screen error number 0x000000CB (DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS). Linux may leak the memory used by the DMA buffers.

Return

ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.

Note

This function is part of the dual-port API. It should be used only in this context. To abort single-port acquisitions using, see AlazarAbortCapture().

Parameters
• [in] handle: Handle to board