- Make TIME_ZONE_ID_XXX constants available from kernel mode.
[reactos.git] / reactos / include / defines.h
index 3761890..7036925 100644 (file)
@@ -13,7 +13,7 @@
    modify it under the terms of the GNU Library General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.
-   
+
    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
    If you are interested in a warranty or support for this source code,
    contact Scott Christley <scottc@net-community.com> for more information.
-   
+
    You should have received a copy of the GNU Library General Public
    License along with this library; see the file COPYING.LIB.
-   If not, write to the Free Software Foundation, 
+   If not, write to the Free Software Foundation,
    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 /* WARNING:  This file is automatically generated. */
@@ -165,6 +165,7 @@ extern "C" {
 #define MF_USECHECKBITMAPS     (0x200L)
 #define MF_RIGHTJUSTIFY MF_HELP
 
+
 /* Ternary Raster Operations - BitBlt */
 #define BLACKNESS      0x00000042
 #define NOTSRCERASE    0x001100A6
@@ -254,6 +255,13 @@ extern "C" {
 #define DISP_CHANGE_NOTUPDATED (-3)
 #define DISP_CHANGE_BADPARAM   (-5)
 
+/* ChangeMenu */
+#define MF_INSERT 0
+#define MF_CHANGE 128
+#define MF_APPEND 256
+#define MF_DELETE 512
+#define MF_REMOVE 4096
+
 /* ChangeServiceConfig */
 #define SERVICE_NO_CHANGE      (-1)
 #define SERVICE_KERNEL_DRIVER          (1)
@@ -460,10 +468,12 @@ extern "C" {
 #define SYMBOL_CHARSET (2)
 #define SHIFTJIS_CHARSET       (128)
 #define HANGEUL_CHARSET        (129)
+#define JOHAB_CHARSET  (130)
 #define GB2312_CHARSET (134)
 #define CHINESEBIG5_CHARSET    (136)
 #define GREEK_CHARSET  (161)
 #define TURKISH_CHARSET        (162)
+#define VIETNAMESE_CHARSET     (163)
 #define HEBREW_CHARSET (177)
 #define ARABIC_CHARSET (178)
 #define BALTIC_CHARSET (186)
@@ -524,9 +534,6 @@ extern "C" {
 #define PIPE_ACCESS_DUPLEX     (3)
 #define PIPE_ACCESS_INBOUND    (1)
 #define PIPE_ACCESS_OUTBOUND   (2)
-#define WRITE_DAC      (0x40000L)
-#define WRITE_OWNER    (0x80000L)
-#define ACCESS_SYSTEM_SECURITY (0x1000000L)
 #define PIPE_TYPE_BYTE (0)
 #define PIPE_TYPE_MESSAGE      (4)
 #define PIPE_READMODE_BYTE     (0)
@@ -1082,19 +1089,20 @@ extern "C" {
 #define TRUETYPE_FONTTYPE      (4)
 
 /* EnumObjects, GetCurrentObject, GetObjectType */
-#define OBJ_BRUSH      (2)
 #define OBJ_PEN        (1)
+#define OBJ_BRUSH      (2)
+#define OBJ_DC (3)
+#define OBJ_METADC     (4)
 #define OBJ_PAL        (5)
 #define OBJ_FONT       (6)
 #define OBJ_BITMAP     (7)
-#define OBJ_EXTPEN     (11)
 #define OBJ_REGION     (8)
-#define OBJ_DC (3)
-#define OBJ_MEMDC      (10)
 #define OBJ_METAFILE   (9)
-#define OBJ_METADC     (4)
-#define OBJ_ENHMETAFILE        (13)
+#define OBJ_MEMDC      (10)
+#define OBJ_EXTPEN     (11)
 #define OBJ_ENHMETADC  (12)
+#define OBJ_ENHMETAFILE        (13)
+#define OBJ_COLORSPACE (14)
 
 /* EnumPrinters */
 
@@ -1303,6 +1311,7 @@ extern "C" {
 #define SCS_PIF_BINARY (3)
 #define SCS_POSIX_BINARY       (4)
 #define SCS_WOW_BINARY (2)
+#define SCS_64BIT_BINARY       (6)
 
 /* GetBoundsRect, SetBoundsRect */
 #define DCB_DISABLE    (8)
@@ -1408,7 +1417,7 @@ extern "C" {
 #define CP_THREAD_ACP                  3                       /* ACP Current thread's ANSI code page */
 #define CP_SYMBOL                              42                      /* Symbol code page (42) */
 #define CP_UTF7                                        65000           /* Translate using UTF-7 */
-#define CP_UTF8                                        65001           /* Translate using UTF-8 */ 
+#define CP_UTF8                                        65001           /* Translate using UTF-8 */
 
 /* GetDateFormat */
 #define DATE_SHORTDATE (1)
@@ -1870,6 +1879,7 @@ extern "C" {
 #define SM_SHOWSOUNDS  (70)
 #define SM_SLOWMACHINE (73)
 #define SM_SWAPBUTTON  (23)
+#define SM_CMONITORS   (80)
 #define ARW_BOTTOMLEFT (0L)
 #define ARW_BOTTOMRIGHT        (0x1L)
 #define ARW_HIDE       (0x8L)
@@ -1917,12 +1927,6 @@ extern "C" {
 #define TIME_NOTIMEMARKER      (4)
 #define TIME_FORCE24HOURFORMAT (8)
 
-/* GetTimeZoneInformation */
-#define TIME_ZONE_ID_INVALID   ((DWORD) -1)
-#define TIME_ZONE_ID_UNKNOWN   (0)
-#define TIME_ZONE_ID_STANDARD  (1)
-#define TIME_ZONE_ID_DAYLIGHT  (2)
-
 /* GetUserObjectInformation */
 #define UOI_FLAGS      (1)
 #define UOI_NAME       (2)
@@ -2076,6 +2080,13 @@ extern "C" {
 /* InitializeSecurityDescriptor */
 #define SECURITY_DESCRIPTOR_REVISION   (1)
 
+/* InSendMessageEx */
+#define ISMEX_NOSEND   (0)
+#define ISMEX_SEND     (1)
+#define ISMEX_NOTIFY   (2)
+#define ISMEX_CALLBACK (4)
+#define ISMEX_REPLIED  (8)
+
 /* JournalPlaybackProc, KeyboardProc */
 #define HC_GETNEXT     (1)
 #define HC_SKIP        (2)
@@ -2293,17 +2304,12 @@ extern "C" {
 #define PURGE_TXCLEAR  (4)
 #define PURGE_RXCLEAR  (8)
 
-/* QueryServiceObjectSecurity */
-#define OWNER_SECURITY_INFORMATION     (0x1L)
-#define GROUP_SECURITY_INFORMATION     (0x2L)
-#define DACL_SECURITY_INFORMATION      (0x4L)
-#define SACL_SECURITY_INFORMATION      (0x8L)
-
 /* ReadEventLog, ReportEvent */
 #define EVENTLOG_FORWARDS_READ (4)
 #define EVENTLOG_BACKWARDS_READ        (8)
 #define EVENTLOG_SEEK_READ     (2)
 #define EVENTLOG_SEQUENTIAL_READ       (1)
+#define EVENTLOG_SUCCESS       (0)
 #define EVENTLOG_ERROR_TYPE    (1)
 #define EVENTLOG_WARNING_TYPE  (2)
 #define EVENTLOG_INFORMATION_TYPE      (4)
@@ -3058,7 +3064,7 @@ extern "C" {
 #define STARTF_USESIZE (2)
 #define STARTF_USECOUNTCHARS   (8)
 #define STARTF_USEFILLATTRIBUTE        (16)
-#define STARTF_RUNFULLSCREEN   (32) 
+#define STARTF_RUNFULLSCREEN   (32)
 #define STARTF_FORCEONFEEDBACK (64)
 #define STARTF_FORCEOFFFEEDBACK        (128)
 #define STARTF_USESTDHANDLES   (256)
@@ -3260,6 +3266,18 @@ extern "C" {
 #define PAN_XHEIGHT_DUCKING_SMALL      (5)
 #define PAN_XHEIGHT_DUCKING_STD        (6)
 #define PAN_XHEIGHT_DUCKING_LARGE      (7)
+#define PANOSE_COUNT   (10)
+#define PAN_FAMILYTYPE_INDEX   (0)
+#define PAN_SERIFSTYLE_INDEX   (1)
+#define PAN_WEIGTH_INDEX       (2)
+#define PAN_PROPORTION_INDEX   (3)
+#define PAN_CONTRAST_INDEX     (4)
+#define PAN_STROKEVARIATION_INDEX      (5)
+#define PAN_ARMSTYLE_INDEX     (6)
+#define PAN_LETTERFORM_INDEX   (7)
+#define PAN_MIDLINE_INDEX      (8)
+#define PAN_XHEIGHT_INDEX      (9)
+#define PAN_CULTURE_LATIN      (0)
 
 /* PALETTENTRY structure */
 #define PC_EXPLICIT    (2)
@@ -4106,10 +4124,21 @@ extern "C" {
 #define SORT_KOREAN_UNICODE    (1)
 
 /* SYSTEM_INFO structure */
+#define PROCESSOR_ARCHITECTURE_IA64 (6)
+#define PROCESSOR_ARCHITECTURE_AMD64 (9)
+#define PROCESSOR_ARCHITECTURE_IA64_ON_WIN64 (10)
 #define PROCESSOR_INTEL_386    (386)
 #define PROCESSOR_INTEL_486    (486)
 #define PROCESSOR_INTEL_PENTIUM        (586)
+#define PROCESSOR_INTEL_PENTIUMII (686)
+#define PROCESSOR_INTEL_PENTIUMIII (786)
+#define PROCESSOR_PPC_601      (601)
+#define PROCESSOR_PPC_603      (603)
+#define PROCESSOR_PPC_604      (604)
+#define PROCESSOR_PPC_620      (620)
+#define PROCESSOR_INTEL_IA64   (2200)
 #define PROCESSOR_MIPS_R4000   (4000)
+#define PROCESSOR_AMD_X8664    (8664)
 #define PROCESSOR_ALPHA_21064  (21064)
 
 /* TAPE_GET_DRIVE_PARAMETERS structure */
@@ -4750,6 +4779,11 @@ extern "C" {
 #define TMPF_TRUETYPE          (0x4)
 #define TMPF_DEVICE            (0x8)
 
+/* NEWTEXTMETRIC structure */
+#define NTM_ITALIC             (0x01)
+#define NTM_BOLD               (0x20)
+#define NTM_REGULAR            (0x40)
+
 /* CopyFileEx options */
 #define COPY_FILE_FAIL_IF_EXISTS       (1)
 
@@ -4995,10 +5029,10 @@ DECLARE_HANDLE(HANDLE);
 
 /* Values for contextflags */
 #define CONTEXT_i386    0x10000
-#define CONTEXT_CONTROL         (CONTEXT_i386 | 1)     
-#define CONTEXT_INTEGER         (CONTEXT_i386 | 2)     
-#define CONTEXT_SEGMENTS        (CONTEXT_i386 | 4)     
-#define CONTEXT_FLOATING_POINT  (CONTEXT_i386 | 8)     
+#define CONTEXT_CONTROL         (CONTEXT_i386 | 1)
+#define CONTEXT_INTEGER         (CONTEXT_i386 | 2)
+#define CONTEXT_SEGMENTS        (CONTEXT_i386 | 4)
+#define CONTEXT_FLOATING_POINT  (CONTEXT_i386 | 8)
 #define CONTEXT_DEBUG_REGISTERS (CONTEXT_i386 | 0x10)
 #define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS)