From cddcd7483a7c472598af098e759e5d309024f606 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 20:31:39 +0300 Subject: DWORD -> uint32_t --- plugins/IEHistory/src/IEHistory.cpp | 4 ++-- plugins/IEHistory/src/dlgHandlers.cpp | 2 +- plugins/IEHistory/src/stdafx.h | 4 ++-- plugins/IEHistory/src/utils.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/IEHistory/src') diff --git a/plugins/IEHistory/src/IEHistory.cpp b/plugins/IEHistory/src/IEHistory.cpp index d0d5e853be..ed389e28a8 100644 --- a/plugins/IEHistory/src/IEHistory.cpp +++ b/plugins/IEHistory/src/IEHistory.cpp @@ -28,7 +28,7 @@ HINSTANCE hInstance; MWindowList hOpenWindowsList = nullptr; HMODULE hUxTheme = nullptr; -BOOL(WINAPI *MyEnableThemeDialogTexture)(HANDLE, DWORD) = nullptr; +BOOL(WINAPI *MyEnableThemeDialogTexture)(HANDLE, uint32_t) = nullptr; ///////////////////////////////////////////////////////////////////////////////////////// @@ -68,7 +68,7 @@ int CMPlugin::Load() InitCommonControlsEx(&icex); if ((hUxTheme = LoadLibraryA("uxtheme.dll")) != nullptr) - MyEnableThemeDialogTexture = (BOOL(WINAPI *)(HANDLE, DWORD))GetProcAddress(hUxTheme, "EnableThemeDialogTexture"); + MyEnableThemeDialogTexture = (BOOL(WINAPI *)(HANDLE, uint32_t))GetProcAddress(hUxTheme, "EnableThemeDialogTexture"); // all initialization here hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HISTORYICON)); diff --git a/plugins/IEHistory/src/dlgHandlers.cpp b/plugins/IEHistory/src/dlgHandlers.cpp index 7d8e8a62da..7c650638dc 100644 --- a/plugins/IEHistory/src/dlgHandlers.cpp +++ b/plugins/IEHistory/src/dlgHandlers.cpp @@ -143,7 +143,7 @@ void FillIEViewInfo(IEVIEWEVENTDATA *fillData, DBEVENTINFO dbInfo, uint8_t *blob } } -DWORD WINAPI WorkerThread(LPVOID lpvData) +uint32_t WINAPI WorkerThread(LPVOID lpvData) { Log("%s", "Inside worker thread ..."); WorkerThreadData *data = (WorkerThreadData *)lpvData; diff --git a/plugins/IEHistory/src/stdafx.h b/plugins/IEHistory/src/stdafx.h index d0d04d4175..8aa31c8ae1 100644 --- a/plugins/IEHistory/src/stdafx.h +++ b/plugins/IEHistory/src/stdafx.h @@ -59,7 +59,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. struct CMPlugin : public PLUGIN { CMOption bEnableRtl, bShowLastFirst, bUseWorker; - CMOption iLoadCount; + CMOption iLoadCount; CMPlugin(); @@ -70,6 +70,6 @@ struct CMPlugin : public PLUGIN extern HICON hIcon; //history icon extern MWindowList hOpenWindowsList; -extern BOOL (WINAPI *MyEnableThemeDialogTexture)(HANDLE, DWORD); +extern BOOL (WINAPI *MyEnableThemeDialogTexture)(HANDLE, uint32_t); #endif diff --git a/plugins/IEHistory/src/utils.cpp b/plugins/IEHistory/src/utils.cpp index 8084269bea..c96baeff7c 100644 --- a/plugins/IEHistory/src/utils.cpp +++ b/plugins/IEHistory/src/utils.cpp @@ -95,7 +95,7 @@ void UnixTimeToFileTime(time_t t, LPFILETIME pft) LONGLONG ll; ll = Int32x32To64(t, 10000000) + 116444736000000000; - pft->dwLowDateTime = (DWORD)ll; + pft->dwLowDateTime = (uint32_t)ll; pft->dwHighDateTime = ll >> 32; } -- cgit v1.2.3