#ifndef CONF_MOD_H #define CONF_MOD_H #ifdef CONF_MOD_EXPORTS #define CONF_MOD_API __declspec(dllexport) #else #define CONF_MOD_API __declspec(dllimport) //VC ำร #endif typedef int (CALLBACK * GetParmBackCallFunc)(long ConfigType, int nChannel,char* pConfigBuf,DWORD dwBufSize, DWORD dwUserParam, DWORD *lpRet); typedef int (CALLBACK * SaveParmBackCallFunc)(long ConfigType, int nChannel,char* pConfigBuf,DWORD dwBufSize,DWORD dwUserParam); //initialize CONF_MOD_API BOOL Config_Init(CWnd *pParent); //uninit CONF_MOD_API BOOL Config_UnInit(); //initial language //pLanguagePath: Absolute path, including language file name CONF_MOD_API BOOL Config_languageInit(TCHAR *pLanguagePath); //set callback CONF_MOD_API BOOL Config_SetCallback(void * getCalback, void * saveCallback, DWORD dwUser); //move dialog window CONF_MOD_API BOOL Config_MoveWindow(CRect *rect, BOOL bShow); //config refush CONF_MOD_API BOOL Config_Refush(); #endif