Add new WIN32K headers
Added: branches/new_headers/reactos/include/win32k/
Added: branches/new_headers/reactos/include/win32k/bitmaps.h
Added: branches/new_headers/reactos/include/win32k/brush.h
Added: branches/new_headers/reactos/include/win32k/cliprgn.h
Added: branches/new_headers/reactos/include/win32k/color.h
Added: branches/new_headers/reactos/include/win32k/coord.h
Added: branches/new_headers/reactos/include/win32k/cursoricon.h
Added: branches/new_headers/reactos/include/win32k/dc.h
Added: branches/new_headers/reactos/include/win32k/debug.h
Added: branches/new_headers/reactos/include/win32k/debug1.h
Added: branches/new_headers/reactos/include/win32k/driver.h
Added: branches/new_headers/reactos/include/win32k/fillshap.h
Added: branches/new_headers/reactos/include/win32k/float.h
Added: branches/new_headers/reactos/include/win32k/font.h
Added: branches/new_headers/reactos/include/win32k/gdiobj.h
Added: branches/new_headers/reactos/include/win32k/icm.h
Added: branches/new_headers/reactos/include/win32k/kapi.h
Added: branches/new_headers/reactos/include/win32k/line.h
Added: branches/new_headers/reactos/include/win32k/math.h
Added: branches/new_headers/reactos/include/win32k/menu.h
Added: branches/new_headers/reactos/include/win32k/metafile.h
Added: branches/new_headers/reactos/include/win32k/misc.h
Added: branches/new_headers/reactos/include/win32k/ntddraw.h
Added: branches/new_headers/reactos/include/win32k/ntuser.h
Added: branches/new_headers/reactos/include/win32k/paint.h
Added: branches/new_headers/reactos/include/win32k/path.h
Added: branches/new_headers/reactos/include/win32k/pen.h
Added: branches/new_headers/reactos/include/win32k/print.h
Added: branches/new_headers/reactos/include/win32k/region.h
Added: branches/new_headers/reactos/include/win32k/text.h
Added: branches/new_headers/reactos/include/win32k/user32/
Added: branches/new_headers/reactos/include/win32k/user32/accel.h
Added: branches/new_headers/reactos/include/win32k/user32/callback.h
Added: branches/new_headers/reactos/include/win32k/user32/regcontrol.h
Added: branches/new_headers/reactos/include/win32k/user32/wininternal.h
Added: branches/new_headers/reactos/include/win32k/wingl.h

