I\'m writing Win32 console application, which can be started with optional arguments like this:
app.exe /argName1:\"argValue\" /argName2:\"argValue\"
I don't believe that there is a Win32 API available. You can look for a Windows implementation of getopt or another library.