If after you update or upgrade Windows 11/10 to a newer build or version, you notice that Miracast ... either update your drivers manually via the Device Manager, or you can get the driver ...
However, if you don't have that extra monitor, you can use your laptop. This is possible because of the "Project to this PC" ...