VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/MainCom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mount/MainCom.cpp')
-rw-r--r--src/Mount/MainCom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mount/MainCom.cpp b/src/Mount/MainCom.cpp
index 67fd5d25..c810e3ea 100644
--- a/src/Mount/MainCom.cpp
+++ b/src/Mount/MainCom.cpp
@@ -210,5 +210,5 @@ extern "C" BOOL ComServerMain ()
MSG msg;
- while (int r = GetMessage (&msg, NULL, 0, 0))
+ while (int r = GetMessageW (&msg, NULL, 0, 0))
{
if (r == -1)
@@ -216,5 +216,5 @@ extern "C" BOOL ComServerMain ()
TranslateMessage (&msg);
- DispatchMessage (&msg);
+ DispatchMessageW (&msg);
if (msg.message == WM_APP