/*[]=====================================================================[]*/ /*[] LeadTools Run Time Library - Version 11 []*/ /*[] []*/ /*[] []*/ /*[] Copyright (c) 1991-2000 LEAD Technologies, Inc. []*/ /*[] All Rights Reserved. []*/ /*[] []*/ /*[] Globals.h []*/ /*[]=====================================================================[]*/ #ifndef _GLOBALS_H_ #define _GLOBALS_H_ HINSTANCE hInst; // current instance //Tree view HWND hTreeMsg; //Tree control for logging messages HWND hTreeDir; // HWND hTreeKey; // //Image lists for treeviews HIMAGELIST hImageListGlobal; //Icons HICON hIconGreen1Global; HICON hIconGreen2Global; HICON hIconRedGlobal; HICON hIconStatusGlobal; //Main window handle HWND hWndMainGlobal; //Status Bar HWND hStatusBarGlobal; //For displaying Dicom image HWND hButtonImage; HDICOMPDU hAssociateRequest; HDICOMPDU hAssociateAll; HDICOMPDU hAssociateAccept; L_UINT16 uUniqueMessageID = 1; HDICOMNET hNetGlobal = NULL; HDICOMNET hNetGlobalISCL = NULL; HDICOMNET hNetGlobalTLS = NULL; HDICOMNET hNetListenGlobal = NULL; L_BOOL bConnectedGlobal = FALSE; HDICOMDS hDSGlobal = NULL; L_INT nQueryMethodGlobal; CONNECTIONS connections; L_INT iIndexConnectionGlobal; //So client can access this information on C-MOVE-RQ //Set to NULL when //1. FindPatientRoot //2. FindStudyRoot //3. FindPatientStudyOnly // //Set to NON-NULL when double clikcking on IDC_DIR tree view HTREEITEM hItemGlobal; L_UINT16 uStatusGlobal; //Status of the currently executing command BITMAPHANDLE DicomBitmap; //Dicom image that is displayed HPALETTE hPaletteGlobal; //paint palette of image in DicomBitmap //Timer--for timing out unanswered requests UINT uTimerGlobal = 0; L_UINT32 uTimeOutGlobal = DEFAULT_TIMEOUT; //Record of each process PROCESS processGlobal; //Security Settings. L_UINT64 uISCLAuthKeys[8]; L_UINT uISCLAuthCurrentKey; L_UINT32 uISCLAuthAlg; L_UINT64 uISCLEncKeys[8]; L_UINT uISCLEncCurrentKey; L_UINT32 uISCLEncAlg; L_UINT32 uISCLEncSign; L_UINT32 uSecureMode; L_UINT64 uKey; L_BOOL bValidPrivateKeyPassword = FALSE; char szStoreFolder[MAX_PATH + 1]; // Where the received files are to be stored char szExtension[MAX_PATH]; // The extension used when storing the received files char szTempFilesFolder[MAX_PATH]; // The folder used for temporary files char szRetrieveAEsMsg[MAX_STRING_LEN] = ""; char szPrivateKeyPassword[MAX_STRING_LEN] = ""; #endif _GLOBALS_H_