Added: branches/new_headers/reactos/include/win32k/bitmaps.h
--- branches/new_headers/reactos/include/win32k/bitmaps.h	2005-05-08 01:39:14 UTC (rev 15100)
+++ branches/new_headers/reactos/include/win32k/bitmaps.h	2005-05-08 01:40:13 UTC (rev 15101)
@@ -0,0 +1,317 @@
+
+#ifndef __WIN32K_BITMAPS_H
+#define __WIN32K_BITMAPS_H
+
+/* GDI logical bitmap object */
+typedef struct _BITMAPOBJ
+{
+  SURFOBJ     SurfObj;
+  FLONG	      flHooks;
+  FLONG       flFlags;
+  SIZE        dimension;   /* For SetBitmapDimension(), do NOT use
+                              to get width/height of bitmap, use
+                              bitmap.bmWidth/bitmap.bmHeight for
+                              that */
+
+  /* For device-independent bitmaps: */
+  DIBSECTION *dib;
+  RGBQUAD *ColorMap;
+} BITMAPOBJ, *PBITMAPOBJ;
+
+#define BITMAPOBJ_IS_APIBITMAP		0x1
+
+/*  Internal interface  */
+
+#define  BITMAPOBJ_AllocBitmap()  \
+  ((HBITMAP) GDIOBJ_AllocObj (GDI_OBJECT_TYPE_BITMAP))
+#define  BITMAPOBJ_FreeBitmap(hBMObj)  \
+  GDIOBJ_FreeObj((HGDIOBJ) hBMObj, GDI_OBJECT_TYPE_BITMAP)
+#define  BITMAPOBJ_LockBitmap(hBMObj) GDIOBJ_LockObj((HGDIOBJ) hBMObj, GDI_OBJECT_TYPE_BITMAP)
+#define  BITMAPOBJ_UnlockBitmap(hBMObj) GDIOBJ_UnlockObj((HGDIOBJ) hBMObj)
+BOOL INTERNAL_CALL BITMAP_Cleanup(PVOID ObjectBody);
+
+INT     FASTCALL BITMAPOBJ_GetWidthBytes (INT bmWidth, INT bpp);
+HBITMAP FASTCALL BITMAPOBJ_CopyBitmap (HBITMAP  hBitmap);
+INT     FASTCALL DIB_GetDIBWidthBytes (INT  width, INT  depth);
+int     STDCALL  DIB_GetDIBImageBytes (INT  width, INT  height, INT  depth);
+INT     FASTCALL DIB_BitmapInfoSize (const BITMAPINFO * info, WORD coloruse);
+INT     STDCALL  BITMAP_GetObject(BITMAPOBJ * bmp, INT count, LPVOID buffer);
+HBITMAP FASTCALL BitmapToSurf(PBITMAPOBJ BitmapObj, HDEV GDIDevice);
+
+HBITMAP FASTCALL IntCreateCompatibleBitmap(PDC Dc, INT Width, INT Height);
+
+/*  User Entry Points  */
+BOOL
+STDCALL
+NtGdiBitBlt (
+	HDC	hDCDest,
+	INT	XDest,
+	INT	YDest,
+	INT	Width,
+	INT	Height,
+	HDC	hDCSrc,
+	INT	XSrc,
+	INT	YSrc,
+	DWORD	ROP
+	);
+HBITMAP
+STDCALL
+NtGdiCreateBitmap (
+	INT		Width,
+	INT		Height,
+	UINT		Planes,
+	UINT		BitsPerPel,
+	CONST VOID	* Bits
+	);
+HBITMAP
+STDCALL
+NtGdiCreateCompatibleBitmap (
+	HDC	hDC,
+	INT	Width,
+	INT	Height
+	);
+HBITMAP
+STDCALL
+NtGdiCreateBitmapIndirect (
+	CONST BITMAP	* BM
+	);
+HBITMAP
+STDCALL
+NtGdiCreateDIBitmap (
+	HDC			hDC,
+	CONST BITMAPINFOHEADER	* bmih,
+	DWORD			Init,
+	CONST VOID		* bInit,
+	CONST BITMAPINFO	* bmi,
+	UINT			Usage
+	);
+HBITMAP
+STDCALL
+NtGdiCreateDIBSection (
+	HDC			hDC,
+	CONST BITMAPINFO	* bmi,
+	UINT			Usage,
+	VOID			* Bits,
+	HANDLE			hSection,
+	DWORD			dwOffset
+	);
+HBITMAP
+STDCALL
+NtGdiCreateDiscardableBitmap (
+	HDC	hDC,
+	INT	Width,
+	INT	Height
+	);
+BOOL
+STDCALL
+NtGdiExtFloodFill (
+	HDC		hDC,
+	INT		XStart,
+	INT		YStart,
+	COLORREF	Color,
+	UINT		FillType
+	);
+BOOL
+STDCALL
+NtGdiFloodFill (
+	HDC		hDC,
+	INT		XStart,
+	INT		YStart,
+	COLORREF	Fill
+	);
+LONG
+STDCALL
+NtGdiGetBitmapBits (
+	HBITMAP	hBitmap,
+	LONG	Buffer,
+	LPVOID	Bits
+	);
+BOOL
+STDCALL
+NtGdiGetBitmapDimensionEx (
+	HBITMAP	hBitmap,
+	LPSIZE	Dimension
+	);
+UINT
+STDCALL
+NtGdiGetDIBColorTable (
+	HDC	hDC,
+	UINT	StartIndex,
+	UINT	Entries,
+	RGBQUAD	* Colors
+	);
+INT
+STDCALL
+NtGdiGetDIBits (
+	HDC		hDC,
+	HBITMAP		hBitmap,
+	UINT		StartScan,
+	UINT		ScanLines,
+	LPVOID		Bits,
+	LPBITMAPINFO	bi,
+	UINT		Usage
+	);
+COLORREF
+STDCALL
+NtGdiGetPixel (
+	HDC	hDC,
+	INT	XPos,
+	INT	YPos
+	);
+BOOL
+STDCALL
+NtGdiGradientFill (
+	HDC hdc,
+	PTRIVERTEX pVertex,
+	ULONG uVertex,
+	PVOID pMesh,
+	ULONG uMesh,
+	ULONG ulMode
+	);
+BOOL
+STDCALL
+NtGdiMaskBlt (
+	HDC	hDCDest,
+	INT	XDest,
+	INT	YDest,
+	INT	Width,
+	INT	Height,
+	HDC	hDCSrc,
+	INT	XSrc,
+	INT	YSrc,
+	HBITMAP	hMaskBitmap,
+	INT	xMask,
+	INT	yMask,
+	DWORD	ROP
+	);
+BOOL
+STDCALL
+NtGdiPlgBlt (
+	HDC		hDCDest,
+	CONST POINT	* Point,
+	HDC		hDCSrc,
+	INT		XSrc,
+	INT		YSrc,
+	INT		Width,
+	INT		Height,
+	HBITMAP		hMaskBitmap,
+	INT		xMask,
+	INT		yMask
+	);
+LONG
+STDCALL
+NtGdiSetBitmapBits (
+	HBITMAP		hBitmap,
+	DWORD		Bytes,
+	CONST VOID	* Bits
+	);
+BOOL
+STDCALL
+NtGdiSetBitmapDimensionEx (
+	HBITMAP	hBitmap,
+	INT	Width,
+	INT	Height,
+	LPSIZE	Size
+	);
+UINT
+STDCALL
+NtGdiSetDIBColorTable (
+	HDC		hDC,
+	UINT		StartIndex,
+	UINT		Entries,
+	CONST RGBQUAD	* Colors
+	);
+INT
+STDCALL
+NtGdiSetDIBits (
+	HDC			hDC,
+	HBITMAP			hBitmap,
+	UINT			StartScan,
+	UINT			ScanLines,
+	CONST VOID		* Bits,
+	CONST BITMAPINFO	* bmi,
+	UINT			ColorUse
+	);
+INT
+STDCALL
+NtGdiSetDIBitsToDevice (
+	HDC			hDC,
+	INT			XDest,
+	INT			YDest,
+	DWORD			Width,
+	DWORD			Height,
+	INT			XSrc,
+	INT			YSrc,
+	UINT			StartScan,
+	UINT			ScanLines,
+	CONST VOID		* Bits,
+	CONST BITMAPINFO	* bmi,
+	UINT			ColorUse
+	);
+COLORREF
+STDCALL
+NtGdiSetPixel (
+	HDC		hDC,
+	INT		X,
+	INT		Y,
+	COLORREF	Color
+	);
+BOOL
+STDCALL
+NtGdiSetPixelV (
+	HDC		hDC,
+	INT		X,
+	INT		Y,
+	COLORREF	Color
+	);
+BOOL
+STDCALL
+NtGdiStretchBlt (
+	HDC	hDCDest,
+	INT	XOriginDest,
+	INT	YOriginDest,
+	INT	WidthDest,
+	INT	HeightDest,
+	HDC	hDCSrc,
+	INT	XOriginSrc,
+	INT	YOriginSrc,
+	INT	WidthSrc,
+	INT	HeightSrc,
+	DWORD	ROP
+	);
+INT
+STDCALL
+NtGdiStretchDIBits (
+	HDC			hDC,
+	INT			XDest,
+	INT			YDest,
+	INT			DestWidth,
+	INT			DestHeight,
+	INT			XSrc,
+	INT			YSrc,
+	INT			SrcWidth,
+	INT			SrcHeight,
+	CONST VOID		* Bits,
+	CONST BITMAPINFO	* BitsInfo,
+	UINT			Usage,
+	DWORD			ROP
+	);
+
+BOOL
+STDCALL
+NtGdiTransparentBlt(
+	HDC			hdcDst,
+	INT			xDst,
+	INT			yDst,
+	INT			cxDst,
+	INT			cyDst,
+	HDC			hdcSrc,
+	INT			xSrc,
+	INT			ySrc,
+	INT			cxSrc,
+	INT			cySrc,
+	COLORREF	TransColor
+	);
+
+#endif
+

