CreateRemoteThreadEx method
Pointer<Void>
CreateRemoteThreadEx(
- Pointer<
Void> hProcess, - Pointer<
LPSECURITY_ATTRIBUTES> lpThreadAttributes, - int dwStackSize,
- Pointer<
NativeFunction< lpStartAddress,LPTHREAD_START_ROUTINE> > - Pointer<
Void> lpParameter, - int dwCreationFlags,
- Pointer<
_PROC_THREAD_ATTRIBUTE_LIST> lpAttributeList, - Pointer<
Uint64> lpThreadId,
Implementation
ffi.Pointer<ffi.Void> CreateRemoteThreadEx(
ffi.Pointer<ffi.Void> hProcess,
ffi.Pointer<LPSECURITY_ATTRIBUTES> lpThreadAttributes,
int dwStackSize,
ffi.Pointer<ffi.NativeFunction<LPTHREAD_START_ROUTINE>> lpStartAddress,
ffi.Pointer<ffi.Void> lpParameter,
int dwCreationFlags,
ffi.Pointer<_PROC_THREAD_ATTRIBUTE_LIST> lpAttributeList,
ffi.Pointer<ffi.Uint64> lpThreadId,
) {
return (_CreateRemoteThreadEx ??= _dylib.lookupFunction<
_c_CreateRemoteThreadEx,
_dart_CreateRemoteThreadEx>('CreateRemoteThreadEx'))(
hProcess,
lpThreadAttributes,
dwStackSize,
lpStartAddress,
lpParameter,
dwCreationFlags,
lpAttributeList,
lpThreadId,
);
}