[DllImport("coredll.dll", SetLastError = true)] public static extern int WinIOCTL( uint Ioctl, IntPtr InputBuffer, uint InputBufferSize, IntPtr OutputBuffer, uint OutputBufferSize, ref uint BytesReturned, IntPtr Overlapped );
Microsoft documentation: Link
Last updated 1 year ago