Added: branches/new_headers/reactos/include/win32k/brush.h
--- branches/new_headers/reactos/include/win32k/brush.h	2005-05-08 01:39:14 UTC (rev 15100)
+++ branches/new_headers/reactos/include/win32k/brush.h	2005-05-08 01:40:13 UTC (rev 15101)
@@ -0,0 +1,146 @@
+#ifndef __WIN32K_BRUSH_H
+#define __WIN32K_BRUSH_H
+
+/* Internal interface */
+
+#define NB_HATCH_STYLES  6
+
+/*
+ * The layout of this structure is taken from "Windows Graphics Programming"
+ * book written by Feng Yuan.
+ *
+ * DON'T MODIFY THIS STRUCTURE UNLESS REALLY NEEDED AND EVEN THEN ASK ON
+ * A MAILING LIST FIRST.
+ */
+
+typedef struct
+{
+   ULONG AttrFlags;
+   COLORREF lbColor;
+} BRUSHATTR, *PBRUSHATTR;
+
+typedef struct
+{
+   ULONG ulStyle;
+   HBITMAP hbmPattern;
+   HANDLE hbmClient;
+   ULONG flAttrs;
+
+   ULONG ulBrushUnique;
+   BRUSHATTR *pBrushAttr;
+   BRUSHATTR BrushAttr;
+   POINT ptOrigin;
+   ULONG bCacheGrabbed;
+   COLORREF crBack;
+   COLORREF crFore;
+   ULONG ulPalTime;
+   ULONG ulSurfTime;
+   PVOID ulRealization;
+   ULONG Unknown4C[3];
+   POINT ptPenWidth;
+   ULONG ulPenStyle;
+   DWORD *pStyle;
+   ULONG dwStyleCount;
+   ULONG Unknown6C;
+} GDIBRUSHOBJ, *PGDIBRUSHOBJ;
+
+typedef struct
+{
+   BRUSHOBJ BrushObject;
+   PGDIBRUSHOBJ GdiBrushObject;
+   XLATEOBJ *XlateObject;
+} GDIBRUSHINST, *PGDIBRUSHINST;
+
+/* GDI Brush Attributes */
+
+#define GDIBRUSH_NEED_BK_CLR		0x0002 /* Background color is needed */
+#define GDIBRUSH_DITHER_OK		0x0004 /* Allow color dithering */
+#define GDIBRUSH_IS_SOLID		0x0010 /* Solid brush */
+#define GDIBRUSH_IS_HATCH		0x0020 /* Hatch brush */
+#define GDIBRUSH_IS_BITMAP		0x0040 /* DDB pattern brush */
+#define GDIBRUSH_IS_DIB			0x0080 /* DIB pattern brush */ 
+#define GDIBRUSH_IS_NULL		0x0100 /* Null/hollow brush */
+#define GDIBRUSH_IS_GLOBAL		0x0200 /* Stock objects */
+#define GDIBRUSH_IS_PEN			0x0400 /* Pen */
+#define GDIBRUSH_IS_OLDSTYLEPEN		0x0800 /* Geometric pen */
+#define GDIBRUSH_IS_MASKING		0x8000 /* Pattern bitmap is used as transparent mask (?) */
+#define GDIBRUSH_CACHED_IS_SOLID	0x80000000 
+
+#define  BRUSHOBJ_AllocBrush() ((HBRUSH) GDIOBJ_AllocObj (GDI_OBJECT_TYPE_BRUSH))
+#define  BRUSHOBJ_FreeBrush(hBrush) GDIOBJ_FreeObj((HGDIOBJ)hBrush, GDI_OBJECT_TYPE_BRUSH)
+#define  BRUSHOBJ_LockBrush(hBrush) ((PGDIBRUSHOBJ)GDIOBJ_LockObj((HGDIOBJ)hBrush, GDI_OBJECT_TYPE_BRUSH))
+#define  BRUSHOBJ_UnlockBrush(hBrush) GDIOBJ_UnlockObj((HGDIOBJ)hBrush)
+BOOL INTERNAL_CALL BRUSH_Cleanup(PVOID ObjectBody);
+
+#ifdef __USE_W32API
+typedef struct _PATRECT {
+	RECT r;
+	HBRUSH hBrush;
+} PATRECT, * PPATRECT;
+#endif
+
+HBRUSH STDCALL
+NtGdiCreateBrushIndirect(
+   CONST LOGBRUSH *LogBrush);
+
+HBRUSH STDCALL
+NtGdiCreateDIBPatternBrush(
+   HGLOBAL hDIBPacked,
+   UINT ColorSpec);
+
+HBRUSH STDCALL
+NtGdiCreateDIBPatternBrushPt(
+   CONST VOID *PackedDIB,
+   UINT Usage);
+
+HBRUSH STDCALL
+NtGdiCreateHatchBrush(
+   INT Style,
+   COLORREF Color);
+
+HBRUSH STDCALL
+NtGdiCreatePatternBrush(
+   HBITMAP hBitmap);
+
+HBRUSH STDCALL
+NtGdiCreateSolidBrush(
+   COLORREF Color);
+
+BOOL STDCALL
+NtGdiFixBrushOrgEx(
+   VOID);
+
+BOOL STDCALL
+NtGdiPatBlt(
+   HDC hDC,
+   INT XLeft,
+   INT YLeft,
+   INT Width,
+   INT Height,
+   DWORD ROP);
+
+BOOL STDCALL
+NtGdiPolyPatBlt(
+   HDC hDC,
+   DWORD dwRop,
+   PPATRECT pRects,
+   INT cRects,
+   ULONG Reserved);
+
+BOOL STDCALL
+NtGdiPatBlt(
+   HDC hDC,
+   INT XLeft,
+   INT YLeft,
+   INT Width,
+   INT Height,
+   DWORD ROP);
+
+BOOL STDCALL
+NtGdiSetBrushOrgEx(
+   HDC hDC,
+   INT XOrg,
+   INT YOrg,
+   LPPOINT Point);
+
+#endif

