Is it possible to use CreateProcess
with compatibility settings like reduced color mode: 16bit
or other settings?
I want to avoid having to go to compatibility to change to setting. I want to just run it directly with the options set via CreateProcess
on a secondary application.
I'm currently working with this code:
var sI syscall.StartupInfo
var pI syscall.ProcessInformation
argv := syscall.StringToUTF16Ptr("app.exe")
err := syscall.CreateProcess(
nil,
argv,
nil,
nil,
true,
0,
nil,
nil,
&sI,
&pI)