Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFileMapping ¶
func CreateFileMapping(fhandle windows.Handle, sa *windows.SecurityAttributes, prot uint32, maxSizeHigh uint32, maxSizeLow uint32, name string) (handle windows.Handle, err error)
CreateFileMapping is a wraper for windwos syscall. We cannot use a call from golang.org/x/sys/windows, because it returns nil error, if the syscall returned a valid handle. However, CreateFileMapping may return a valid handle along with ERROR_ALREADY_EXISTS, and in this case we cannot find out, if the file existed before.
func GetAllocGranularity ¶
func GetAllocGranularity() int
GetAllocGranularity returns system allocation granularity.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.