Added: branches/new_headers/reactos/include/win32k/cliprgn.h
--- branches/new_headers/reactos/include/win32k/cliprgn.h	2005-05-08 01:39:14 UTC (rev 15100)
+++ branches/new_headers/reactos/include/win32k/cliprgn.h	2005-05-08 01:40:13 UTC (rev 15101)
@@ -0,0 +1,81 @@
+#ifndef _WIN32K_CLIPRGN_H
+#define _WIN32K_CLIPRGN_H
+
+HRGN WINAPI SaveVisRgn(HDC hdc);
+INT WINAPI SelectVisRgn(HDC hdc, HRGN hrgn);
+
+int
+STDCALL
+NtGdiExcludeClipRect (
+	HDC	hDC,
+	int	LeftRect,
+	int	TopRect,
+	int	RightRect,
+	int	BottomRect
+	);
+int
+STDCALL
+NtGdiExtSelectClipRgn (
+	HDC	hDC,
+	HRGN	hrgn,
+	int	fnMode
+	);
+int
+STDCALL
+NtGdiGetClipBox (
+	HDC	hDC,
+	LPRECT	rc
+	);
+int
+STDCALL
+NtGdiGetMetaRgn (
+	HDC	hDC,
+	HRGN	hrgn
+	);
+int
+STDCALL
+NtGdiIntersectClipRect (
+	HDC	hDC,
+	int	LeftRect,
+	int	TopRect,
+	int	RightRect,
+	int	BottomRect
+	);
+int
+STDCALL
+NtGdiOffsetClipRgn (
+	HDC	hDC,
+	int	XOffset,
+	int	YOffset
+	);
+BOOL
+STDCALL
+NtGdiPtVisible (
+	HDC	hDC,
+	int	X,
+	int	Y
+	);
+BOOL
+STDCALL
+NtGdiRectVisible (
+	HDC		hDC,
+	CONST PRECT	rc
+	);
+BOOL
+STDCALL
+NtGdiSelectClipPath (
+	HDC	hDC,
+	int	Mode
+	);
+int
+STDCALL
+NtGdiSelectClipRgn (
+	HDC	hDC,
+	HRGN	hrgn
+	);
+int
+STDCALL
+NtGdiSetMetaRgn (
+	HDC	hDC
+	);
+#endif

