ImageGear Professional v18.2 > API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_preamble_get |
This function gets the preamble item from the Part 10 header of the image, if one exists.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_DCM_DS_preamble_get(
const HIGEAR hIGear,
LPCHAR* lpPreamble
);
|
Name | Type | Description |
hIGear | const HIGEAR | HIGEAR handle to the image. |
lpPreamble | LPCHAR* | A far pointer to a buffer that will be used to hold the data from the preamble. The buffer must be at least 128 bytes. |
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. |
Your receiving buffer must be at least 128 bytes.