SetShapeXmaOverlapAddBuffer

Sets the XMA context overlap add buffer. This is an overloaded function, one function accepts a virtual pointer, the other the physical address.

Syntax

HRESULT SetShapeXmaOverlapAddBuffer(
         SHAPE_XMA_CONTEXT *context,
         void *buffer
)  

Parameters

context
Type: SHAPE_XMA_CONTEXT *

[in, out] Pointer to a SHAPE_XMA_CONTEXT structure.

buffer
Type: void *

[in] Pointer to the working buffer.

Return value

Type: HRESULT 

HRESULT success or error code.

Syntax

HRESULT SetShapeXmaOverlapAddBuffer(
         SHAPE_XMA_CONTEXT *context,
         APU_ADDRESS buffer
)  

Parameters

context
Type: SHAPE_XMA_CONTEXT *

[in, out] Pointer to a SHAPE_XMA_CONTEXT structure.

buffer
Type: APU_ADDRESS 

[in] The physical address of the buffer.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapexmacontext.h.

Library: Use acphal.lib.