Skip to content

MiroKaku/Musa.Veil

Repository files navigation

Actions Status LICENSE Downloads

Musa.Veil is a collection of Native API definitions for Windows. Take the name Veil, which means to lift the veil of Windows and spy on the face hidden behind.

This project contains the definitions for the Windows internal undocumented API from ntoskrnl.exe, ntdll.dll, kernelbase.dll.

This project is based on the systeminformer/phnt and Chuyu-Team/MINT fork modifications, combining the advantages of the two projects.

  • Both user-mode and kernel-mode are supported.
  • Compiling using the /W4 /WX option is supported.
  • Optimized for the Windows SDK.
  • The API is managed by Windows SDK version macros.

How to use

Method 1 (recommended)

Right click on the project, select "Manage NuGet Packages". Search for Musa.Veil, choose the version that suits you, and then click "Install".

Or

If your project template uses Mile.Project.Windows, you can add the following code directly to your .vcxproj file:

  <ItemGroup>
    <PackageReference Include="Musa.Veil">
      <!-- Expected version -->
      <Version>1.0.0</Version>
    </PackageReference>
  </ItemGroup>

Method 2

First make sure that your program is using the latest Windows SDK. Then clone and include it.

Other

// If you wonder to use separate namespace, please define the following macro.
#define VEIL_USE_SEPARATE_NAMESPACE

// First inclusion order
#include "Veil.h"

Acknowledgements

Thanks to JetBrains for providing free licenses such as Resharper C++ for my open-source projects.

ReSharper C++ logo.