2015-09-05 10:37:36 +00:00
|
|
|
#ifndef _MSCONFIG_PCH_
|
|
|
|
#define _MSCONFIG_PCH_
|
|
|
|
|
2015-09-05 13:03:04 +00:00
|
|
|
// NOTE: It is completely idiotic to need those defines defined
|
|
|
|
// for having the *_s string functions. In the MS CRT they are
|
|
|
|
// directly available without further tricks.
|
|
|
|
#define MINGW_HAS_SECURE_API 1
|
|
|
|
|
2015-09-06 17:19:40 +00:00
|
|
|
#include <assert.h>
|
|
|
|
|
2015-09-05 10:37:36 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2015-09-05 13:03:04 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h> // FIXME: Should be normally useless in a proper CRT...
|
|
|
|
#include <tchar.h>
|
|
|
|
|
2015-09-05 10:37:36 +00:00
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
2015-10-18 16:55:31 +00:00
|
|
|
|
2015-09-05 10:37:36 +00:00
|
|
|
#define NTOS_MODE_USER
|
|
|
|
|
2015-10-18 16:55:31 +00:00
|
|
|
#define _FORCENAMELESSUNION
|
|
|
|
// #define _WIN32_DCOM // For CoInitializeEx on Win2k and perhaps XP / 2003 ??
|
|
|
|
|
2015-09-05 10:37:36 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
2015-09-05 13:03:04 +00:00
|
|
|
#include <winnls.h>
|
2015-09-05 10:37:36 +00:00
|
|
|
#include <winreg.h>
|
2015-09-05 13:03:04 +00:00
|
|
|
#include <winuser.h>
|
|
|
|
#include <winver.h>
|
|
|
|
|
2015-10-18 16:55:31 +00:00
|
|
|
#include <initguid.h>
|
|
|
|
// #include <shlobj.h> // If used, initguid.h must be included before!
|
|
|
|
#include <shlwapi.h>
|
|
|
|
#include <shellapi.h>
|
|
|
|
#include <commctrl.h>
|
|
|
|
#include <prsht.h>
|
2015-09-05 10:37:36 +00:00
|
|
|
#include <strsafe.h>
|
|
|
|
|
|
|
|
#include "msconfig.h"
|
|
|
|
#include "resource.h"
|
|
|
|
|
|
|
|
#define MAX_KEY_LENGTH 255
|
|
|
|
#define MAX_VALUE_NAME 16383
|
|
|
|
|
|
|
|
#endif /* _MSCONFIG_PCH_ */
|