Closed mwisnicki closed 5 months ago
I can't get OpenProcess by referencing namespace Windows.Win32.System.Threading in NativeMethods.txt. It works with plain OpenProcess as well as fully qualified Windows.Win32.System.Threading.OpenProcess.
OpenProcess
Windows.Win32.System.Threading
NativeMethods.txt
Windows.Win32.System.Threading.OpenProcess
Namespace reference should work as per readme.
NativeMethods.txt content:
Any of your own code that should be shared?
Windows.Win32.PInvoke.OpenProcess(Windows.Win32.System.Threading.PROCESS_ACCESS_RIGHTS.PROCESS_QUERY_INFORMATION, false, 1);
0.3.49-beta
net8.0-windows
I can't reproduce this with 0.3.85-beta.
Actual behavior
I can't get
OpenProcess
by referencing namespaceWindows.Win32.System.Threading
inNativeMethods.txt
. It works with plainOpenProcess
as well as fully qualifiedWindows.Win32.System.Threading.OpenProcess
.Expected behavior
Namespace reference should work as per readme.
Repro steps
NativeMethods.txt
content:Any of your own code that should be shared?
Context
0.3.49-beta
net8.0-windows