Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

Latest commit

 

History

History
59 lines (39 loc) · 2.25 KB

README.md

File metadata and controls

59 lines (39 loc) · 2.25 KB

license GoDoc Coverage Status Build Status Go Report Card Release

About w32

w32 is a wrapper of windows apis for the Go Programming Language.

It wraps win32 apis to "Go style" to make them easier to use.

Work in progress! Pull requests are welcome!

API of this package can be changed till 1.0.0 version will be released!

Notes

This library was originally a clone of JamesHovious/w32.

This library aims to mirror the win32 api and other Windows system dlls, without additional abstractions built on top of it. It attempts to be as organized/documented as possible.

This mirror has some of my own additions plus updates from other forks of the original project. I've attempted to document where I've pulled code from someone else.

I add new API functions in if my current project needs them. If your project needs a particular function please submit a PR or issue. I also add in additional functions as I see other forks, or Go libraries that have them.

Example

package main

import (
	"github.com/riftbit/w32"
)

func main() {
	w32.MessageBox(0, "Hello World!", "Hello, World!", 0)
}

For more examples, look at the example folder.

Setup

  1. Install Go.
  2. Get a GCC compiler. I recommend the WinBuilds version.
  3. From the command line, type go get github.com/riftbit/w32
  4. Create a new file, and try the example above.

Contribute

Contributions in form of design, code, documentation, bug reporting or other ways you see fit are very welcome.

Thank You!