Is it possible to use a laptop as a second monitor for a desktop?



It has a VGA and HDMI port.
How do I know if they are video in or out?