2016-08-30 22:39:33 +02:00
|
|
|
#ifndef _INCLUDE_UTIL_FUNCTIONS_H_
|
|
|
|
#define _INCLUDE_UTIL_FUNCTIONS_H_
|
|
|
|
|
|
|
|
#include "vhook.h"
|
2016-12-12 06:02:10 +01:00
|
|
|
#include "convention.h"
|
2016-08-30 22:39:33 +02:00
|
|
|
|
|
|
|
size_t GetParamOffset(HookParamsStruct *params, unsigned int index);
|
|
|
|
void * GetObjectAddr(HookParamType type, unsigned int flags, void **params, size_t offset);
|
|
|
|
size_t GetParamTypeSize(HookParamType type);
|
|
|
|
size_t GetParamsSize(DHooksCallback *dg);
|
2016-12-12 06:02:10 +01:00
|
|
|
|
|
|
|
DataType_t DynamicHooks_ConvertParamTypeFrom(HookParamType type);
|
|
|
|
DataType_t DynamicHooks_ConvertReturnTypeFrom(ReturnType type);
|
2016-08-30 22:39:33 +02:00
|
|
|
#endif
|