.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CreateRemoteThread 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCreateRemoteThread\fR (KERNEL32.@) .SH SYNOPSIS HANDLE CreateRemoteThread ( HANDLE \fIhProcess\fR, SECURITY_ATTRIBUTES* \fIsa\fR, SIZE_T \fIstack\fR, LPTHREAD_START_ROUTINE \fIstart\fR, LPVOID \fIparam\fR, DWORD \fIflags\fR, LPDWORD \fIid\fR ) .SH DESCRIPTION .PP Creates a thread that runs in the address space of another process. .SH PARAMS .SH RETURNS \fBSuccess:\fR Handle to the new thread. .PP \fBFailure:\fR \fBNULL\fR. Use \fBGetLastError(3w)\fR to find the error cause. .PP .SH BUGS .PP Improper memory allocation: there's no ability to free new_thread_info in other process. Bad \fIstart\fR address for RtlCreateUserThread because the library may be loaded at different address in other process. .SH IMPLEMENTATION .PP Declared in \fB"winbase.h"\fR. .PP Implemented in \fB"dlls/kernel32/thread.c"\fR. .PP Debug channel \fB"thread"\fR.