anchor.diff:    try {
       int hr;
       using((Arena arena) {
  -      final bufferCountPtr = arena<Uint16>();
  -      hr = BluetoothGATTGetServices(hDevice, 0, nullptr, bufferCountPtr, BLUETOOTH_GATT_FLAG_NONE);
  +      final bufferCountPtr = arena<USHORT>();
  +      hr = BluetoothGATTGetServices(
  +          hDevice, 0, nullptr, bufferCountPtr, BLUETOOTH_GATT_FLAG_NONE);
         if (hr != HRESULT_FROM_WIN32(ERROR_MORE_DATA)) {
           print('BluetoothGATTGetServices - Get Buffer Count error: $hr');
           throw WindowsException(hr);
         }
   
         final serviceBufferPtr = arena<BTH_LE_GATT_SERVICE>(bufferCountPtr.value);
  -      final numServicesPtr = arena<Uint16>();
  -      hr = BluetoothGATTGetServices(hDevice, bufferCountPtr.value, serviceBufferPtr, numServicesPtr, BLUETOOTH_GATT_FLAG_NONE);
  +      final numServicesPtr = arena<USHORT>();
  +
  +      hr = BluetoothGATTGetServices(hDevice, bufferCountPtr.value,
  +          serviceBufferPtr, numServicesPtr, BLUETOOTH_GATT_FLAG_NONE);
  +
         if (hr != S_OK) {
           print('BluetoothGATTGetServices - Get Service Buffer error: $hr');
           throw WindowsException(hr);
         }
         for (var i = 0; i < numServicesPtr.value; i++) {
  -        print('BluetoothGATTService - ${serviceBufferPtr[i].ServiceUuid.LongUuid}');
  +        print(
  +            'BluetoothGATTService - ${serviceBufferPtr[i].ServiceUuid.LongUuid}');
         }
       });
     } finally {
       CloseHandle(hDevice);
  -    calloc.free(pathPtr);
  +    free(pathPtr);
     }
  -}+}
  
positive.code:             .getDevicePathData(requiredSizePtr.value);
          yield Uint16List.fromList(rawPathData);
        } finally {
          calloc.free(detailDataMemoryPtr);
        }
      }
  
  
negative.code: // -----------------------------------------------------------------------------
  // GATT Security and Other Flag-related Facilities
  // -----------------------------------------------------------------------------
  
  void printServicesByDevice(Uint16List path) {
    // TODO(sunbreak): if path was passed as a String, you could just call
    // path.toNativeUtf16() to get yourself a Pointer<Utf16>.
    final pathPtr = wsalloc(path.length);
    pathPtr
        .cast<Uint16>()
        .asTypedList(path.length)
        .setRange(0, path.length, path);
  
    final hDevice = CreateFile(pathPtr.cast(), 0,
        FILE_SHARE_READ | FILE_SHARE_WRITE, nullptr, OPEN_EXISTING, 0, NULL);
    if (hDevice == INVALID_HANDLE_VALUE) {
      final error = GetLastError();
      print('CreateFile - Get Device Handle error: $error');
  