2015-05-31 10:12:29 -05:00
|
|
|
// 31 may 2015
|
|
|
|
#define UNICODE
|
|
|
|
#define _UNICODE
|
|
|
|
#define STRICT
|
|
|
|
#define STRICT_TYPED_ITEMIDS
|
|
|
|
#define CINTERFACE
|
|
|
|
#define COBJMACROS
|
|
|
|
// see https://github.com/golang/go/issues/9916#issuecomment-74812211
|
|
|
|
#define INITGUID
|
2015-09-08 11:11:01 -05:00
|
|
|
#define _USE_MATH_DEFINES
|
2015-11-27 12:35:24 -06:00
|
|
|
// for the manifest
|
|
|
|
#define ISOLATION_AWARE_ENABLED 1
|
2015-05-31 17:45:11 -05:00
|
|
|
// get Windows version right; right now Windows Vista
|
|
|
|
#define WINVER 0x0600 /* according to Microsoft's winnls.h */
|
|
|
|
#define _WIN32_WINNT 0x0600 /* according to Microsoft's sdkddkver.h */
|
|
|
|
#define _WIN32_WINDOWS 0x0600 /* according to Microsoft's pdh.h */
|
|
|
|
#define _WIN32_IE 0x0700 /* according to Microsoft's sdkddkver.h */
|
|
|
|
#define NTDDI_VERSION 0x06000000 /* according to Microsoft's sdkddkver.h */
|
2015-05-31 10:12:29 -05:00
|
|
|
#include <windows.h>
|
2015-11-27 18:59:46 -06:00
|
|
|
// Microsoft's resource compiler will segfault if we feed it headers it was not designed to handle
|
|
|
|
#ifndef RC_INVOKED
|
2015-05-31 10:12:29 -05:00
|
|
|
#include <commctrl.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <uxtheme.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <wchar.h>
|
|
|
|
#include <windowsx.h>
|
|
|
|
#include <vsstyle.h>
|
|
|
|
#include <vssym32.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <oleacc.h>
|
|
|
|
#include <stdio.h>
|
2015-05-31 19:27:01 -05:00
|
|
|
#include <shobjidl.h>
|
2015-09-08 11:11:01 -05:00
|
|
|
#include <math.h>
|
2015-10-08 18:20:06 -05:00
|
|
|
#include <d2d1.h>
|
2015-10-11 06:51:14 -05:00
|
|
|
#include <float.h>
|
2015-11-27 18:59:46 -06:00
|
|
|
#endif
|