/third_party/mingw-w64/mingw-w64-headers/include/ |
D | windowsx.h | 70 #define DefDlgProcEx(hwnd,msg,wParam,lParam,pfRecursion) (*(pfRecursion) = TRUE,DefDlgProc(hwnd,msg… argument 72 #define HANDLE_MSG(hwnd,message,fn) case (message): return HANDLE_##message((hwnd),(wParam),(lParam… 73 #define HANDLE_WM_COMPACTING(hwnd,wParam,lParam,fn) ((fn)((hwnd),(UINT)(wParam)),(LRESULT)0) argument 75 #define HANDLE_WM_WININICHANGE(hwnd,wParam,lParam,fn) ((fn)((hwnd),(LPCTSTR)(lParam)),(LRESULT)0) argument 77 #define HANDLE_WM_SYSCOLORCHANGE(hwnd,wParam,lParam,fn) ((fn)(hwnd),(LRESULT)0) argument 79 #define HANDLE_WM_QUERYNEWPALETTE(hwnd,wParam,lParam,fn) MAKELRESULT((WINBOOL)(fn)(hwnd),(LRESULT)0) argument 81 #define HANDLE_WM_PALETTEISCHANGING(hwnd,wParam,lParam,fn) ((fn)((hwnd),(HWND)(wParam)),(LRESULT)0) argument 83 #define HANDLE_WM_PALETTECHANGED(hwnd,wParam,lParam,fn) ((fn)((hwnd),(HWND)(wParam)),(LRESULT)0) argument 85 #define HANDLE_WM_FONTCHANGE(hwnd,wParam,lParam,fn) ((fn)(hwnd),(LRESULT)0) argument 87 #define HANDLE_WM_SPOOLERSTATUS(hwnd,wParam,lParam,fn) ((fn)((hwnd),(UINT)(wParam),(int)(short)LOWO… argument [all …]
|
D | windowsx.h16 | 90 #define DefDlgProcEx(hwnd,msg,wParam,lParam,pfRecursion) (*(pfRecursion) = TRUE,DefDlgProc(hwnd,msg… 94 #define HANDLE_MSG(hwnd,message,fn) case (message): return HANDLE_##message((hwnd),(wParam),(lParam… 96 #define HANDLE_WM_COMPACTING(hwnd,wParam,lParam,fn) ((fn)((hwnd),(UINT)(wParam)),0L) 99 #define HANDLE_WM_WININICHANGE(hwnd,wParam,lParam,fn) ((fn)((hwnd),(LPCSTR)(lParam)),0L) 102 #define HANDLE_WM_SYSCOLORCHANGE(hwnd,wParam,lParam,fn) ((fn)(hwnd),0L) 105 #define HANDLE_WM_QUERYNEWPALETTE(hwnd,wParam,lParam,fn) MAKELRESULT((WINBOOL)(fn)(hwnd),0) 108 #define HANDLE_WM_PALETTEISCHANGING(hwnd,wParam,lParam,fn) ((fn)((hwnd),(HWND)(wParam)),0L) 111 #define HANDLE_WM_PALETTECHANGED(hwnd,wParam,lParam,fn) ((fn)((hwnd),(HWND)(wParam)),0L) 114 #define HANDLE_WM_FONTCHANGE(hwnd,wParam,lParam,fn) ((fn)(hwnd),0L) 117 #define HANDLE_WM_SPOOLERSTATUS(hwnd,wParam,lParam,fn) ((fn)((hwnd),(UINT)(wParam),(int)LOWORD(lPar… [all …]
|
D | scrnsave.h | 33 LRESULT WINAPI ScreenSaverProcW(HWND hWnd,UINT message,WPARAM wParam,LPARAM lParam); 36 LRESULT WINAPI ScreenSaverProc(HWND hWnd,UINT message,WPARAM wParam,LPARAM lParam); 39 LRESULT WINAPI DefScreenSaverProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam); 40 WINBOOL WINAPI ScreenSaverConfigureDialog(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
|
/third_party/flutter/skia/tools/sk_app/win/ |
D | Window_win.cpp | 59 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); 163 static ModifierKey get_modifiers(UINT message, WPARAM wParam, LPARAM lParam) { in get_modifiers() argument 198 if (wParam & MK_CONTROL) { in get_modifiers() 201 if (wParam & MK_SHIFT) { in get_modifiers() 210 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument 242 eventHandled = window->onChar((SkUnichar)wParam, in WndProc() 243 get_modifiers(message, wParam, lParam)); in WndProc() 247 const uint16_t* c = reinterpret_cast<uint16_t*>(&wParam); in WndProc() 249 get_modifiers(message, wParam, lParam)); in WndProc() 254 eventHandled = window->onKey(get_key(wParam), InputState::kDown, in WndProc() [all …]
|
/third_party/skia/tools/sk_app/win/ |
D | Window_win.cpp | 59 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); 163 static skui::ModifierKey get_modifiers(UINT message, WPARAM wParam, LPARAM lParam) { in get_modifiers() argument 198 if (wParam & MK_CONTROL) { in get_modifiers() 201 if (wParam & MK_SHIFT) { in get_modifiers() 210 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument 241 eventHandled = window->onChar((SkUnichar)wParam, in WndProc() 242 get_modifiers(message, wParam, lParam)); in WndProc() 246 const uint16_t* cPtr = reinterpret_cast<uint16_t*>(&wParam); in WndProc() 248 eventHandled = window->onChar(c, get_modifiers(message, wParam, lParam)); in WndProc() 253 eventHandled = window->onKey(get_key(wParam), skui::InputState::kDown, in WndProc() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowsevents.c | 85 WindowsScanCodeToSDLScanCode(LPARAM lParam, WPARAM wParam) in WindowsScanCodeToSDLScanCode() argument 93 switch(wParam) { in WindowsScanCodeToSDLScanCode() 235 WIN_CheckWParamMouseButtons(WPARAM wParam, SDL_WindowData *data, SDL_MouseID mouseID) in WIN_CheckWParamMouseButtons() argument 237 if (wParam != data->mouse_button_flags) { in WIN_CheckWParamMouseButtons() 239 …WIN_CheckWParamMouseButton((wParam & MK_LBUTTON), (mouseFlags & SDL_BUTTON_LMASK), data, SDL_BUTTO… in WIN_CheckWParamMouseButtons() 240 …WIN_CheckWParamMouseButton((wParam & MK_MBUTTON), (mouseFlags & SDL_BUTTON_MMASK), data, SDL_BUTTO… in WIN_CheckWParamMouseButtons() 241 …WIN_CheckWParamMouseButton((wParam & MK_RBUTTON), (mouseFlags & SDL_BUTTON_RMASK), data, SDL_BUTTO… in WIN_CheckWParamMouseButtons() 242 …WIN_CheckWParamMouseButton((wParam & MK_XBUTTON1), (mouseFlags & SDL_BUTTON_X1MASK), data, SDL_BUT… in WIN_CheckWParamMouseButtons() 243 …WIN_CheckWParamMouseButton((wParam & MK_XBUTTON2), (mouseFlags & SDL_BUTTON_X2MASK), data, SDL_BUT… in WIN_CheckWParamMouseButtons() 244 data->mouse_button_flags = wParam; in WIN_CheckWParamMouseButtons() [all …]
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_win32.cpp | 189 IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP… in ImGui_ImplWin32_WndProcHandler() argument 224 io.MouseWheel += (float)GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA; in ImGui_ImplWin32_WndProcHandler() 227 io.MouseWheelH += (float)GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA; in ImGui_ImplWin32_WndProcHandler() 231 if (wParam < 256) in ImGui_ImplWin32_WndProcHandler() 232 io.KeysDown[wParam] = 1; in ImGui_ImplWin32_WndProcHandler() 236 if (wParam < 256) in ImGui_ImplWin32_WndProcHandler() 237 io.KeysDown[wParam] = 0; in ImGui_ImplWin32_WndProcHandler() 241 if (wParam > 0 && wParam < 0x10000) in ImGui_ImplWin32_WndProcHandler() 242 io.AddInputCharacter((unsigned short)wParam); in ImGui_ImplWin32_WndProcHandler()
|
/third_party/mingw-w64/mingw-w64-crt/libsrc/ |
D | scrnsave.c | 188 msg.wParam = 0; 239 return msg.wParam; 245 WPARAM wParam, LPARAM lParam) 264 return DefWindowProc(hWnd, msg, wParam, lParam); 268 switch (wParam) 287 return DefWindowProc(hWnd, msg, wParam, lParam); 290 return ScreenSaverProc(hWnd, msg, wParam, lParam); 294 WPARAM wParam, LPARAM lParam) 298 return DefWindowProc(hWnd, msg, wParam, lParam); 322 if (wParam != FALSE) [all …]
|
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx9/ |
D | main.cpp | 20 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 209 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP… 212 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument 214 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc() 220 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc() 228 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu in WndProc() 235 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
|
/third_party/cef/tests/cefclient/browser/ |
D | root_window_win.cc | 34 WPARAM wParam, in AboutWndProc() argument 42 if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { in AboutWndProc() 43 EndDialog(hDlg, LOWORD(wParam)); in AboutWndProc() 423 WPARAM wParam, in EditWndProc() argument 433 if (wParam == VK_RETURN) { in EditWndProc() 455 return CallWindowProc(self->edit_wndproc_old_, hWnd, message, wParam, lParam); in EditWndProc() 461 WPARAM wParam, in FindWndProc() argument 472 MainMessageLoop::Get()->SetCurrentModelessDialog(wParam == 0 ? NULL in FindWndProc() 482 return CallWindowProc(self->find_wndproc_old_, hWnd, message, wParam, lParam); in FindWndProc() 488 WPARAM wParam, in RootWndProc() argument [all …]
|
D | osr_window_win.cc | 384 void OsrWindowWin::OnIMESetContext(UINT message, WPARAM wParam, LPARAM lParam) { in OnIMESetContext() argument 389 ::DefWindowProc(hwnd_, message, wParam, lParam); in OnIMESetContext() 407 WPARAM wParam, in OnIMEComposition() argument 456 WPARAM wParam, in OsrWndProc() argument 462 return DefWindowProc(hWnd, message, wParam, lParam); in OsrWndProc() 467 self->OnIMESetContext(message, wParam, lParam); in OsrWndProc() 473 self->OnIMEComposition(message, wParam, lParam); in OsrWndProc() 489 IID_IAccessible, wParam, in OsrWndProc() 508 self->OnMouseEvent(message, wParam, lParam); in OsrWndProc() 531 self->OnKeyEvent(message, wParam, lParam); in OsrWndProc() [all …]
|
D | osr_window_win.h | 86 WPARAM wParam, 90 void OnMouseEvent(UINT message, WPARAM wParam, LPARAM lParam); 94 void OnKeyEvent(UINT message, WPARAM wParam, LPARAM lParam); 97 bool OnTouchEvent(UINT message, WPARAM wParam, LPARAM lParam); 99 void OnIMESetContext(UINT message, WPARAM wParam, LPARAM lParam); 101 void OnIMEComposition(UINT message, WPARAM wParam, LPARAM lParam);
|
D | main_message_loop_multithreaded_win.cc | 81 return static_cast<int>(msg.wParam); in Run() 128 WPARAM wParam, in MessageWndProc() argument 135 CefTask* task = reinterpret_cast<CefTask*>(wParam); in MessageWndProc() 150 return DefWindowProc(hWnd, message, wParam, lParam); in MessageWndProc()
|
D | root_window_win.h | 65 WPARAM wParam, 71 WPARAM wParam, 77 WPARAM wParam, 86 void OnDpiChanged(WPARAM wParam, LPARAM lParam);
|
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx11/ |
D | main.cpp | 22 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 219 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP… 222 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument 224 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc() 230 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc() 238 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu in WndProc() 245 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
|
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx10/ |
D | main.cpp | 22 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 215 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP… 218 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument 220 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc() 226 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc() 234 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu in WndProc() 241 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_win32.cpp | 357 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP… 359 IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP… in ImGui_ImplWin32_WndProcHandler() argument 393 …if (msg == WM_XBUTTONDOWN || msg == WM_XBUTTONDBLCLK) { button = (GET_XBUTTON_WPARAM(wParam) == XB… in ImGui_ImplWin32_WndProcHandler() 408 if (msg == WM_XBUTTONUP) { button = (GET_XBUTTON_WPARAM(wParam) == XBUTTON1) ? 3 : 4; } in ImGui_ImplWin32_WndProcHandler() 415 io.MouseWheel += (float)GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA; in ImGui_ImplWin32_WndProcHandler() 418 io.MouseWheelH += (float)GET_WHEEL_DELTA_WPARAM(wParam) / (float)WHEEL_DELTA; in ImGui_ImplWin32_WndProcHandler() 426 if (wParam < 256) in ImGui_ImplWin32_WndProcHandler() 427 io.KeysDown[wParam] = down; in ImGui_ImplWin32_WndProcHandler() 428 if (wParam == VK_CONTROL) in ImGui_ImplWin32_WndProcHandler() 430 if (wParam == VK_SHIFT) in ImGui_ImplWin32_WndProcHandler() [all …]
|
/third_party/flutter/skia/third_party/externals/imgui/examples/example_win32_directx9/ |
D | main.cpp | 16 extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 17 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument 19 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc() 25 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc() 37 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu in WndProc() 44 return DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/example_win32_directx11/ |
D | main.cpp | 70 extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 71 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument 73 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc() 79 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc() 87 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu in WndProc() 94 return DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/example_win32_directx10/ |
D | main.cpp | 67 extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 68 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument 70 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc() 76 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc() 84 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu in WndProc() 91 return DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
|
/third_party/flutter/glfw/src/ |
D | win32_window.c | 342 static int translateKey(WPARAM wParam, LPARAM lParam) in translateKey() argument 344 if (wParam == VK_CONTROL) in translateKey() 367 if (next.wParam == VK_MENU && in translateKey() 381 if (wParam == VK_PROCESSKEY) in translateKey() 426 WPARAM wParam, LPARAM lParam) in windowProc() argument 437 if (wParam == DBT_DEVNODES_CHANGED) in windowProc() 442 else if (wParam == DBT_DEVICEARRIVAL) in windowProc() 451 else if (wParam == DBT_DEVICEREMOVECOMPLETE) in windowProc() 465 return DefWindowProcW(hWnd, uMsg, wParam, lParam); in windowProc() 494 switch (wParam & 0xfff0) in windowProc() [all …]
|
/third_party/mingw-w64/mingw-w64-crt/testcases/ |
D | tstwinmain.c | 17 LRESULT CALLBACK WindowProc(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM lParam) in WindowProc() argument 31 return DefWindowProc(hWnd,Msg,wParam,lParam); in WindowProc() 70 return (int)messages.wParam; in WinMain()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/win32/ |
D | gstglwindow_win32.c | 28 LRESULT CALLBACK window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, 30 LRESULT FAR PASCAL sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, 400 window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in window_proc() argument 482 PostMessage (parent_id, uMsg, wParam, lParam); in window_proc() 483 ret = DefWindowProc (hWnd, uMsg, wParam, lParam); in window_proc() 489 ret = DefWindowProc (hWnd, uMsg, wParam, lParam); in window_proc() 496 sub_class_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in sub_class_proc() argument 505 return CallWindowProc (window_parent_proc, hWnd, uMsg, wParam, lParam); in sub_class_proc()
|
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx12/ |
D | main.cpp | 57 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 435 extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LP… 438 LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in WndProc() argument 440 if (ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam)) in WndProc() 446 if (g_pd3dDevice != NULL && wParam != SIZE_MINIMIZED) in WndProc() 456 if ((wParam & 0xfff0) == SC_KEYMENU) // Disable ALT application menu in WndProc() 463 return ::DefWindowProc(hWnd, msg, wParam, lParam); in WndProc()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | main.cpp | 22 static INT_PTR CALLBACK DebuggerWaitDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in DebuggerWaitDialogProc() argument 34 if(LOWORD(wParam) == IDCANCEL) in DebuggerWaitDialogProc()
|