YAEDR/windows-client/include/windows_client/winutils.h
2025-06-19 01:45:38 -07:00

20 lines
No EOL
356 B
C++

#ifndef UTILS_H
#define UTILS_H
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
// todo: adda normal native library
#include <winternl.h>
#define SYSTEM_CODEINTEGRITY_INFORMATION_CLASS 103
#define CODEINTEGRITY_OPTION_TESTSIGN 0x02
#pragma comment(lib, "ntdll.lib")
namespace winutils
{
BOOL bIsTestSigningEnabled();
BOOL bIsAdmin();
}
#endif