This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> | |
#include <winternl.h> | |
#include <cstdio> | |
#include <cstdint> | |
#pragma comment(lib, "ntdll.lib") | |
#define API_SET_SCHEMA_ENTRY_FLAGS_SEALED 1 | |
#define API_SET_SCHEMA_FLAGS_HOST_EXTENSION 2 |