SetShapePcmMode

Sets the PCM mode.

Syntax

HRESULT SetShapePcmMode(
         SHAPE_PCM_CONTEXT *context,
         SHAPE_PCM_MODE mode
)  

Parameters

context
Type: SHAPE_PCM_CONTEXT *

[in, out] Pointer to a SHAPE_PCM_CONTEXT structure.

mode
Type: SHAPE_PCM_MODE 

One member of the SHAPE_PCM_MODE enumeration.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapepcmcontext.h.

Library: Use acphal.lib.