GetCommState method

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

Implementation

int GetCommState(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<LPDCB> lpDCB,
) {
  return (_GetCommState ??= _dylib
      .lookupFunction<_c_GetCommState, _dart_GetCommState>('GetCommState'))(
    hFile,
    lpDCB,
  );
}