Added: branches/new_headers/reactos/include/win32k/color.h
--- branches/new_headers/reactos/include/win32k/color.h	2005-05-08 01:39:14 UTC (rev 15100)
+++ branches/new_headers/reactos/include/win32k/color.h	2005-05-08 01:40:13 UTC (rev 15101)
@@ -0,0 +1,116 @@
+#ifndef __WIN32K_COLOR_H
+#define __WIN32K_COLOR_H
+
+#ifndef CLR_INVALID
+#define CLR_INVALID         0xffffffff
+#endif
+#define PC_SYS_USED     0x80		/* palentry is used (both system and logical) */
+#define PC_SYS_RESERVED 0x40		/* system palentry is not to be mapped to */
+#define PC_SYS_MAPPED   0x10		/* logical palentry is a direct alias for system palentry */
+
+BOOL
+STDCALL
+NtGdiAnimatePalette (
+	HPALETTE		hpal,
+	UINT			StartIndex,
+	UINT			Entries,
+	CONST PPALETTEENTRY	ppe
+	);
+HPALETTE
+STDCALL
+NtGdiCreateHalftonePalette (
+	HDC	hDC
+	);
+HPALETTE
+STDCALL
+NtGdiCreatePalette (
+	CONST PLOGPALETTE	lgpl
+	);
+BOOL
+STDCALL
+NtGdiGetColorAdjustment (
+	HDC			hDC,
+	LPCOLORADJUSTMENT	ca
+	);
+COLORREF
+STDCALL
+NtGdiGetNearestColor (
+	HDC		hDC,
+	COLORREF	Color
+	);
+UINT
+STDCALL
+NtGdiGetNearestPaletteIndex (
+	HPALETTE	hpal,
+	COLORREF	Color
+	);
+UINT
+STDCALL
+NtGdiGetPaletteEntries (
+	HPALETTE	hpal,
+	UINT		StartIndex,
+	UINT		Entries,
+	LPPALETTEENTRY	pe
+	);
+UINT
+STDCALL
+NtGdiGetSystemPaletteEntries (
+	HDC		hDC,
+	UINT		StartIndex,
+	UINT		Entries,
+	LPPALETTEENTRY	pe
+	);
+UINT
+STDCALL
+NtGdiGetSystemPaletteUse (
+	HDC	hDC
+	);
+UINT
+STDCALL
+NtGdiRealizePalette (
+	HDC	hDC
+	);
+BOOL
+STDCALL
+NtGdiResizePalette (
+	HPALETTE	hpal,
+	UINT		Entries
+	);
+HPALETTE
+STDCALL
+NtGdiSelectPalette (
+	HDC		hDC,
+	HPALETTE	hpal,
+	BOOL		ForceBackground
+	);
+BOOL
+STDCALL
+NtGdiSetColorAdjustment (
+	HDC			hDC,
+	CONST LPCOLORADJUSTMENT	ca
+	);
+UINT
+STDCALL
+NtGdiSetPaletteEntries (
+	HPALETTE		hpal,
+	UINT			Start,
+	UINT			Entries,
+	CONST LPPALETTEENTRY	pe
+	);
+UINT
+STDCALL
+NtGdiSetSystemPaletteUse (
+	HDC	hDC,
+	UINT	Usage
+	);
+BOOL
+STDCALL
+NtGdiUnrealizeObject (
+	HGDIOBJ	hgdiobj
+	);
+BOOL
+STDCALL
+NtGdiUpdateColors (
+	HDC	hDC
+	);
+#endif

