Available in LEADTOOLS Medical Imaging toolkits. |
L_DicomGetPrevContextGroup
#include "ltdic.h"
L_LTDIC_API pDICOMCONTEXTGROUP L_DicomGetPrevContextGroup(pContextGroup)
pDICOMCONTEXTGROUP pContextGroup; |
/* pointer to a Context Group */ |
Returns a pointer to the Context Group in the Context Group Table that immediately precedes the specified Context Group.
Parameter |
Description |
pContextGroup |
Pointer to a DICOMCONTEXTGROUP structure that specifies a Context Group in the Context Group Table. The function returns a pointer to the structure that specifies the Group which immediately precedes this Group, if there is one. |
Returns
!NULL |
Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group in the Context Group Table which immediately precedes the Group specified by pContextGroup. |
NULL |
No Context Group precedes the one specified by pContextGroup. (pContextGroup is the first Context Group in the table.) |
Comments
Along with this function, the following functions can be used to maneuver through the Context Groups in the Context Group Table:
You can also use the L_DicomGetCountContextGroup and L_DicomFindIndexContextGroup functions to enumerate the Context Groups in the table.
To investigate the Coded Concepts of a Context Group, use the following functions:
Required DLLs and Libraries
LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64
See Also
Example
For an example, refer to L_DicomGetFirstContextGroup.