Commit 1e4778a9 authored by Tamir Duberstein's avatar Tamir Duberstein Committed by Brad Fitzpatrick

windows: add LoadGetSystemTimePreciseAsFileTime

Useful since GetSystemTimePreciseAsFileTime is Windows 8+.

Change-Id: I736bd0668aaf6ad086f6465b8b9a17f1943f0570
Reviewed-on: https://go-review.googlesource.com/43312Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 9c9d83fe
......@@ -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()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment