You can pass arguments to a win32 app. The PWSTR pCmdLine is what gets these command-line arguments. If you want to get a Unicode copy of these arguments, you can call the GetCommandLine(); function. and to make it the argv[] style, call CommandLineToArgvW(); function