API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_exists |
This function determines whether an image has a Data Set associated with it.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_DCM_DS_exists(
const HIGEAR hIGear,
LPBOOL lpExists
);
|
Name | Type | Description |
---|---|---|
hIGear | const HIGEAR | A HIGEAR handle to an image. |
lpExists | LPBOOL | A far pointer that returns a BOOL. If it returns TRUE, a Data Set exists for the image; if it returns FALSE, a Data Set does not exist for the image. |
Returns the number of ImageGear errors that occurred during the function call.
This function does not process image pixels.
Supply it with the HIGEAR handle to the image you want to check, and lpExists will return whether or not this image has a Data Set. See Working With DICOM Data Structures section for more information.