Hexer10 / dart_winapi

Dart implementation of winapi

Home Page:https://pub.dev/packages/dart_winapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PROJECT DISCONTINUED

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);
  point.x += 10;
  SetCursorPosFromPoint(point);
  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.

About

Dart implementation of winapi

https://pub.dev/packages/dart_winapi

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 100.0%