cheat-engine/Cheat Engine/ceserver/extensionfunctions.h

26 lines
588 B
C

/*
* extensionfunctions.h
*
* Created on: Aug 25, 2013
* Author: eric
*/
#ifndef EXTENSIONFUNCTIONS_H_
#define EXTENSIONFUNCTIONS_H_
#include <stdint.h>
#include "ceserver.h"
#include "porthelp.h"
#define EXTCMD_ALLOC 0
#define EXTCMD_FREE 1
#define EXTCMD_CREATETHREAD 2
#define EXTCMD_SPEEDHACK_SETSPEED 3
#define EXTCMD_CHANGEMEMORYPROTECTION 4
uint64_t ext_alloc(HANDLE hProcess, uint64_t preferedBase, int size);
int ext_free(HANDLE hProcess, uint64_t address, int size);
#endif /* EXTENSIONFUNCTIONS_H_ */