Add util source and header with functions used in multiple locations.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#ifndef _INCLUDE_UTIL_FUNCTIONS_H_
|
||||
#define _INCLUDE_UTIL_FUNCTIONS_H_
|
||||
|
||||
#include "vhook.h"
|
||||
|
||||
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);
|
||||
#endif
|
||||
Reference in New Issue
Block a user