Skip to content

Commit 3ca3b18

Browse files
jupjalexbrainman
authored andcommitted
windows: add GetLargePageMinimum
https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-getlargepageminimum Fixes golang/go#53900 Change-Id: If460e926af0cfa3fcf0d01422411abd01dae791c Reviewed-on: https://go-review.googlesource.com/c/sys/+/444975 Run-TryBot: Alex Brainman <[email protected]> Reviewed-by: Jenny Rakoczy <[email protected]> Reviewed-by: Cherry Mui <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Alex Brainman <[email protected]>
1 parent d684c6f commit 3ca3b18

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

windows/syscall_windows.go

+1
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ func NewCallbackCDecl(fn interface{}) uintptr {
367367
//sys IsWindowUnicode(hwnd HWND) (isUnicode bool) = user32.IsWindowUnicode
368368
//sys IsWindowVisible(hwnd HWND) (isVisible bool) = user32.IsWindowVisible
369369
//sys GetGUIThreadInfo(thread uint32, info *GUIThreadInfo) (err error) = user32.GetGUIThreadInfo
370+
//sys GetLargePageMinimum() (size uintptr)
370371

371372
// Volume Management Functions
372373
//sys DefineDosDevice(flags uint32, deviceName *uint16, targetPath *uint16) (err error) = DefineDosDeviceW

windows/zsyscall_windows.go

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)