C_GetWaveComponents2

Call C_GetWaveComponents2 to get a list of wave components used in the model.

void C_GetWaveComponents2(

TOrcFxAPIHandle ModelHandle,

int *lpCount,

TWaveComponent2 *lpWaveComponents,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model.

lpCount (OUT)

Points to a variable in which the total number of wave components is returned.

lpWaveComponents (OUT)

Points to a block of memory to receive the array of wave components.

To find out how much memory to allocate call C_GetWaveComponents2 passing NULL as the lpWaveComponents parameter and use the value returned in lpCount to determine how much memory to allocate. The array must be of length *lpCount.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

See also

TWaveComponent2.