// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #define LEAD_LICENSE_STRING L"LEADTOOLS OCX Copyright (c) 1991-2004 LEAD Technologies, Inc." #include // MFC core and standard components #include // MFC extensions #include // MFC OLE automation classes #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT #include "..\..\..\..\include\l_com.h" #include "..\..\..\..\include\UID.h" #import no_namespace, named_guids #import no_namespace, named_guids, exclude("RasterSupportLockConstants") #import no_namespace, named_guids #import no_namespace, named_guids #import no_namespace, named_guids, exclude("LoadResizeConstants"), exclude("J2KLimitConstants"), exclude("J2KProgressionFlags"), exclude("J2KRegionOfInterest") #import no_namespace, named_guids, exclude("LoadDirectoryFlags"), exclude("DicomErrorCodes") #import no_namespace, named_guids, exclude("DicomAnnSaveModifyConstants"), exclude("DicomCommandSetMessagePriorities") #import no_namespace, named_guids, exclude("DicomNetSpecificErrorCodes") #include #include "resource.h" #include "DicomNetSink.h" #include "PasswordDlg.h" #define MAKETAG(nGroup,nElement) ((unsigned long)((((unsigned long)nGroup) << 16) | nElement)) #define GETGROUP(nTag) ((unsigned short)(nTag >> 16)) #define GETELEMENT(nTag) ((unsigned short)(nTag & 0xFFFF)) #define ELEMENT_LENGTH_MAX 0xFFFFFFFFUL enum { COMMAND_C_FIND_PATIENT_ROOT = 1, COMMAND_C_FIND_STUDY_ROOT = 2, COMMAND_C_FIND_SERIES = 3, COMMAND_C_FIND_IMAGE = 4, COMMAND_C_FIND_STUDY = 5, COMMAND_C_FIND_PATIENT_STUDY_ONLY = 6, };