mirror of
https://github.com/es3n1n/defendnot.git
synced 2026-08-02 10:32:01 +00:00
20 lines
449 B
C++
20 lines
449 B
C++
#pragma once
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
#include <Windows.h>
|
|
|
|
namespace loader {
|
|
struct Config {
|
|
public:
|
|
std::string name;
|
|
bool disable;
|
|
bool verbose;
|
|
bool from_autorun;
|
|
};
|
|
|
|
[[nodiscard]] HANDLE inject(std::string_view dll_path, std::string_view proc_name);
|
|
[[nodiscard]] bool add_to_autorun();
|
|
[[nodiscard]] bool remove_from_autorun();
|
|
} // namespace loader
|