Documentation
¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const MaxArgs = 42
MaxArgs should be divisible by 2, as Windows stack must be kept 16-byte aligned on syscall entry.
Although it only permits maximum 42 parameters, it is arguably large enough.
Variables ¶
This section is empty.
Functions ¶
func AsmStdCallAddr ¶
func AsmStdCallAddr() uintptr
AsmStdCallAddr is the address of a function that accepts a pointer to StdCallInfo stored on the stack following the C calling convention, and calls the function using Windows' stdcall calling convention. Shouldn't be called directly from Go.
func StdCall ¶
func StdCall(fn *StdCallInfo)
StdCall calls a function using Windows' stdcall convention.
Types ¶
Click to show internal directories.
Click to hide internal directories.