pslib/ps_target.h
2020-04-20 01:16:17 +03:00

16 lines
No EOL
239 B
C

#ifndef __PS_TARGET_H
#define __PS_TARGET_H
#include <Windows.h>
#ifndef _WIN64
#define PS_IMPORT(funcName,thunkName) \
__declspec(naked) ULONG_PTR thunkName() \
{ \
__asm jmp dword ptr ds : [funcName] \
}
#endif
#endif