SetShapeDmaChannel

Sets the current channel.

Syntax

HRESULT SetShapeDmaChannel(
         SHAPE_DMA_CONTEXT *context,
         UINT32 channel
)  

Parameters

context
Type: SHAPE_DMA_CONTEXT *

[in, out] Pointer to a SHAPE_DMA_CONTEXT structure.

channel
Type: UINT32 

The channel.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapedmacontext.h.

Library: Use acphal.lib.