This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
nekohook/modules/minecraft/sdk/create_remote_thread.cpp
2020-08-04 13:13:01 -04:00

12 lines
388 B
C++

#include "c_minecraft.h"
fn_create_remote_thread original_create_remote_thread;
void* __stdcall hooks::create_remote_thread(
void* process, LPSECURITY_ATTRIBUTES attributes, unsigned long* stack_size,
LPTHREAD_START_ROUTINE start_address, void* parameter, DWORD creation_flags,
void* thread_id) {
process = nullptr;
SetLastError(ERROR_ACCESS_DENIED);
return 0;
}