From 72e2fbe6f85ac5162741984f1abb9d493991a67c Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Tue, 17 Mar 2009 20:08:53 +0000 Subject: [PATCH] Don't use C++ comment style in C headers. See issue #4284 for more details. svn path=/trunk/; revision=40076 --- reactos/include/reactos/win32k/ntgdihdl.h | 58 +++++++++++------------ 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/reactos/include/reactos/win32k/ntgdihdl.h b/reactos/include/reactos/win32k/ntgdihdl.h index c9f73c23074..c48e768e02f 100644 --- a/reactos/include/reactos/win32k/ntgdihdl.h +++ b/reactos/include/reactos/win32k/ntgdihdl.h @@ -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 @@ typedef struct _GDI_TABLE_ENTRY { 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 +/* + * 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. + 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 @@ typedef struct _DC_ATTR 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;