WinHookEventIDs.cpp
1 #include "pch.h" 2 3 #include "WinHookEventIDs.h" 4 5 UINT WM_PRIV_SHORTCUT; 6 7 std::once_flag init_flag; 8 9 void InitializeWinhookEventIds() 10 { 11 std::call_once(init_flag, [&] { 12 WM_PRIV_SHORTCUT = RegisterWindowMessage(L"{1365FFC7-A44E-4171-9692-A3EEF378AE60}"); 13 }); 14 }