Repository: godotengine/godot
File: platform/windows/display_server_windows.h (C/C++)

Code before:
	Point2i center;

#if defined(GLES3_ENABLED)
	GLManagerANGLE_Windows *gl_manager_angle = nullptr;
	GLManagerNative_Windows *gl_manager_native = nullptr;
#endif

#if defined(RD_ENABLED)
	RenderingContextDriver *rendering_context = nullptr;
	RenderingDevice *rendering_device = nullptr;
#endif

	RBMap<int, Vector2> touch_state;

	int pressrc;
	HINSTANCE hInstance; // Holds The Instance Of The Application
	String rendering_driver;
	bool app_focused = false;
	bool keep_screen_on = false;
	bool get_object_recieved = false;
	HANDLE power_request;

	TTS_Windows *tts = nullptr;
	NativeMenuWindows *native_menu = nullptr;
	typedef ITaskbarList3 *LPITaskbarList3;
	LPITaskbarList3 pTaskbar = nullptr;

	struct WindowData {
		HWND hWnd;
		WindowID id;

		Vector<Vector2> mpath;

		bool create_completed = false;
		bool pre_fs_valid = false;
		RECT pre_fs_rect;
		bool maximized = false;
		bool maximized_fs = false;
		bool minimized = false;
		bool fullscreen = false;
		bool multiwindow_fs = false;
		bool borderless = false;
		bool resizable = true;
		bool no_min_btn = false;
		bool no_max_btn = false;
		bool window_focused = false;
		int activate_state = 0;
		bool was_maximized_pre_fs = false;
		bool was_fullscreen_pre_min = false;
		bool first_activation_done = false;
		bool was_maximized = false;

Review comment (bug):
Name should follow command style, `p` prefix is used for function parameter, not for pointers.

```suggestion
	ITaskbarList3 *taskbar = nullptr;
```

Code after:
		WindowID window_id = DisplayServer::INVALID_WINDOW_ID;
		Callable callback;
		bool options_in_cb = false;
		Thread listener_thread;
		SafeFlag close_requested;
		SafeFlag finished;
	};
	Mutex file_dialog_mutex;
	List<FileDialogData *> file_dialogs;
	HashMap<HWND, FileDialogData *> file_dialog_wnd;
	struct FileDialogCallback {
		Callable callback;
		Variant status;
		Variant files;
		Variant index;
		Variant options;
		bool opt_in_cb = false;
	};
	List<FileDialogCallback> pending_cbs;
	void process_file_dialog_callbacks();

	static void _thread_fd_monitor(void *p_ud);

	HashMap<int64_t, MouseButton> pointer_prev_button;
	HashMap<int64_t, MouseButton> pointer_button;
	HashMap<int64_t, LONG> pointer_down_time;
	HashMap<int64_t, Vector2> pointer_last_pos;

	void _send_window_event(const WindowData &wd, WindowEvent p_event);
	void _get_window_style(bool p_main_window, bool p_initialized, bool p_fullscreen, bool p_multiwindow_fs, bool p_borderless, bool p_resizable, bool p_no_min_btn, bool p_no_max_btn, bool p_minimized, bool p_maximized, bool p_maximized_fs, bool p_no_activate_focus, bool p_embed_child, bool p_no_redirection_bitmap, DWORD &r_style, DWORD &r_style_ex);

	MouseMode mouse_mode;
	MouseMode mouse_mode_base = MOUSE_MODE_VISIBLE;
	MouseMode mouse_mode_override = MOUSE_MODE_VISIBLE;
	bool mouse_mode_override_enabled = false;
	void _mouse_update_mode();
	int restore_mouse_trails = 0;

	bool use_raw_input = false;
	bool drop_events = false;
	bool in_dispatch_input_event = false;

	WNDCLASSEXW wc;
	HBRUSH window_bkg_brush = nullptr;
	uint32_t window_bkg_brush_color = 0;

	HCURSOR cursors[CURSOR_MAX] = { nullptr };
	CursorShape cursor_shape = CursorShape::CURSOR_ARROW;
	RBMap<CursorShape, Vector<Variant>> cursors_cache;

	Callable system_theme_changed;