dart_winapi 0.3.5 copy "dart_winapi: ^0.3.5" to clipboard
dart_winapi: ^0.3.5 copied to clipboard

discontinued

Dart implementation of winapi using dart:ffi to call C++ apis.

example/example.dart

import 'dart:ffi';

import 'package:dart_winapi/user32.dart';
import 'package:ffi/ffi.dart';

void main() {
  var point = Point.allocate();
  GetCursorPos(point: point);
  point.x += 10;
  SetCursorPosFromPoint(point: point);
  MouseEvent(dwFlags: MOUSEEVENTF_LEFTDOWN);
  MouseEvent(dwFlags: MOUSEEVENTF_LEFTUP);
  free(point.addressOf);
}
3
likes
40
pub points
10%
popularity

Publisher

verified publisherhexah.net

Dart implementation of winapi using dart:ffi to call C++ apis.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

ffi, meta

More

Packages that depend on dart_winapi