Changes ListType.(KMSTRIPHEAD Structure)

Prototype declaration:


KMSTATUS KMAPI
kmChangeStripListType(
        IN OUT  PKMSTRIPHEAD    pStripHead,
        IN      KMLISTTYPE      nListType
);

Description:

This function changes ListType in a KMSTRIPHEAD structure that was constructed by
kmGenerateStripHead/kmGenerateStripHeadXX (00 to 17).
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
The ListType that can be changed is determined by VertexType. VertexType0`16 Can be one of the following: KM_OPAQUE_POLYGON KM_TRANS_POLYGON KM_PUNCHTHROUGH_POLYGON VertexType17 Can be either one of the following: KM_OPAQUE_MODIFIER KM_TRANS_MODIFIER
Parameters:
pStripHead(input/output)
        This parameter is a pointer to KMSTRIPHEAD.

nListType(input)
        This parameter specifies the ListType setting.  
            KM_OPAQUE_POLYGON
            KM_OPAQUE_MODIFIER
            KM_TRANS_POLYGON
            KM_TRANS_MODIFIER
            KM_PUNCHTHROUGH_POLYGON

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