Actual behavior
These friendly overloads provide ReturnLength to the caller via a ref uint value, however the documentation clearly says its an out variable only.
Expected behavior
Use out instead of ref to provide a nicer interface to the caller.
Repro steps
NativeMethods.txt content:
NtQueryInformationProcess
NtQueryObject
NtQuerySystemInformation
-
NativeMethods.json content (if present): N/A
-
Any of your own code that should be shared? N/A
Context
- CsWin32 version: 0.3.253
- Win32Metadata version (if explicitly set by project): N/A
- Target Framework: net472
LangVersion (if explicitly set by project): N/A