Lines Matching refs:hWnd
46 * Search the framebuffer with the matching HWND while holding the
51 HWND hwnd )
56 if (fb->hWnd == hwnd) {
95 ReleaseDC(fb->hWnd, fb->hDC);
126 assert(fb->hWnd);
135 if (!GetClientRect(fb->hWnd, &client_rect)) {
162 if (ClientToScreen(fb->hWnd, &client_pos) &&
163 GetWindowRect(fb->hWnd, &window_rect)) {
173 debug_printf("%s: hwnd = %p\n", __FUNCTION__, fb->hWnd);
218 fb = stw_framebuffer_from_hwnd( pParams->hwnd );
229 fb = stw_framebuffer_from_hwnd_locked( pParams->hwnd );
244 HWND hWnd;
249 hWnd = WindowFromDC( hdc );
250 if(!hWnd)
260 fb->hDC = GetDC(hWnd);
262 fb->hWnd = hWnd;
393 HWND hwnd;
395 hwnd = WindowFromDC(hdc);
396 if (!hwnd) {
400 return stw_framebuffer_from_hwnd_locked(hwnd);
429 HWND hwnd )
434 fb = stw_framebuffer_from_hwnd_locked(hwnd);