0/27 уроков (0%)
– из 27
Safety Not Guaranteed - Calling Windows APIs Using Unsafe and Syscall
YouTube·GopherCon
Explore Windows API integration in Go without relying on CGO in this GopherCon 2020 talk. Learn to leverage the unsafe and syscall packages for calling Windows APIs, loading DLLs, mapping C structs to Go, converting Win32 API function results, and avoiding unsafe package pitfalls. Dive into topics like pointer arithmetic, finding DLL call signatures, memory management, and designing for unmanaged memory. Gain practical insights through examples such as CreateJobObject, credential enumeration, and GetExtendedTcpTable, with full code available for reference.