This may be a stupid question, but what is passed into winmain with regard to the command line parameters?

if it for example:
"key32.exe /a"
or is it just the extra parts: e.g.
"/a"

and if so is it just a string to take apart?! or can you simply do a case statment or if statement?

if(lpszCmdLine == "\a")
{
do this..
}

cheers in advance

Andy