Lines Matching refs:hwnd
39 static HWND hwnd = nullptr; variable
69 if (!hwnd) in on_begin_draw()
135 GetClientRect (hwnd, &client_rect); in on_resize()
145 params.hDeviceWindow = hwnd; in on_resize()
184 hwnd = NULL; in window_proc()
205 if (!visible && hwnd) { in bus_msg()
206 ShowWindow (hwnd, SW_SHOW); in bus_msg()
289 hwnd = CreateWindowEx (0, wc.lpszClassName, in main()
313 params.hDeviceWindow = hwnd; in main()
316 hr = d3d9_handle->CreateDeviceEx (D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hwnd, in main()
354 msg_io_channel = g_io_channel_win32_new_messages ((gsize) hwnd); in main()
386 if (hwnd) in main()
387 DestroyWindow (hwnd); in main()