SetShapeEqCompRatio

Sets the compression ratio.

Syntax

HRESULT SetShapeEqCompRatio(
         SHAPE_EQCOMP_CONTEXT *context,
         float ratio
)  

Parameters

context
Type: SHAPE_EQCOMP_CONTEXT *

[in, out] Pointer to a SHAPE_EQCOMP_CONTEXT structure.

ratio
Type: float 

The compression ratio.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapeeqcompcontext.h.

Library: Use acphal.lib.