Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import (
- "syscall"
- "unsafe"
- )
- var (
- kernel32DLL = syscall.NewLazyDLL("kernel32.dll")
- procCreateEvent = kernel32DLL.NewProc("CreateEvent")
- )
- func createEvent() Handle {
- var securityAttrib SecurityAttributes
- securityAttrib.InheritHandle = 1
- securityAttrib.SecurityDescriptor = 0
- securityAttrib.Length = unsafe.Sizeof(securityAttrib)
- }
- func main() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement