SetCommState method

int SetCommState(
  1. Pointer<Void> hFile,
  2. Pointer<LPDCB> lpDCB
)

Implementation

int SetCommState(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<LPDCB> lpDCB,
) {
  return (_SetCommState ??= _dylib
      .lookupFunction<_c_SetCommState, _dart_SetCommState>('SetCommState'))(
    hFile,
    lpDCB,
  );
}