Author: tkreuzer
Date: Tue Mar 17 23:08:53 2009
New Revision: 40076
URL:
http://svn.reactos.org/svn/reactos?rev=40076&view=rev
Log:
Don't use C++ comment style in C headers.
See issue #4284 for more details.
Modified:
trunk/reactos/include/reactos/win32k/ntgdihdl.h
Modified: trunk/reactos/include/reactos/win32k/ntgdihdl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntg…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntgdihdl.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/win32k/ntgdihdl.h [iso-8859-1] Tue Mar 17 23:08:53 2009
@@ -42,10 +42,10 @@
#define GDI_ENTRY_UPPER_SHIFT 16
/* GDI Entry Flags */
-#define GDI_ENTRY_UNDELETABLE 1 // Mark Object as nonremovable
-#define GDI_ENTRY_DELETING 2 // Used when deleting Font Objects
-#define GDI_ENTRY_VALIDATE_VIS 4 // Validating Visible region data
-#define GDI_ENTRY_ALOC_LAL 0x80 // Object Allocated with Look aside List
+#define GDI_ENTRY_UNDELETABLE 1 /* Mark Object as nonremovable */
+#define GDI_ENTRY_DELETING 2 /* Used when deleting Font Objects */
+#define GDI_ENTRY_VALIDATE_VIS 4 /* Validating Visible region data */
+#define GDI_ENTRY_ALOC_LAL 0x80 /* Object Allocated with Look aside List */
/*! \defgroup GDI object types
*
@@ -123,16 +123,16 @@
/* Gdi Object Handle Managment Pid lock masking sets. */
/* Ref: used with DxEngSetDCOwner */
-#define GDI_OBJ_HMGR_PUBLIC 0 // Public owner, Open access?
-#define GDI_OBJ_HMGR_POWNED 0x80000002 // Set to current owner.
-#define GDI_OBJ_HMGR_NONE 0x80000012 // No owner, Open access?
-#define GDI_OBJ_HMGR_RESTRICTED 0x80000022 // Restricted?
+#define GDI_OBJ_HMGR_PUBLIC 0 /* Public owner, Open access? */
+#define GDI_OBJ_HMGR_POWNED 0x80000002 /* Set to current owner. */
+#define GDI_OBJ_HMGR_NONE 0x80000012 /* No owner, Open access? */
+#define GDI_OBJ_HMGR_RESTRICTED 0x80000022 /* Restricted? */
/* DC OBJ Types */
-#define DC_TYPE_DIRECT 0 // normal device context
-#define DC_TYPE_MEMORY 1 // memory device context
-#define DC_TYPE_INFO 2 // information context
+#define DC_TYPE_DIRECT 0 /* normal device context */
+#define DC_TYPE_MEMORY 1 /* memory device context */
+#define DC_TYPE_INFO 2 /* information context */
/* DC OBJ Flags */
#define DC_FLAG_DISPLAY 0x0001
@@ -173,8 +173,8 @@
#define DC_FONTTEXT_DIRTY 0x00400000
/* DC_ATTR LCD Flags */
-#define LDC_LDC 0x00000001 // (init) local DC other than a normal DC
-#define LDC_EMFLDC 0x00000002 // Enhance Meta File local DC
+#define LDC_LDC 0x00000001 /* (init) local DC other than a normal DC */
+#define LDC_EMFLDC 0x00000002 /* Enhance Meta File local DC */
#define LDC_SAPCALLBACK 0x00000020
#define LDC_INIT_DOCUMENT 0x00000040
#define LDC_INIT_PAGE 0x00000080
@@ -216,37 +216,37 @@
{
PVOID KernelData; /* Points to the kernel mode structure */
DWORD ProcessId; /* process id that created the object, 0 for stock objects */
- union{ // temp union structure.
+ union{ /* temp union structure. */
LONG Type; /* the first 16 bit is the object type including the stock obj
flag, the last 16 bits is just the object type */
struct{
- SHORT FullUnique; // unique
- CHAR ObjectType; // objt
- CHAR Flags; // Flags
+ SHORT FullUnique; /* unique */
+ CHAR ObjectType; /* objt */
+ CHAR Flags; /* Flags */
};};
PVOID UserData; /* pUser Points to the user mode structure, usually NULL though */
} GDI_TABLE_ENTRY, *PGDI_TABLE_ENTRY;
-//
-// User space only structure!
-//
-typedef struct __GDI_SHARED_HANDLE_TABLE // Must match win32k/include/gdiobj.h
-{
- GDI_TABLE_ENTRY Entries[GDI_HANDLE_COUNT]; // Handle table.
- DEVCAPS DevCaps; // Shared device capabilities.
- FLONG flDeviceUniq; // Device settings uniqueness.
- PVOID pvLangPack; // Lanuage Pack.
- CFONT cfPublic[GDI_CFONT_MAX]; // Public Fonts.
+/*
+ * User space only structure!
+ */
+typedef struct __GDI_SHARED_HANDLE_TABLE /* Must match win32k/include/gdiobj.h */
+{
+ GDI_TABLE_ENTRY Entries[GDI_HANDLE_COUNT]; /* Handle table. */
+ DEVCAPS DevCaps; /* Shared device capabilities. */
+ FLONG flDeviceUniq; /* Device settings uniqueness. */
+ PVOID pvLangPack; /* Lanuage Pack. */
+ CFONT cfPublic[GDI_CFONT_MAX]; /* Public Fonts. */
DWORD dwCFCount;
} GDI_SHARED_HANDLE_TABLE, *PGDI_SHARED_HANDLE_TABLE;
typedef struct _RGN_ATTR
{
ULONG AttrFlags;
- ULONG Flags; // Clipping region's complexity. NULL, SIMPLE &
COMPLEXREGION
+ ULONG Flags; /* Clipping region's complexity. NULL, SIMPLE &
COMPLEXREGION */
RECTL Rect;
} RGN_ATTR,*PRGN_ATTR;
-// Local DC structure (_DC_ATTR) PVOID pvLDC;
+/* Local DC structure (_DC_ATTR) PVOID pvLDC; */
typedef struct _LDC
{
HDC hDC;
@@ -326,7 +326,7 @@
RGN_ATTR VisRectRegion;
} DC_ATTR, *PDC_ATTR;
-typedef struct _BRUSH_ATTR // Used with pen too.
+typedef struct _BRUSH_ATTR /* Used with pen too. */
{
FLONG AttrFlags;
COLORREF lbColor;