go-windows is a library for Go (golang) that provides wrappers to various Windows APIs that are not covered by the stdlib or by golang.org/x/sys/windows.
Goals / Features
- Does not use cgo.
- Provide abstractions to make using the APIs easier.
go-windows provides Go wrappers for Windows APIs.
License: Apache License 2.0
go-windows is a library for Go (golang) that provides wrappers to various Windows APIs that are not covered by the stdlib or by golang.org/x/sys/windows.
Goals / Features
From: elastic/beats#7715
go-windows/zsyscall_windows.go
Lines 52 to 62 in 5d078fa
On 64-bit windows when compiled as 64-bit Go, r1 gets set to 0 which then causes the logic here to proceed into an error state and return syscall.EINVAL (which gets printed as "invalid argument").
On 32-bit windows (or 64-bit windows compiled with 32-bit Go) , r1 gets set to 262144 which is 0x400000 which then returns successfully.
This syscall does not provide a return code per: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724340(v=vs.85).aspx -- i might be misunderstanding the semantics of GO syscalls but I think checking that r1 == 0 is incorrect here. If that's the case then why does it return 0x400000 on x86....
How can I use this module to capture photo/video, I read https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/basic-photo-video-and-audio-capture-with-mediacapture but could not understand how to proceed. Thanks
pkg.go.dev has a single function from this package documented, why? Where would I find relevant documentation?
Looks like we accidentally vendored some parts of this library within itself.
https://github.com/elastic/go-windows/tree/master/vendor/github.com/elastic/go-windows
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.