Added: branches/new_headers/reactos/include/win32k/coord.h
--- branches/new_headers/reactos/include/win32k/coord.h	2005-05-08 01:39:14 UTC (rev 15100)
+++ branches/new_headers/reactos/include/win32k/coord.h	2005-05-08 01:40:13 UTC (rev 15101)
@@ -0,0 +1,151 @@
+#ifndef __WIN32K_COORD_H
+#define __WIN32K_COORD_H
+
+BOOL
+STDCALL
+NtGdiCombineTransform (
+	LPXFORM		XformResult,
+	CONST LPXFORM	xform1,
+	CONST LPXFORM	xform2
+	);
+
+VOID
+FASTCALL
+IntDPtoLP ( PDC dc, LPPOINT Points, INT Count );
+
+VOID
+FASTCALL
+CoordDPtoLP ( PDC Dc, LPPOINT Point );
+
+BOOL
+STDCALL
+NtGdiDPtoLP (
+	HDC	hDC,
+	LPPOINT	Points,
+	int	Count
+	);
+
+int
+FASTCALL
+IntGetGraphicsMode ( PDC dc );
+
+int
+STDCALL
+NtGdiGetGraphicsMode ( HDC hDC );
+
+BOOL
+STDCALL
+NtGdiGetWorldTransform (
+	HDC	hDC,
+	LPXFORM	Xform
+	);
+
+VOID
+FASTCALL
+CoordLPtoDP ( PDC Dc, LPPOINT Point );
+
+VOID
+FASTCALL
+IntLPtoDP ( PDC dc, LPPOINT Points, INT Count );
+
+BOOL
+STDCALL
+NtGdiLPtoDP (
+	HDC	hDC,
+	LPPOINT	Points,
+	int	Count
+	);
+BOOL
+STDCALL
+NtGdiModifyWorldTransform (
+	HDC		hDC,
+	CONST LPXFORM	Xform,
+	DWORD		Mode
+	);
+BOOL
+STDCALL
+NtGdiOffsetViewportOrgEx (
+	HDC	hDC,
+	int	XOffset,
+	int	YOffset,
+	LPPOINT	Point
+	);
+BOOL
+STDCALL
+NtGdiOffsetWindowOrgEx (
+	HDC	hDC,
+	int	XOffset,
+	int	YOffset,
+	LPPOINT	Point
+	);
+BOOL
+STDCALL
+NtGdiScaleViewportExtEx (
+	HDC	hDC,
+	int	Xnum,
+	int	Xdenom,
+	int	Ynum,
+	int	Ydenom,
+	LPSIZE	Size
+	);
+BOOL
+STDCALL
+NtGdiScaleWindowExtEx (
+	HDC	hDC,
+	int	Xnum,
+	int	Xdenom,
+	int	Ynum,
+	int	Ydenom,
+	LPSIZE  Size
+	);
+int
+STDCALL
+NtGdiSetGraphicsMode (
+	HDC	hDC,
+	int	Mode
+	);
+int
+STDCALL
+NtGdiSetMapMode (
+	HDC	hDC,
+	int	MapMode
+	);
+BOOL
+STDCALL
+NtGdiSetViewportExtEx (
+	HDC	hDC,
+	int	XExtent,
+	int	YExtent,
+	LPSIZE	Size
+	);
+BOOL
+STDCALL
+NtGdiSetViewportOrgEx (
+	HDC	hDC,
+	int	X,
+	int	Y,
+	LPPOINT	Point
+	);
+BOOL
+STDCALL
+NtGdiSetWindowExtEx (
+	HDC	hDC,
+	int	XExtent,
+	int	YExtent,
+	LPSIZE	Size
+	);
+BOOL
+STDCALL
+NtGdiSetWindowOrgEx (
+	HDC	hDC,
+	int	X,
+	int	Y,
+	LPPOINT	Point
+	);
+BOOL
+STDCALL
+NtGdiSetWorldTransform (
+	HDC		hDC,
+	CONST LPXFORM	Xform
+	);
+#endif

