mirror of
https://github.com/golang/sys.git
synced 2026-02-08 19:56:04 +03:00
windows: add LoadGetSystemTimePreciseAsFileTime
Useful since GetSystemTimePreciseAsFileTime is Windows 8+. Change-Id: I736bd0668aaf6ad086f6465b8b9a17f1943f0570 Reviewed-on: https://go-review.googlesource.com/43312 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
9c9d83fe39
commit
1e4778a9a1
@@ -486,6 +486,10 @@ func Chmod(path string, mode uint32) (err error) {
|
||||
return SetFileAttributes(p, attrs)
|
||||
}
|
||||
|
||||
func LoadGetSystemTimePreciseAsFileTime() error {
|
||||
return procGetSystemTimePreciseAsFileTime.Find()
|
||||
}
|
||||
|
||||
func LoadCancelIoEx() error {
|
||||
return procCancelIoEx.Find()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user