SetShapeDmaNumFrames

Sets the number of frames.

Syntax

HRESULT SetShapeDmaNumFrames(
         SHAPE_DMA_CONTEXT *context,
         UINT32 numFrames
)  

Parameters

context
Type: SHAPE_DMA_CONTEXT *

[in, out] Pointer to a SHAPE_DMA_CONTEXT structure.

numFrames
Type: UINT32 

The number of frames.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapedmacontext.h.

Library: Use acphal.lib.