Changes DCalcControl.(KMSTRIPHEAD Structure)

Prototype declaration:


KMSTATUS KMAPI
kmChangeStripDCalcControl(
        IN OUT  PKMSTRIPHEAD    pStripHead,
        IN      KMINT32         nParam,
        IN      KMBOOLEAN       bDCalcControl
);

Description:

This function changes DCalcControl in a KMSTRIPHEAD structure that was constructed by
kmGenerateStripHead/kmGenerateStripHeadXX (03 to 08, 11 to 14, 16).
The following is a list of supported VertexType:

VertexType00 VertexType06 VertexType12
VertexType01 VertexType07 VertexType13
VertexType02 VertexType08 VertexType14
VertexType03 VertexType09 VertexType15
VertexType04 VertexType10 VertexType16
VertexType05 VertexType11 VertexType17
Parameters:
pStripHead(input/output)
        This parameter is a pointer to KMSTRIPHEAD.

nParam(input)
        This parameter specifies the parameter for update.
            KM_IMAGE_PARAM1     parameter 1
            KM_IMAGE_PARAM2     parameter 2

bDCalcControl(input)
        This parameter specifies the DCalcControl setting.
            KM_TRUE    :   DCalcControl is valid.
            KM_FALSE   :   DCalcControl is not valid.

Return values:
Value Explanation
KMSTATUS_SUCCESS Success
KMSTATUS_INVALID_VERTEX_TYPE This setting is invalid at the current VertexType.