This function sets the data of the item in the Part 10 header identified by part10_item.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_DCM_DS_part10_set( const HIGEAR hIGear, const AT_MODE part10_item, const LPVOID lpData, const AT_DCM_VL vl ); |
Name | Type | Description |
---|---|---|
hIGear | const HIGEAR | HIGEAR handle to the image. |
part10_item | const AT_MODE | Set this variable to the type of Part 10 item you would like to set. Use one of the constants defined in DCM.h that begin with DCM_PART10_ITEM_. |
lpData | const LPVOID | A far VOID pointer to the data that you would like to store into the Part 10 item. |
vl | const AT_DCM_VL | Set to the length of the Data Field, in bytes. |
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.
Returns the number of ImageGear errors that occurred during the function call.