inject-library.h 681 B

1234567891011121314151617
  1. #include <windows.h>
  2. #include <stdint.h>
  3. #define INJECT_ERROR_INJECT_FAILED -1
  4. #define INJECT_ERROR_INVALID_PARAMS -2
  5. #define INJECT_ERROR_OPEN_PROCESS_FAIL -3
  6. #define INJECT_ERROR_UNLIKELY_FAIL -4
  7. extern int inject_library_obf(HANDLE process, const wchar_t *dll,
  8. const char *create_remote_thread_obf, uint64_t obf1,
  9. const char *write_process_memory_obf, uint64_t obf2,
  10. const char *virtual_alloc_ex_obf, uint64_t obf3,
  11. const char *virtual_free_ex_obf, uint64_t obf4,
  12. const char *load_library_w_obf, uint64_t obf5);
  13. extern int inject_library_safe_obf(DWORD thread_id, const wchar_t *dll,
  14. const char *set_windows_hook_ex_obf, uint64_t obf1);