Lines Matching refs:Win32Window
23 HINSTANCE Win32Window::instance_ = nullptr;
24 ATOM Win32Window::window_class_ = 0;
26 Win32Window::Win32Window() : wnd_(nullptr) {} in Win32Window() function in rtc::Win32Window
28 Win32Window::~Win32Window() { RTC_DCHECK(nullptr == wnd_); } in ~Win32Window()
30 bool Win32Window::Create(HWND parent, const wchar_t* title, DWORD style, in Create()
40 reinterpret_cast<LPCWSTR>(&Win32Window::WndProc), in Create()
59 wcex.lpfnWndProc = &Win32Window::WndProc; in Create()
72 void Win32Window::Destroy() { in Destroy()
77 void Win32Window::Shutdown() { in Shutdown()
86 bool Win32Window::OnMessage(UINT uMsg, WPARAM wParam, LPARAM lParam, in OnMessage()
99 bool Win32Window::OnClose() { return true; } in OnClose()
101 void Win32Window::OnNcDestroy() { in OnNcDestroy()
105 LRESULT Win32Window::WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, in WndProc()
107 Win32Window* that = in WndProc()
108 reinterpret_cast<Win32Window*>(::GetWindowLongPtr(hwnd, GWLP_USERDATA)); in WndProc()
111 that = static_cast<Win32Window*>(cs->lpCreateParams); in WndProc()