Camera control with mouse

I want to view my scene with the mouse, just like “free look” in first person shooters.
How is this done in win32 without glut?

Use Direct Input, see this nehe tut to start your own implementation.