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
#include <cstdio> | |
#include <windows.h> | |
#if !defined(_WIN32) || defined(_WIN64) | |
#error This snippet is only valid for x86 executables! | |
#endif | |
typedef struct _UNICODE_STRING { | |
unsigned __int16 Length; | |
unsigned __int16 MaximumLength; |