Lines Matching defs:hWnd
62 static LRESULT CALLBACK vboxDnDWndProcInstance(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
63 static LRESULT CALLBACK vboxDnDWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
68 hWnd(NULL),
209 pThis->hWnd =
219 if (!pThis->hWnd)
228 SetWindowPos(pThis->hWnd, HWND_TOPMOST, -200, -200, 0, 0,
231 LogFlowFunc(("Proxy window created, hWnd=0x%x\n", pThis->hWnd));
233 LogFlowFunc(("Debug proxy window created, hWnd=0x%x\n", pThis->hWnd));
242 me.hwndTrack = pThis->hWnd;
347 LRESULT CALLBACK VBoxDnDWnd::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
363 DestroyWindow(hWnd);
627 return DefWindowProc(hWnd, uMsg, wParam, lParam);
649 hr = RegisterDragDrop(hWnd, pDropTarget);
682 HRESULT hr = RevokeDragDrop(hWnd);
884 PostMessage(hWnd, WM_KEYDOWN, VK_ESCAPE, 0 /* lParam */);
1083 ClientToScreen(hWnd, &p);
1228 BOOL fRc = PostMessage(hWnd, WM_VBOXTRAY_DND_MESSAGE,
1259 ShowWindow(hWnd, SW_HIDE);
1306 LONG lStyle = GetWindowLong(hWnd, GWL_STYLE);
1307 SetWindowLong(hWnd, GWL_STYLE,
1309 LONG lExStyle = GetWindowLong(hWnd, GWL_EXSTYLE);
1310 SetWindowLong(hWnd, GWL_EXSTYLE,
1314 fRc = SetWindowPos(hWnd, HWND_TOPMOST,
1463 static LRESULT CALLBACK vboxDnDWndProcInstance(HWND hWnd, UINT uMsg,
1466 LONG_PTR pUserData = GetWindowLongPtr(hWnd, GWLP_USERDATA);
1471 return pWnd->WndProc(hWnd, uMsg, wParam, lParam);
1480 static LRESULT CALLBACK vboxDnDWndProc(HWND hWnd, UINT uMsg,
1489 SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)pCS->lpCreateParams);
1490 SetWindowLongPtr(hWnd, GWLP_WNDPROC, (LONG_PTR)vboxDnDWndProcInstance);
1492 return vboxDnDWndProcInstance(hWnd, uMsg, wParam, lParam);
1496 return DefWindowProc(hWnd, uMsg, wParam, lParam);