Documentation
¶
Index ¶
Constants ¶
const ( WAIT_OBJECT_0 = 0x00000000 WAIT_TIMEOUT = 0x00000102 WAIT_FAILED = 0xFFFFFFFF INFINITE_TIMEOUT = 0xFFFFFFFF )
Variables ¶
var (
Modkernel32 *syscall.DLL
)
Functions ¶
func CloseHandle ¶
CloseHandle closes an open object handle.
func CreateEvent ¶
CreateEvent creates or opens a named or unnamed event object. manualReset indicates whether the event must be manually reset. initialState indicates whether the event is initially signaled. name is the name of the event object. If empty, an unnamed event is created.
func LoadDLL ¶ added in v2.2.0
LoadDLL loads a driver DLL by name from the system directory or the executable's, never from the working directory or PATH, where a planted copy would be found first. An absolute path loads that file, and the DLLs it imports are looked for in its own folder first.
func WaitForSingleObject ¶
WaitForSingleObject(waitHandle, timeoutMs) timeoutMs can be INFINITE_TIMEOUT
Receive loops call this per frame burst, so it uses syscall.SyscallN rather than Proc.Call, which heap allocates its argument slice.
Types ¶
This section is empty.