BluetoothGATTBeginReliableWrite function bluetoothapis
void
BluetoothGATTBeginReliableWrite()
Specifies that reliable writes are about to begin.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/bluetoothleapis/nf-bluetoothleapis-bluetoothgattbeginreliablewrite.
Implementation
@pragma('vm:prefer-inline')
void BluetoothGATTBeginReliableWrite(
HANDLE hDevice,
Pointer<Uint64> reliableWriteContext,
int flags,
) {
final hr$ = HRESULT(
_BluetoothGATTBeginReliableWrite(hDevice, reliableWriteContext, flags),
);
if (hr$.isError) throw WindowsException(hr$);
}