WinAPI C ++プログラムを作成しようとしていますが、次のエラーが発生しています。
error: 'AW_SHOW' was not declared in this scope
error: 'AW_HIDE' was not declared in this scope
error: 'AW_BLEND' was not declared in this scope
error: 'AnimateWindow' was not declared in this scope
error: 'SW_MINIMISE' was not declared in this scope
:: AnimationWindowを使用してみましたが、同じエラーが発生します。これは私のヘッダーファイルで、windows.hの前にインクルードされています
#ifdef WINVER
#undef WINVER
#endif
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define WINVER 0x0500
#define _WIN32_WINNT 0x0500
また、varsを0x0502に設定し、AnimateWindow用にWinuser.hのプリプロセッサをコメントアウトしてみました。