C_GetDiffractionState

Call C_GetDiffractionState to find out what calculation state the diffraction object is currently in.

void C_GetDiffractionState(

TOrcFxAPIHandle DiffractionHandle,

int *lpDiffractionState,

int *lpStatus

);

Parameters

DiffractionHandle (IN)

The diffraction handle returned by C_CreateDiffraction.

lpDiffractionState (OUT)

Points to a variable in which the state will be returned. This will be one of the following constants which are defined in OrcFxAPI.h:

lpStatus (OUT)

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

See also

C_CalculateDiffraction and C_ResetDiffraction.