FindModule Example for C++Builder
int nRet;
LEADDicom1->EnableMethodErrors = false;
nRet = LEADDicom1->FindModule(DICOM_MODULE_NM_TOMO_ACQUISITION);
if(nRet != SUCCESS)
ShowMessage("Not Found");
else
{
LEADDicom1->GetInfoDS();
LEADDicom1->FindModuleIOD(LEADDicom1->InfoClass, DICOM_MODULE_NM_TOMO_ACQUISITION);
ShowMessage("Found Module " + LEADDicom1->CurrentIOD->Name);
}
LEADDicom1->EnableMethodErrors = true;