#ifndef __MwlAghCommon_H__
#define __MwlAghCommon_H__

#pragma warning( disable : 4786 ) // VC での警告を取り除きます。

#include "agh.h"

/*
//#define __MWLAGH_USE_DLL

#ifdef __MWLAGH_USE_DLL
	#ifdef MGLLIB_EXPORTS
		#define DLL_EXP __declspec(dllexport)
		#define DLL_TMPL_EXP template class DLL_EXP			//	C4275対応
		//#define DLL_TMPL_EXTERN
		//#define DLL_TMPL_EXTERN template
	#else
		#define DLL_EXP __declspec(dllimport)
		#define DLL_TMPL_EXP /*extern* template class DLL_EXP	//	C4275対応
		//#define DLL_TMPL_EXTERN extern
		//#define DLL_TMPL_EXTERN extern template
	#endif
#else
	#define DLL_EXP
#endif
*/
#define _MWLAGH_LIB_EXP

#ifdef APIENTRY
	#define _MWL_APIENTRY	APIENTRY
	#define _MWL_HINSTANCE	HINSTANCE
#else
	#define _MWL_APIENTRY	__stdcall
	#define _MWL_HINSTANCE	void*
#endif
//struct _MWL_HINSTANCE__ { int unused; }; typedef struct _MWL_HINSTANCE__ *_MWL_HINSTANCE;


#define MWLAGH_VALKEY_COMMON			(AGH_VALKEY_USER_FIRST+000)
#define MWLAGH_VALKEY_HWND				(MWLAGH_VALKEY_COMMON+200 + AGH_VALKEY_NOINHERIT)
#define MWLAGH_VALKEY_ROOT_HWND			(MWLAGH_VALKEY_COMMON+400)
#define MWLAGH_VALKEY_ROOT_WINDOW_HWND	(MWLAGH_VALKEY_COMMON+400)

#endif//__MwlAghCommon_H__
