1 package winapi 2 3 // HANDLE CreateRemoteThread( 4 // HANDLE hProcess, 5 // LPSECURITY_ATTRIBUTES lpThreadAttributes, 6 // SIZE_T dwStackSize, 7 // LPTHREAD_START_ROUTINE lpStartAddress, 8 // LPVOID lpParameter, 9 // DWORD dwCreationFlags, 10 // LPDWORD lpThreadId 11 // ); 12 // 13 //sys CreateRemoteThread(process windows.Handle, sa *windows.SecurityAttributes, stackSize uint32, startAddr uintptr, parameter uintptr, creationFlags uint32, threadID *uint32) (handle windows.Handle, err error) = kernel32.CreateRemoteThread 14