Beispiel #1
0
 public static extern bool DeviceIoControl(
     IntPtr hDevice,
     UInt32 dwIoControlCode,
     IntPtr lpInBuffer,
     Int32 nInBufferSize,
     out READ_USN_JOURNAL_DATA lpOutBuffer,
     Int32 nOutBufferSize,
     out uint lpBytesReturned,
     IntPtr lpOverlapped);
Beispiel #2
0
 public static extern bool DeviceIoControl(
     SafeFileHandle hDevice,
     EIOControlCode IoControlCode,
     [In] READ_USN_JOURNAL_DATA InBuffer,
     uint nInBufferSize,
     [In] IntPtr OutBuffer,
     uint nOutBufferSize,
     ref uint pBytesReturned,
     [In] IntPtr overlapped //[In] ref System.Threading.NativeOverlapped Overlapped
     );