Initial commit: Add project structure, build configuration, and core functionality

- Added .gitignore to exclude build directory
- Added utils submodule for shared utilities
- Configured CMake build system with dependencies
- Added main executable and DLL injection logic
- Included necessary headers and manifest files
- Added README with build and usage instructions
This commit is contained in:
2025-02-02 23:40:09 +08:00
commit ececd4b77e
15 changed files with 1562 additions and 0 deletions

27
include/detver.h Normal file
View File

@@ -0,0 +1,27 @@
//////////////////////////////////////////////////////////////////////////////
//
// Common version parameters.
//
// Microsoft Research Detours Package, Version 4.0.1
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
#define _USING_V110_SDK71_ 1
#include "winver.h"
#if 0
#include <windows.h>
#include <detours.h>
#else
#ifndef DETOURS_STRINGIFY
#define DETOURS_STRINGIFY_(x) #x
#define DETOURS_STRINGIFY(x) DETOURS_STRINGIFY_(x)
#endif
#define VER_FILEFLAGSMASK 0x3fL
#define VER_FILEFLAGS 0x0L
#define VER_FILEOS 0x00040004L
#define VER_FILETYPE 0x00000002L
#define VER_FILESUBTYPE 0x00000000L
#endif
#define VER_DETOURS_BITS DETOURS_STRINGIFY(DETOURS_BITS)