Home
last modified time | relevance | path

Searched refs:hwnd (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwinmultiwindowwndproc.c191 ValidateSizing(HWND hwnd, WindowPtr pWin, WPARAM wParam, LPARAM lParam) in ValidateSizing() argument
221 GetClientRect(hwnd, &rcClient); in ValidateSizing()
222 GetWindowRect(hwnd, &rcWindow); in ValidateSizing()
302 winTopLevelWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in winTopLevelWindowProc() argument
322 winDebugWin32Message("winTopLevelWindowProc", hwnd, message, wParam, in winTopLevelWindowProc()
327 if ((pWin = GetProp(hwnd, WIN_WINDOW_PROP)) != NULL) { in winTopLevelWindowProc()
346 wmMsg.hwndWindow = hwnd; in winTopLevelWindowProc()
347 wmMsg.iWindow = (Window) (INT_PTR) GetProp(hwnd, WIN_WID_PROP); in winTopLevelWindowProc()
361 ErrorF("hWnd %08X\n", hwnd); in winTopLevelWindowProc()
388 SetProp(hwnd, in winTopLevelWindowProc()
[all …]
H A Dwinwndproc.c60 winWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in winWindowProc() argument
73 winDebugWin32Message("winWindowProc", hwnd, message, wParam, lParam); in winWindowProc()
83 if ((s_pScreenPriv == NULL || hwnd != s_hwndLastPrivates) in winWindowProc()
84 && (s_pScreenPriv = GetProp(hwnd, WIN_SCR_PROP)) != NULL) { in winWindowProc()
90 s_hwndLastPrivates = hwnd; in winWindowProc()
102 return winHandleIconMessage(hwnd, message, wParam, lParam, in winWindowProc()
122 s_hwndLastPrivates = hwnd; in winWindowProc()
124 SetProp(hwnd, WIN_SCR_PROP, s_pScreenPriv); in winWindowProc()
137 s_pScreenPriv->hwndScreen = hwnd; in winWindowProc()
197 ShowWindow(hwnd, SW_MINIMIZE); in winWindowProc()
[all …]
H A Dwinprefs.c146 ReloadEnumWindowsProc(HWND hwnd, LPARAM lParam) in ReloadEnumWindowsProc() argument
150 if (!hwnd) { in ReloadEnumWindowsProc()
158 hicon = (HICON) SendMessage(hwnd, WM_SETICON, ICON_BIG, 0); in ReloadEnumWindowsProc()
164 hicon = (HICON) SendMessage(hwnd, WM_SETICON, ICON_SMALL, 0); in ReloadEnumWindowsProc()
168 GetSystemMenu(hwnd, TRUE); in ReloadEnumWindowsProc()
177 WindowPtr pWin = GetProp(hwnd, WIN_WINDOW_PROP); in ReloadEnumWindowsProc()
184 wmMsg.hwndWindow = hwnd; in ReloadEnumWindowsProc()
185 wmMsg.iWindow = (Window) (INT_PTR) GetProp(hwnd, WIN_WID_PROP); in ReloadEnumWindowsProc()
192 SetupSysMenu(hwnd); in ReloadEnumWindowsProc()
277 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu) in HandleCustomWM_INITMENU() argument
[all …]
H A Dwinwin32rootlesswndproc.c198 ValidateSizing(HWND hwnd, WindowPtr pWin, WPARAM wParam, LPARAM lParam) in ValidateSizing() argument
232 ClientToScreen(hwnd, &pt); in ValidateSizing()
328 winMWExtWMWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in winMWExtWMWindowProc() argument
345 (win32RootlessWindowPtr) GetProp(hwnd, WIN_WINDOW_PROP)) != NULL) { in winMWExtWMWindowProc()
356 winDebugWin32Message("winMWExtWMWindowProc", hwnd, message, wParam, in winMWExtWMWindowProc()
359 winDebug("\thWnd %p\n", hwnd); in winMWExtWMWindowProc()
374 SetProp(hwnd, in winMWExtWMWindowProc()
385 DestroyWindow(hwnd); in winMWExtWMWindowProc()
419 RemoveProp(hwnd, WIN_WINDOW_PROP); in winMWExtWMWindowProc()
431 ClientToScreen(hwnd, &ptMouse); in winMWExtWMWindowProc()
[all …]
H A Dwinwin32rootlesswindow.c48 HWND hwnd = NULL;
65 hwnd = GetTopWindow(NULL);
67 while (hwnd) {
68 GetWindowThreadProcessId(hwnd, &dwWindowProcessID);
71 && GetProp(hwnd, WIN_WINDOW_PROP)) {
74 (win32RootlessWindowPtr) GetProp(hwnd, WIN_WINDOW_PROP);
92 hwnd = GetNextWindow(hwnd, GW_HWNDNEXT);
156 winMWExtWMDecorateWindow(HWND hwnd, LPARAM lParam) in winMWExtWMDecorateWindow() argument
165 (win32RootlessWindowPtr) GetProp(hwnd, WIN_WINDOW_PROP)) != NULL) { in winMWExtWMDecorateWindow()
H A Dwindialogs.c56 winURLWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
111 winURLWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) in winURLWndProc() argument
123 origCB = (WNDPROC) GetWindowLongPtr(hwnd, GWLP_USERDATA); in winURLWndProc()
126 return CallWindowProc(origCB, hwnd, msg, wParam, lParam); in winURLWndProc()
136 winOverrideURLButton(HWND hwnd, int id) in winOverrideURLButton() argument
140 origCB = (WNDPROC) SetWindowLongPtr(GetDlgItem(hwnd, id), in winOverrideURLButton()
142 SetWindowLongPtr(GetDlgItem(hwnd, id), GWLP_USERDATA, (LONG_PTR) origCB); in winOverrideURLButton()
146 winUnoverrideURLButton(HWND hwnd, int id) in winUnoverrideURLButton() argument
150 origCB = (WNDPROC) SetWindowLongPtr(GetDlgItem(hwnd, id), GWLP_USERDATA, 0); in winUnoverrideURLButton()
152 SetWindowLongPtr(GetDlgItem(hwnd, id), GWLP_WNDPROC, (LONG_PTR) origCB); in winUnoverrideURLButton()
H A Dwinmsgwindow.c42 winMsgWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in winMsgWindowProc() argument
45 winDebugWin32Message("winMsgWindowProc", hwnd, message, wParam, lParam); in winMsgWindowProc()
92 return DefWindowProc(hwnd, message, wParam, lParam); in winMsgWindowProc()
157 winDebugWin32Message("winMsgWindowThread", msg.hwnd, msg.message, in winMsgWindowThreadProc()
H A Dwinmultiwindowwindow.c750 HWND hwnd = NULL; in winReorderWindowsMultiWindow() local
773 for (hwnd = GetTopWindow(NULL); in winReorderWindowsMultiWindow()
774 hwnd; hwnd = GetNextWindow(hwnd, GW_HWNDNEXT)) { in winReorderWindowsMultiWindow()
776 GetWindowThreadProcessId(hwnd, &dwWindowProcessID); in winReorderWindowsMultiWindow()
778 if (GetProp(hwnd, WIN_WINDOW_PROP) in winReorderWindowsMultiWindow()
780 && !IsIconic(hwnd)) { /* ignore minimized windows */ in winReorderWindowsMultiWindow()
782 pWin = GetProp(hwnd, WIN_WINDOW_PROP); in winReorderWindowsMultiWindow()
870 winAdjustXWindow(WindowPtr pWin, HWND hwnd) in winAdjustXWindow() argument
886 if (IsIconic(hwnd)) { in winAdjustXWindow()
910 dwExStyle = GetWindowLongPtr(hwnd, GWL_EXSTYLE); in winAdjustXWindow()
[all …]
H A Dwinmsg.c122 winDebugWin32Message(const char *function, HWND hwnd, UINT message, in winDebugWin32Message() argument
132 winDebug("\thwnd 0x%p wParam 0x%x lParam 0x%x\n", hwnd, (int)wParam, in winDebugWin32Message()
144 winDebug("\thwnd 0x%p wParam 0x%x lParam 0x%x\n", hwnd, (int)wParam, in winDebugWin32Message()
151 winDebugWin32Message(const char *function, HWND hwnd, UINT message, in winDebugWin32Message() argument
H A Dwinshadgdi.c40 static wBOOL CALLBACK winRedrawAllProcShadowGDI(HWND hwnd, LPARAM lParam);
42 static wBOOL CALLBACK winRedrawDamagedWindowShadowGDI(HWND hwnd, LPARAM lParam);
269 winRedrawAllProcShadowGDI(HWND hwnd, LPARAM lParam) in winRedrawAllProcShadowGDI() argument
271 if (hwnd == (HWND) lParam) in winRedrawAllProcShadowGDI()
273 InvalidateRect(hwnd, NULL, FALSE); in winRedrawAllProcShadowGDI()
274 UpdateWindow(hwnd); in winRedrawAllProcShadowGDI()
279 winRedrawDamagedWindowShadowGDI(HWND hwnd, LPARAM lParam) in winRedrawDamagedWindowShadowGDI() argument
285 if (IsIconic(hwnd)) in winRedrawDamagedWindowShadowGDI()
297 ScreenToClient(hwnd, &topLeft); in winRedrawDamagedWindowShadowGDI()
298 ScreenToClient(hwnd, &bottomRight); in winRedrawDamagedWindowShadowGDI()
[all …]
H A Dwintrayicon.c109 winHandleIconMessage(HWND hwnd, UINT message, in winHandleIconMessage() argument
195 SetForegroundWindow(hwnd); in winHandleIconMessage()
198 ptCursor.x, ptCursor.y, hwnd, NULL); in winHandleIconMessage()
199 PostMessage(hwnd, WM_NULL, 0, 0); in winHandleIconMessage()
H A Dwinprefs.h159 SetupSysMenu(HWND hwnd);
162 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu);
165 HandleCustomWM_COMMAND(HWND hwnd, WORD command, winPrivScreenPtr pScreenPriv);
H A Dwinkeyhook.c62 HWND hwnd = GetActiveWindow(); in winKeyboardMessageHookLL() local
70 if ((pWin = GetProp(hwnd, WIN_WINDOW_PROP)) != NULL) { in winKeyboardMessageHookLL()
118 PostMessage(hwnd, (UINT) wParam, (WPARAM) p->vkCode, lParamKey); in winKeyboardMessageHookLL()
H A Dwincursor.c463 HWND hwnd; in winSetCursor() local
473 hwnd = WindowFromPoint(ptCurPos); in winSetCursor()
474 if (hwnd) { in winSetCursor()
475 if (GetClientRect(hwnd, &rcClient)) { in winSetCursor()
478 if (ClientToScreen(hwnd, &ptTemp)) { in winSetCursor()
483 if (ClientToScreen(hwnd, &ptTemp)) { in winSetCursor()
H A Dwin.h981 winAdjustXWindow(WindowPtr pWin, HWND hwnd);
988 winTopLevelWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
1001 winHandleIconMessage(HWND hwnd, UINT message,
1096 wBOOL CALLBACK winMWExtWMDecorateWindow(HWND hwnd, LPARAM lParam);
1108 winMWExtWMWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
H A Dwinmsg.h65 void winDebugWin32Message(const char *function, HWND hwnd, UINT message,
/OK3568_Linux_fs/external/xserver/hw/xwin/winclipboard/
H A Dwndproc.c70 winProcessXEventsTimeout(HWND hwnd, Window iWindow, Display * pDisplay, in winProcessXEventsTimeout() argument
90 iReturn = winClipboardFlushXEvents(hwnd, iWindow, pDisplay, data, atoms); in winProcessXEventsTimeout()
142 winClipboardWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in winClipboardWindowProc() argument
160 g_fpRemoveClipboardFormatListener(hwnd); in winClipboardWindowProc()
165 ChangeClipboardChain(hwnd, s_hwndNextViewer); in winClipboardWindowProc()
193 g_fpAddClipboardFormatListener(hwnd); in winClipboardWindowProc()
201 if (first == hwnd) in winClipboardWindowProc()
204 next = SetClipboardViewer(hwnd); in winClipboardWindowProc()
222 if (s_hwndNextViewer == hwnd) { in winClipboardWindowProc()
261 if (first == hwnd) in winClipboardWindowProc()
[all …]
H A Dthread.c115 HWND hwnd = NULL; in winClipboardProc() local
241 hwnd = winClipboardCreateMessagingWindow(pDisplay, iWindow, &atoms); in winClipboardProc()
244 g_hwndClipboard = hwnd; in winClipboardProc()
273 winClipboardFlushXEvents(hwnd, in winClipboardProc()
277 if (!winClipboardFlushWindowsMessageQueue(hwnd)) { in winClipboardProc()
417 HWND hwnd; in winClipboardCreateMessagingWindow() local
440 hwnd = CreateWindowExA(0, /* Extended styles */ in winClipboardCreateMessagingWindow()
452 assert(hwnd != NULL); in winClipboardCreateMessagingWindow()
455 ShowWindow(hwnd, SW_HIDE); in winClipboardCreateMessagingWindow()
458 UpdateWindow(hwnd); in winClipboardCreateMessagingWindow()
[all …]
H A Dinternal.h83 typedef wBOOL WINAPI (*ADDCLIPBOARDFORMATLISTENERPROC)(HWND hwnd);
84 typedef wBOOL WINAPI (*REMOVECLIPBOARDFORMATLISTENERPROC)(HWND hwnd);
94 Bool winClipboardFlushWindowsMessageQueue(HWND hwnd);
97 winClipboardWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
117 winClipboardFlushXEvents(HWND hwnd,
H A Dxevents.c142 winClipboardSelectionNotifyTargets(HWND hwnd, Window iWindow, Display *pDisplay, ClipboardConversio… in winClipboardSelectionNotifyTargets() argument
192 winClipboardFlushXEvents(HWND hwnd, in winClipboardFlushXEvents() argument
304 if (GetOpenClipboardWindow() == hwnd) { in winClipboardFlushXEvents()
309 if (!OpenClipboard(hwnd)) { in winClipboardFlushXEvents()
326 if (hwnd != lasthwnd) in winClipboardFlushXEvents()
333 lasthwnd = hwnd; in winClipboardFlushXEvents()
569 return winClipboardSelectionNotifyTargets(hwnd, iWindow, pDisplay, data, atoms); in winClipboardFlushXEvents()
823 if (GetOpenClipboardWindow() == hwnd) { in winClipboardFlushXEvents()
828 if (!OpenClipboard(hwnd)) { in winClipboardFlushXEvents()
/OK3568_Linux_fs/external/xserver/hw/xwin/glx/
H A Dwinpriv.c32 HWND hwnd = NULL; in winGetWindowInfo() local
39 hwnd = pWinScreen->hwndScreen; in winGetWindowInfo()
48 return hwnd; in winGetWindowInfo()
58 hwnd = pWinPriv->hWnd; in winGetWindowInfo()
64 return hwnd; in winGetWindowInfo()
74 return hwnd; in winGetWindowInfo()
79 hwnd = pRLWinPriv->hWnd; in winGetWindowInfo()
81 return hwnd; in winGetWindowInfo()
H A Dindirect.c108 #define GLWIN_DEBUG_HWND(hwnd) \ argument
111 if (GetWindowText(hwnd, buffer, sizeof(buffer))==0) *buffer=0; \
112 GLWIN_DEBUG_MSG("Got HWND %p for window '%s'", hwnd, buffer); \
370 HDC * hdc, HWND * hwnd);
371 static void glxWinReleaseDC(HWND hwnd, HDC hdc, __GLXWinDrawable * draw);
477 HWND hwnd; in glxWinScreenProbe() local
528 hwnd = CreateWindowExA(0, in glxWinScreenProbe()
533 if (hwnd == NULL) in glxWinScreenProbe()
537 hdc = GetDC(hwnd); in glxWinScreenProbe()
661 ReleaseDC(hwnd, hdc); in glxWinScreenProbe()
[all …]
H A Dindirect.h45 HWND hwnd; /* For detecting when HWND has changed */ member
/OK3568_Linux_fs/external/xserver/
H A DChangeLog164668 Fix bad use of hwnd (bug: 9808)