Added: branches/new_headers/reactos/include/win32k/cursoricon.h
--- branches/new_headers/reactos/include/win32k/cursoricon.h	2005-05-08 01:39:14 UTC (rev 15100)
+++ branches/new_headers/reactos/include/win32k/cursoricon.h	2005-05-08 01:40:13 UTC (rev 15101)
@@ -0,0 +1,95 @@
+
+#ifndef __WIN32K_CURSORICON_H
+#define __WIN32K_CURSORICON_H
+
+#include <pshpack1.h>
+
+/* Structures for reading icon/cursor files and resources */
+// Structures for reading icon files and resources 
+typedef struct _ICONIMAGE
+{
+   BITMAPINFOHEADER   icHeader;      // DIB header
+   RGBQUAD         icColors[1];   // Color table
+   BYTE            icXOR[1];      // DIB bits for XOR mask
+   BYTE            icAND[1];      // DIB bits for AND mask
+} ICONIMAGE, *LPICONIMAGE;
+
+typedef struct _CURSORIMAGE
+{
+   BITMAPINFOHEADER   icHeader;      // DIB header
+   RGBQUAD         icColors[1];   // Color table
+   BYTE            icXOR[1];      // DIB bits for XOR mask
+   BYTE            icAND[1];      // DIB bits for AND mask
+} CURSORIMAGE, *LPCURSORIMAGE;
+
+typedef struct
+{
+    BYTE   bWidth;
+    BYTE   bHeight;
+    BYTE   bColorCount;
+    BYTE   bReserved;
+} ICONRESDIR;
+
+typedef struct
+{
+    WORD   wWidth;
+    WORD   wHeight;
+} CURSORRESDIR;
+
+typedef struct
+{
+    WORD   wPlanes;				// Number of Color Planes in the XOR image
+    WORD   wBitCount;			// Bits per pixel in the XOR image
+} ICONDIR;
+
+typedef struct
+{
+    WORD   wXHotspot;				// Number of Color Planes in the XOR image
+    WORD   wYHotspot;			// Bits per pixel in the XOR image
+} CURSORDIR;
+
+typedef struct
+{
+    BYTE   bWidth;				// Width, in pixels, of the icon image
+    BYTE   bHeight;				// Height, in pixels, of the icon image
+    BYTE   bColorCount;			// Number of colors in image (0 if >=8bpp)
+    BYTE   bReserved;			// Reserved ( must be 0)
+	union
+    { ICONDIR icon;
+      CURSORDIR  cursor;
+    } Info;
+    DWORD  dwBytesInRes;		// How many bytes in this resource?
+    DWORD  dwImageOffset;		// Where in the file is this image?
+} CURSORICONDIRENTRY;
+
+typedef struct
+{
+    WORD				idReserved;		// Reserved (must be 0)
+    WORD				idType;			// Resource Type (1 for icons, 0 for cursors)
+    WORD				idCount;		// How many images?
+    CURSORICONDIRENTRY  idEntries[1];   // An entry for idCount number of images
+} CURSORICONDIR;
+
+typedef struct
+{  
+	union
+    { ICONRESDIR icon;
+      CURSORRESDIR  cursor;
+    } ResInfo;
+	WORD   wPlanes;              // Color Planes
+	WORD   wBitCount;            // Bits per pixel
+	DWORD  dwBytesInRes;         // how many bytes in this resource?
+	WORD   nID;                  // the ID
+} GRPCURSORICONDIRENTRY;
+
+typedef struct 
+{
+   WORD            idReserved;   // Reserved (must be 0)
+   WORD            idType;       // Resource type (1 for icons)
+   WORD            idCount;      // How many images?
+   GRPCURSORICONDIRENTRY   idEntries[1]; // The entries for each image
+} GRPCURSORICONDIR;
+
+#include <poppack.h>
+
+#endif

