Maximizing the window

Okay, last stupid question - I hope!

How do I make it so upon creation my window is maximized already? I looked in winuser.h and found the style WS_MAXIMIZE but it didn't seem to do anything. Does one have to call a function to get the screen size and then use these values as the 6th and 7th parameters in CreateWindow()?