DeviceIoControl method
Implementation
int DeviceIoControl(
ffi.Pointer<ffi.Void> hDevice,
int dwIoControlCode,
ffi.Pointer<ffi.Void> lpInBuffer,
int nInBufferSize,
ffi.Pointer<ffi.Void> lpOutBuffer,
int nOutBufferSize,
ffi.Pointer<ffi.Uint64> lpBytesReturned,
ffi.Pointer<LPOVERLAPPED> lpOverlapped,
) {
return (_DeviceIoControl ??=
_dylib.lookupFunction<_c_DeviceIoControl, _dart_DeviceIoControl>(
'DeviceIoControl'))(
hDevice,
dwIoControlCode,
lpInBuffer,
nInBufferSize,
lpOutBuffer,
nOutBufferSize,
lpBytesReturned,
lpOverlapped,
);
}