2011-03-04 Seth Jackson <sethj@users.sourceforge.net>

* include/winnt.h (PAGE_WRITECOMBINE): Define.
        * include/winbase.h (THREAD_MODE_BACKGROUND_BEGIN, THREAD_MODE_BACKGROUND_END): Define.
This commit is contained in:
Chris Sutcliffe 2011-03-05 04:39:15 +00:00
parent a4c7da048d
commit 2af4c4de09
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-03-04 Seth Jackson <sethj@users.sourceforge.net>
* include/winnt.h (PAGE_WRITECOMBINE): Define.
* include/winbase.h (THREAD_MODE_BACKGROUND_BEGIN, THREAD_MODE_BACKGROUND_END): Define.
2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (__MINGW_EXTENSION): Define.

View File

@ -270,6 +270,10 @@ extern "C" {
#define GET_TAPE_DRIVE_INFORMATION 1
#define SET_TAPE_MEDIA_INFORMATION 0
#define SET_TAPE_DRIVE_INFORMATION 1
#if (_WIN32_WINNT >= 0x0600)
#define THREAD_MODE_BACKGROUND_BEGIN 0x00010000
#define THREAD_MODE_BACKGROUND_END 0x00020000
#endif
#define THREAD_PRIORITY_ABOVE_NORMAL 1
#define THREAD_PRIORITY_BELOW_NORMAL (-1)
#define THREAD_PRIORITY_HIGHEST 2

View File

@ -1041,6 +1041,7 @@ typedef DWORD FLONG;
#define PAGE_EXECUTE_WRITECOPY 0x0080
#define PAGE_GUARD 0x0100
#define PAGE_NOCACHE 0x0200
#define PAGE_WRITECOMBINE 0x0400
#define MEM_COMMIT 0x1000
#define MEM_RESERVE 0x2000
#define MEM_DECOMMIT 0x4000