thread.go 586 B

12345678910111213
  1. package winapi
  2. // HANDLE CreateRemoteThread(
  3. // HANDLE hProcess,
  4. // LPSECURITY_ATTRIBUTES lpThreadAttributes,
  5. // SIZE_T dwStackSize,
  6. // LPTHREAD_START_ROUTINE lpStartAddress,
  7. // LPVOID lpParameter,
  8. // DWORD dwCreationFlags,
  9. // LPDWORD lpThreadId
  10. // );
  11. //
  12. //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