57 lines
		
	
	
		
			1011 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			57 lines
		
	
	
		
			1011 B
		
	
	
	
		
			C
		
	
	
	
	
	
|  | // Windows XP
 | ||
|  | #define WINVER 0x0501
 | ||
|  | #define _WIN32_WINNT 0x0501
 | ||
|  | 
 | ||
|  | #define NOATOM
 | ||
|  | #define NOCLIPBOARD
 | ||
|  | #define NOCOLOR
 | ||
|  | #define NOCOMM
 | ||
|  | #define NOCTLMGR
 | ||
|  | #define NODEFERWINDOWPOS
 | ||
|  | #define NODRAWTEXT
 | ||
|  | #define NOGDI
 | ||
|  | #define NOGDICAPMASKS
 | ||
|  | #define NOHELP
 | ||
|  | #define NOICONS
 | ||
|  | #define NOKANJI
 | ||
|  | #define NOKEYSTATES
 | ||
|  | #define NOMB
 | ||
|  | #define NOMCX
 | ||
|  | #define NOMEMMGR
 | ||
|  | #define NOMENUS
 | ||
|  | #define NOMETAFILE
 | ||
|  | #define NOMINMAX
 | ||
|  | #define NOMSG
 | ||
|  | //#define NONLS
 | ||
|  | #define NOOPENFILE
 | ||
|  | #define NOPROFILER
 | ||
|  | #define NORASTEROPS
 | ||
|  | #define NOSCROLL
 | ||
|  | #define NOSERVICE
 | ||
|  | #define NOSHOWWINDOW
 | ||
|  | #define NOSOUND
 | ||
|  | #define NOSYSCOMMANDS
 | ||
|  | #define NOSYSMETRICS
 | ||
|  | #define NOTEXTMETRIC
 | ||
|  | #define NOUSER
 | ||
|  | #define NOVIRTUALKEYCODES
 | ||
|  | #define NOWH
 | ||
|  | #define NOWINMESSAGES
 | ||
|  | #define NOWINOFFSETS
 | ||
|  | #define NOWINSTYLES
 | ||
|  | #define WIN32_LEAN_AND_MEAN
 | ||
|  | 
 | ||
|  | #include <Windows.h>
 | ||
|  | 
 | ||
|  | #include <assert.h>
 | ||
|  | #include <intrin.h>
 | ||
|  | #include <stdio.h>
 | ||
|  | 
 | ||
|  | #include "SystemMicrosoft.c.h"
 | ||
|  | #include "event.c.h"
 | ||
|  | #include "fiber.c.h"
 | ||
|  | #include "mutex.c.h"
 | ||
|  | #include "semaphore.c.h"
 | ||
|  | #include "thread.c.h"
 | ||
|  | #include "threadlocal.c.h"
 |