Attribute VB_Name = "Defines" Public Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As Integer wDay As Integer wHour As Integer wMinute As Integer wSecond As Integer wMilliseconds As Integer End Type Public Type FILETIME dwLowDateTime As Long dwHighDateTime As Long End Type Public Declare Function SystemTimeToFileTime Lib "kernel32" (lpSystemTime As SYSTEMTIME, lpFileTime As FILETIME) As Long Public Declare Sub GetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME) Public Declare Function GetTickCount Lib "kernel32" () As Long 'IOD Class used in demo Global Const USER_CLASS = DICOM_CLASS_STANDALONE_OVERLAY_STORAGE 'UID Class used in demo Global Const USER_CLASS_UID = "1.2.840.10008.5.1.4.1.1.8" 'Default value for the element Overlay Columns Global Const USER_DEFAULT_COLUMNS = 40 'Default value for the element Overlay rows Global Const USER_DEFAULT_ROWS = 40 'Default value for text to put in the Overlay Data Global Const USER_DEFAULT_TEXT = "DATA" 'Delete IOD messages Global Const IDS_DELETE_IOD_MESSAGE1 = "Find Module Overlay Identification. Success!" Global Const IDS_DELETE_IOD_MESSAGE2 = "Find Element Overlay Number. Success!" Global Const IDS_DELETE_IOD_MESSAGE3 = "Delete Element Overlay Number. Success!" Global Const IDS_DELETE_IOD_MESSAGE4 = "Delete Module Overlay Identification. Success!" Global Const IDS_DELETE_IOD_MESSAGE5 = "Delete Class Standalone Overlay Storage. Success!" Global Const IDS_DELETE_IOD_MESSAGE6 = "Find Module Overlay Identification. Failure!" Global Const IDS_DELETE_IOD_MESSAGE7 = "Find Class Standalone Overlay Storage. Failure!" 'Add IOD messages Global Const IDS_ADD_IOD_MESSAGE1 = "Insert Class Standalone Overlay Storage. Success!" Global Const IDS_ADD_IOD_MESSAGE2 = "Insert Module Overlay Identification. Success!" Global Const IDS_ADD_IOD_MESSAGE3 = "Insert Element Overlay Number. Success!" Global Const IDS_ADD_IOD_MESSAGE4 = "Find Class Standalone Overlay Storage. Success!" 'Error messages Global Const IDS_ERROR_DELETE_IOD = "Error. Delete IOD failure." Global Const IDS_ERROR_ADD_IOD = "Error. Adding IOD failure." Global Const IDS_ERROR_CREATE_DICOM = "Error. Creating DICOM failure." Global Const IDS_ERROR_SAVE_DICOM = "Error. Saving DICOM failure." Global Const IDS_ERROR_BITMAP = "Error creating the bitmap." 'Help Path Global Const IDS_HELP_PATH = "\Help\DicVBIOD.chm"