CreateRemoteThread method
Pointer<Void>
CreateRemoteThread(
- Pointer<
Void> hProcess, - Pointer<
SECURITY_ATTRIBUTES> lpThreadAttributes, - int dwStackSize,
- Pointer<
NativeFunction< lpStartAddress,LPTHREAD_START_ROUTINE> > - Pointer<
Void> lpParameter, - int dwCreationFlags,
- Pointer<
Uint64> lpThreadId,
Implementation
ffi.Pointer<ffi.Void> CreateRemoteThread(
ffi.Pointer<ffi.Void> hProcess,
ffi.Pointer<SECURITY_ATTRIBUTES> lpThreadAttributes,
int dwStackSize,
ffi.Pointer<ffi.NativeFunction<LPTHREAD_START_ROUTINE>> lpStartAddress,
ffi.Pointer<ffi.Void> lpParameter,
int dwCreationFlags,
ffi.Pointer<ffi.Uint64> lpThreadId,
) {
return _CreateRemoteThread(
hProcess,
lpThreadAttributes,
dwStackSize,
lpStartAddress,
lpParameter,
dwCreationFlags,
lpThreadId,
);
}