mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
We already have GetFileInformationByHandle, so this adds the corresponding SetFileInformationByHandle, which has a nearly identical function signature to GetFileInformationByHandleEx, which is convenient. We also add the enum for the various classes of data. Reference: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-setfileinformationbyhandle Change-Id: I3d3e8b99e616b512df4d57c8c521e14294c93a6d Reviewed-on: https://go-review.googlesource.com/c/sys/+/270757 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Trust: Brad Fitzpatrick <bradfitz@golang.org> Trust: Jason A. Donenfeld <Jason@zx2c4.com>