interop: fix possible crash in keyboardhook

also treat warnings as errors
This commit is contained in:
yuyoyuppe
2020-10-20 14:15:09 +03:00
committed by Andrey Nekrasov
parent 83872046fa
commit 7c07bc2717
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
#pragma once
#include <cinttypes>
using namespace System::Threading;
using namespace System::Collections::Generic;
@@ -10,7 +12,7 @@ public
{
WPARAM message;
int key;
DWORD dwExtraInfo;
uint64_t dwExtraInfo;
};
public