Lines Matching defs:hwnd
42 HWND hwnd;
67 if (FALSE == OpenClipboard(pCtx->hwnd))
118 pCtx->hwndNextInChain = SetClipboardViewer (pCtx->hwnd);
124 ChangeClipboardChain (pCtx->hwnd, pCtx->hwndNextInChain);
132 VOID CALLBACK CBChainPingProc(HWND hwnd, UINT uMsg, ULONG_PTR dwData, LRESULT lResult)
134 (void) hwnd;
141 static LRESULT vboxClipboardProcessMsg(VBOXCLIPBOARDCONTEXT *pCtx, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
152 LogFlowFunc(("WM_CHANGECBCHAIN: hwndRemoved %p, hwndNext %p, hwnd %p\n", hwndRemoved, hwndNext, pCtx->hwnd));
175 LogFlowFunc(("WM_DRAWCLIPBOARD, hwnd %p\n", pCtx->hwnd));
177 if (GetClipboardOwner () != hwnd)
392 if (OpenClipboard(hwnd))
404 if (FALSE == OpenClipboard(hwnd))
447 if (FALSE == OpenClipboard(hwnd))
532 rc = DefWindowProc(hwnd, msg, wParam, lParam);
542 static LRESULT CALLBACK vboxClipboardWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
570 pCtx->hwnd = CreateWindowEx (WS_EX_TOOLWINDOW | WS_EX_TRANSPARENT | WS_EX_TOPMOST,
575 if (pCtx->hwnd == NULL)
581 SetWindowPos(pCtx->hwnd, HWND_TOPMOST, -200, -200, 0, 0,
585 pCtx->timerRefresh = SetTimer(pCtx->hwnd, 0, 10 * 1000, NULL);
595 if (pCtx->hwnd)
599 KillTimer(pCtx->hwnd, 0);
601 DestroyWindow (pCtx->hwnd);
602 pCtx->hwnd = NULL;
615 static LRESULT CALLBACK vboxClipboardWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
618 return vboxClipboardProcessMsg(&gCtx, hwnd, msg, wParam, lParam);
700 ::PostMessage (pCtx->hwnd, WM_USER, 0, u32Formats);
706 ::PostMessage (pCtx->hwnd, WM_USER + 1, 0, u32Formats);