GDI+のヘッダーから出る警告はpragma warningで抑制する。
#include "system/h-define.h"
#include "term/z-form.h"
+#pragma warning(push)
+#pragma warning(disable : 4458)
#include <gdiplus.h>
+#pragma warning(pop)
static HBITMAP hBG = NULL;
char bg_bitmap_file[MAIN_WIN_MAX_PATH] = ""; //!< 現在の背景ビットマップファイル名。
* Notify event
*/
void on_mci_notify(WPARAM wFlags, LONG lDevID) {
+ UNREFERENCED_PARAMETER(lDevID);
+
if (wFlags == MCI_NOTIFY_SUCCESSFUL) {
// (repeat) play a music
mciSendCommand(mci_open_parms.wDeviceID, MCI_SEEK, MCI_SEEK_TO_START | MCI_WAIT, 0);