SetShapeDmaReadWriteFull

Sets the read and write pointers and full bit in a single atomic operation

Syntax

HRESULT SetShapeDmaReadWriteFull(
         SHAPE_DMA_CONTEXT *context,
         SHAPE_DMA_READ_WRITE_FULL readWriteFull
)  

Parameters

context
Type: SHAPE_DMA_CONTEXT *

[in, out] Pointer to a SHAPE_DMA_CONTEXT context to modify.

readWriteFull
Type: SHAPE_DMA_READ_WRITE_FULL 

32 bit value containing the read/write pointers and full bit. Refer to the SHAPE_DMA_READ_WRITE_FULL structure.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapedmacontext.h.

Library: Use acphal.lib.