Added: branches/new_headers/reactos/include/win32k/dc.h
--- branches/new_headers/reactos/include/win32k/dc.h	2005-05-08 01:39:14 UTC (rev 15100)
+++ branches/new_headers/reactos/include/win32k/dc.h	2005-05-08 01:40:13 UTC (rev 15101)
@@ -0,0 +1,228 @@
+
+#ifndef __WIN32K_DC_H
+#define __WIN32K_DC_H
+
+typedef struct _WIN_DC_INFO
+{
+  int  flags;
+  HRGN  hClipRgn;     /* Clip region (may be 0) */
+  HRGN  hVisRgn;      /* Visible region (must never be 0) */
+  HRGN  hGCClipRgn;   /* GC clip region (ClipRgn AND VisRgn) */
+  HPEN  hPen;
+  HBRUSH  hBrush;
+  HFONT  hFont;
+  HBITMAP  hBitmap;
+  HBITMAP  hFirstBitmap; /* Bitmap selected at creation of the DC */
+
+/* #if 0 */
+    HANDLE      hDevice;
+    HPALETTE    hPalette;
+
+    GdiPath       path;
+/* #endif */
+
+  WORD  ROPmode;
+  WORD  polyFillMode;
+  WORD  stretchBltMode;
+  WORD  relAbsMode;
+  WORD  backgroundMode;
+  COLORREF  backgroundColor;
+  COLORREF  textColor;
+
+  short  brushOrgX;
+  short  brushOrgY;
+
+  WORD  textAlign;         /* Text alignment from SetTextAlign() */
+  short  charExtra;         /* Spacing from SetTextCharacterExtra() */
+  short  breakTotalExtra;   /* Total extra space for justification */
+  short  breakCount;        /* Break char. count */
+  short  breakExtra;        /* breakTotalExtra / breakCount */
+  short  breakRem;          /* breakTotalExtra % breakCount */
+
+  RECT   totalExtent;
+  BYTE   bitsPerPixel;
+
+  INT  MapMode;
+  INT  GraphicsMode;      /* Graphics mode */
+  INT  DCOrgX;            /* DC origin */
+  INT  DCOrgY;
+
+#if 0
+    FARPROC     lpfnPrint;         /* AbortProc for Printing */
+#endif
+
+  INT  CursPosX;          /* Current position */
+  INT  CursPosY;
+  INT  ArcDirection;
+
+  XFORM  xformWorld2Wnd;    /* World-to-window transformation */
+  XFORM  xformWorld2Vport;  /* World-to-viewport transformation */
[truncated at 1000 lines; 4556 more skipped]