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

discontinued
outdated

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

Dart WinApi #

Dart implementation of the Win32 Api https://docs.microsoft.com/en-us/windows/win32/

Documentation of the functions are taken from the official documentation.

How to use #

You can import a single part of the library such as user32.dart or import all the api function importing dart_winapi.dart

Example #

Get cursor position, set it and send left click input and release.

  var point = Point.allocate();
  GetCursorPos(point);
  point.x += 10;
  SetCursorPos(point.x, point.y);
  MouseEvent(dwFlags: MOUSEEVENTF_LEFTDOWN);
  MouseEvent(dwFlags: MOUSEEVENTF_LEFTUP);
  free(point.addressOf);

To request a new api function to be added please open a new issue.

3
likes
0
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

unknown (license)

Dependencies

ffi, meta

More

Packages that depend on dart_winapi