Windows mouse

Hello! I'm currently messing with a potential game for PC and I was wondering how can one detect the user's mouse movements without him actually clicking. Like for example, how could I make an image follow the mouse at all time? Is it possible to do that? Do I need something extra?