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/open_process.cpp
2020-08-04 13:13:01 -04:00

10 lines
307 B
C++

#include "c_minecraft.h"
fn_open_process original_open_process;
void* __stdcall hooks::open_process(unsigned long desired_access,
bool inherit_handle,
unsigned long process_id) {
SetLastError(ERROR_ACCESS_DENIED);
return 0;
}