diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
commit | cddcd7483a7c472598af098e759e5d309024f606 (patch) | |
tree | b0a227d6e087c41958cc84d27bc323353248aae5 /plugins/BossKeyPlus/src/BossKey.cpp | |
parent | 1039b2829a264280493ba0fa979214fe024dc70c (diff) |
DWORD -> uint32_t
Diffstat (limited to 'plugins/BossKeyPlus/src/BossKey.cpp')
-rw-r--r-- | plugins/BossKeyPlus/src/BossKey.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index 45bb89b1ff..30f3332fe7 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -70,7 +70,7 @@ static BOOL IsAeroMode() INT_PTR CALLBACK DlgStdInProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
- static DWORD dwOldIcon = 0;
+ static uint32_t dwOldIcon = 0;
HICON hIcon = nullptr;
UINT uid;
@@ -173,7 +173,7 @@ BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM) else if (!mir_wstrcmp(szTemp, L"PopupWnd2")) // destroy opened popups
PUDeletePopup(hWnd);
else {
- DWORD threadId = GetWindowThreadProcessId(hWnd, 0);
+ uint32_t threadId = GetWindowThreadProcessId(hWnd, 0);
if (threadId != GetCurrentThreadId())
return false;
@@ -439,7 +439,7 @@ INT_PTR BossKeyHideMiranda(WPARAM, LPARAM) // for service :) static wchar_t* HotkeyVkToName(uint16_t vkKey)
{
static wchar_t buf[32] = { 0 };
- DWORD code = MapVirtualKey(vkKey, 0) << 16;
+ uint32_t code = MapVirtualKey(vkKey, 0) << 16;
switch (vkKey) {
case 0:
|