Returns the index of the Current Data Element in the Data Set associated with the current HIGEAR image.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_DCM_DS_curr_index_get(
const HIGEAR hIGear,
LPDWORD lpIndex
);
|
Name | Type | Description |
---|---|---|
hIGear | const HIGEAR | The HIGEAR handle to the image being queried. |
lpIndex | LPDWORD | A far pointer of type DWORD that returns with the index of the Current Data Element. |
Returns the number of ImageGear errors that occurred during the function call.
This function does not process image pixels.
The image must have a DICOM DataSet attached to it. Use MED_DCM_DS_exists to check whether the image contains a DataSet.
This function indexes through all levels of the Data Set. The index of the first Data Element in the table is 0.
To move to a specific index and make it the Current Data Element, use MED_DCM_DS_move_index().