// TestINI_mod_GloVar.h /* statement for copy #include "TestINI_mod_GloVar.h" */ #ifndef TestINI_mod_GloVar_H #define TestINI_mod_GloVar_H // 서브 구조체 typedef struct { int panelHandle; int panel_top; int panel_left; char strSTRING[100]; int bsPower; int chkOpt1; double numSettingTime; } S_General; // 전역 구조체(모듈화를 잘하기 위해) typedef struct { S_General General; } GloVar; extern GloVar glovar; // 간단한 표기를 위한 매크로 상수 #define GpanelHandle (glovar.General.panelHandle) #endif