mirror of
https://github.com/momo5502/drm-analysis.git
synced 2025-06-07 15:47:50 -05:00
21 lines
415 B
C
21 lines
415 B
C
#ifndef EXTERN_C
|
|
#ifdef __cplusplus
|
|
#define EXTERN_C extern "C"
|
|
#else
|
|
#define EXTERN_C
|
|
#endif
|
|
#endif
|
|
|
|
#ifndef DLL_IMPORT
|
|
#define DLL_IMPORT __declspec(dllimport)
|
|
#endif
|
|
|
|
EXTERN_C DLL_IMPORT
|
|
int hyperhook_initialize();
|
|
|
|
EXTERN_C DLL_IMPORT
|
|
int hyperhook_write(unsigned int process_id, unsigned long long address, const void* data,
|
|
unsigned long long size);
|
|
|
|
#pragma comment(lib, "hyperhook.lib")
|