C/C++ Libraries • 455.13 _7200_Alloc_DMA_Mem@ DescriptionContact Windows 95/98 system to allocate a block of contiguous memoryfor single-buffered DMA transfer. This function is only available in Windows95/98.@ SyntaxVisual C++ (Windows 95)int W_7200_Alloc_DMA_Mem (U32 *buff, U32 *handle, U32buf_size, U32 *actual_size)Visual Basic (Windows 95)W_7200_Alloc_DMA_Mem (buff As Long, handle As Long, ByValbuf_size As Long, actual_size As Long ) As Long@ Argumentbuff: The start address of the user buffer for DMA data transfer. This bufferwill be attached to the DMA memory allocated by this function. When usingthis DMA memory handle as an argument of the W_7200_DI_DMA_Startfunction, DI data will be copied to this buffer. When using this DMA memoryhandle as an argument of the W_7200_DO_DMA_Start function, the datastored in this buffer will be the DO data.handle: The handle of system DMA memory returned from system. Use thishandle in _7200_DI_DMA_Start or _7200_DO_DMA_Start.buf_size: Bytes to allocate. Please be careful, the unit of this parameter isBYTE, not SAMPLE.actual_size: The actual size system allocate for DMA memory. The unit isBYTE. If system is not able to get a block of contiguous memory of specifiedbuf_size, it will allocate a block of memory as large as it can. In this case,this function returns ERR_SmallerDMAMemAllocated, and actual_sizedenotes the actual size of allocated memory.@ Return CodeERR_NoErrorERR_SmallerDMAMemAllocated