Example #1
0
 internal static extern bool DeviceIoControl
 (
     SafeHandle hDevice,
     IOCTL dwIoControlCode,
     ref STORAGE_PROPERTY_QUERY lpInBuffer,
     int nInBufferSize,
     out STORAGE_DEVICE_DESCRIPTOR_HEADER lpOutBuffer,
     int nOutBufferSize,
     out uint lpBytesReturned,
     IntPtr lpOverlapped);
Example #2
0
 internal static extern bool DeviceIoControl
 (
     SafeHandle hDevice,
     IOCTL dwIoControlCode,
     IntPtr lpInBuffer,
     int nInBufferSize,
     IntPtr lpOutBuffer,
     int nOutBufferSize,
     out uint lpBytesReturned,
     IntPtr lpOverlapped);
Example #3
0
 public static extern bool DeviceIoControl(SafeFileHandle hDevice, IOCTL IoControlCode,
                                           IntPtr InBuffer, int nInBufferSize, out KEYBOARD_INDICATOR_PARAMETERS OutBuffer,
                                           int nOutBufferSize, out int pBytesReturned, IntPtr Overlapped);
Example #4
0
 private static extern bool DeviceIoControl(SafeFileHandle hDevice, IOCTL command, ref SubChannelRequest request, int requestSize, out MMC.SubChannelISRC data, int dataSize, out int pBytesReturned, IntPtr overlapped);
Example #5
0
 private static extern bool DeviceIoControl(SafeFileHandle hDevice, IOCTL command, ref TOCRequest request, int nInBufferSize, out MMC.TOCDescriptor data, int dataSize, out int pBytesReturned, IntPtr overlapped);
Example #6
0
 public static extern bool DeviceIoControl(SafeFileHandle hDevice, IOCTL IoControlCode,
         IntPtr InBuffer, int nInBufferSize, out KEYBOARD_INDICATOR_PARAMETERS OutBuffer,
         int nOutBufferSize, out int pBytesReturned, IntPtr Overlapped);
Example #7
0
 private static extern int SendSCSIRequest(int fd, IOCTL command, ref SCSIRequest request);
Example #8
0
 private static extern int SendIORequest(int fd, IOCTL command, ref ReadSubChannelRequest request);
Example #9
0
 private static extern int SendIORequest(int fd, IOCTL command, ref TOCEntriesRequest request);
Example #10
0
 private static extern int SendIORequest(int fd, IOCTL command, ref TOCHeaderRequest request);