SetShapeDmaReadPointer

Sets the read pointer.

Syntax

HRESULT SetShapeDmaReadPointer(
         SHAPE_DMA_CONTEXT *context,
         UINT32 readPointer
)  

Parameters

context
Type: SHAPE_DMA_CONTEXT *

[in, out] Pointer to a SHAPE_DMA_CONTEXT structure.

readPointer
Type: UINT32 

The value for the read pointer, in frames (128 sample blocks).

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapedmacontext.h.

Library: Use acphal.lib.