This file contains 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
#include <iostream> | |
#include <Windows.h> | |
#include <string> | |
#define VARIABLE_ATTRIBUTE_NON_VOLATILE 0x00000001 | |
#define VARIABLE_ATTRIBUTE_BOOTSERVICE_ACCESS 0x00000002 | |
#define VARIABLE_ATTRIBUTE_RUNTIME_ACCESS 0x00000004 | |
BOOLEAN RaisePriviledge() | |
{ |