You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just using this project for the first time. I wanted to generate STARTUPINFOEX for use with CreateProcess.
In a new .NET Core 5 class library, I can specify CreateProcess in NativeMethods.txt, but I can't specify STARTUPINFOEX. After research, it turns out the metadata does have that structure, but with a W postfix. Specifying STARTUPINFOEXW in NativeMethods.txt does work.
CsWin32 will auto-append W to CreateProcess, but doesn't do it for STARTUPINFOEX. I assume CsWin32 does this for methods but not structures.
Is it possible to append W for structures automatically? If not, could you describe why not (just for my curiosity) and add a brief line to the getting-started docs (for future devs)?