SHELLEXECUTEINFOW information

Hello,
I have been looking for an example or some documentation about this SHELLEXECUTEINFOW, but the msdn site has nothing for it (http://social.msdn.microsoft.com/search/en-US?query=SHELLEXECUTEINFOW), and when I try to google it the little information I find is not really clear.
So far, I found this code, but aside execIn.lpFile I don't know what the other parameters do.

SHELLEXECUTEINFOW execIn;
ZeroMemory(&execIn, sizeof(execIn));
execIn.cbSize = sizeof(execIn);
execIn.fMask = SEE_MASK_NOCLOSEPROCESS;
execIn.nShow = SW_SHOWNORMAL;
execIn.lpFile = L"C:\\Windows\\Notepad.exe";
ShellExecuteEx(&execIn);

Also, is this the only alternative to the CreateProcess?
I'm using visual studio 2012 Pro in win 7 x64 Pro.

Thank you.
Regards.
Last edited on
I have been looking for an example or some documentation about this SHELLEXECUTEINFOW, but the msdn site has nothing for it
???
http://msdn.microsoft.com/en-us/library/windows/desktop/bb759784%28v=vs.85%29.aspx
Maybe I am wrong but I don't think SHELLEXECUTEINFOW is the same as SHELLEXECUTEINFO, if I am wrong please let me know it.
Thank you.
It's essentially the same thing, except the members of type LPCTSTR are of type LPCWSTR. Everything else is the same.
I see, ok, thank you for your help!
Topic archived. No new replies allowed.