mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
finished win32k skeleton
svn path=/trunk/; revision=601
This commit is contained in:
parent
b3995a1493
commit
c69899317f
23 changed files with 1161 additions and 266 deletions
|
@ -18,6 +18,9 @@ HBITMAP W32kCreateBitmap(INT Width,
|
||||||
UINT Planes,
|
UINT Planes,
|
||||||
UINT BitsPerPel,
|
UINT BitsPerPel,
|
||||||
CONST VOID *Bits);
|
CONST VOID *Bits);
|
||||||
|
HBITMAP W32kCreateCompatibleBitmap(HDC hDC,
|
||||||
|
INT Width,
|
||||||
|
INT Height);
|
||||||
HBITMAP W32kCreateBitmapIndirect(CONST BITMAP *BM);
|
HBITMAP W32kCreateBitmapIndirect(CONST BITMAP *BM);
|
||||||
HBITMAP W32kCreateDIBitmap(HDC hDC,
|
HBITMAP W32kCreateDIBitmap(HDC hDC,
|
||||||
CONST BITMAPINFOHEADER *bmih,
|
CONST BITMAPINFOHEADER *bmih,
|
||||||
|
|
|
@ -122,7 +122,12 @@ HDC STDCALL W32kCreateDC(LPCWSTR Driver,
|
||||||
LPCWSTR Device,
|
LPCWSTR Device,
|
||||||
LPCWSTR Output,
|
LPCWSTR Output,
|
||||||
CONST PDEVMODEW InitData);
|
CONST PDEVMODEW InitData);
|
||||||
|
HDC STDCALL W32kCreateIC(LPCWSTR Driver,
|
||||||
|
LPCWSTR Device,
|
||||||
|
LPCWSTR Output,
|
||||||
|
CONST PDEVMODEW DevMode);
|
||||||
BOOL STDCALL W32kDeleteDC(HDC hDC);
|
BOOL STDCALL W32kDeleteDC(HDC hDC);
|
||||||
|
BOOL STDCALL W32kDeleteObject(HGDIOBJ hObject);
|
||||||
INT STDCALL W32kDrawEscape(HDC hDC,
|
INT STDCALL W32kDrawEscape(HDC hDC,
|
||||||
INT nEscape,
|
INT nEscape,
|
||||||
INT cbInput,
|
INT cbInput,
|
||||||
|
@ -145,9 +150,14 @@ BOOL STDCALL W32kGetCurrentPositionEx(HDC hDC, LPPOINT currentPosition);
|
||||||
BOOL STDCALL W32kGetDCOrgEx(HDC hDC, LPPOINT Point);
|
BOOL STDCALL W32kGetDCOrgEx(HDC hDC, LPPOINT Point);
|
||||||
INT STDCALL W32kGetDeviceCaps(HDC hDC, INT Index);
|
INT STDCALL W32kGetDeviceCaps(HDC hDC, INT Index);
|
||||||
INT STDCALL W32kGetMapMode(HDC hDC);
|
INT STDCALL W32kGetMapMode(HDC hDC);
|
||||||
|
INT STDCALL W32kGetObject(HGDIOBJ hGDIObj,
|
||||||
|
INT BufSize,
|
||||||
|
LPVOID Object);
|
||||||
|
DWORD STDCALL W32kGetObjectType(HGDIOBJ hGDIObj);
|
||||||
INT STDCALL W32kGetPolyFillMode(HDC hDC);
|
INT STDCALL W32kGetPolyFillMode(HDC hDC);
|
||||||
INT STDCALL W32kGetRelAbs(HDC hDC);
|
INT STDCALL W32kGetRelAbs(HDC hDC);
|
||||||
INT STDCALL W32kGetROP2(HDC hDC);
|
INT STDCALL W32kGetROP2(HDC hDC);
|
||||||
|
HGDIOBJ STDCALL W32kGetStockObject(INT Object);
|
||||||
INT STDCALL W32kGetStretchBltMode(HDC hDC);
|
INT STDCALL W32kGetStretchBltMode(HDC hDC);
|
||||||
COLORREF STDCALL W32kGetTextColor(HDC hDC);
|
COLORREF STDCALL W32kGetTextColor(HDC hDC);
|
||||||
UINT STDCALL W32kGetTextAlign(HDC hDC);
|
UINT STDCALL W32kGetTextAlign(HDC hDC);
|
||||||
|
|
53
reactos/include/win32k/icm.h
Normal file
53
reactos/include/win32k/icm.h
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
|
||||||
|
#ifndef __WIN32K_ICM_H
|
||||||
|
#define __WIN32K_ICM_H
|
||||||
|
|
||||||
|
BOOL W32kCheckColorsInGamut(HDC hDC,
|
||||||
|
LPVOID RGBTriples,
|
||||||
|
LPVOID Buffer,
|
||||||
|
UINT Count);
|
||||||
|
|
||||||
|
BOOL W32kColorMatchToTarget(HDC hDC,
|
||||||
|
HDC hDCTarget,
|
||||||
|
DWORD Action);
|
||||||
|
|
||||||
|
HCOLORSPACE W32kCreateColorSpace(LPLOGCOLORSPACE LogColorSpace);
|
||||||
|
|
||||||
|
BOOL W32kDeleteColorSpace(HCOLORSPACE hColorSpace);
|
||||||
|
|
||||||
|
INT W32kEnumICMProfiles(HDC hDC,
|
||||||
|
ICMENUMPROC EnumICMProfilesFunc,
|
||||||
|
LPARAM lParam);
|
||||||
|
|
||||||
|
HCOLORSPACE W32kGetColorSpace(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kGetDeviceGammaRamp(HDC hDC,
|
||||||
|
LPVOID Ramp);
|
||||||
|
|
||||||
|
BOOL W32kGetICMProfile(HDC hDC,
|
||||||
|
LPDWORD NameSize,
|
||||||
|
LPWSTR Filename);
|
||||||
|
|
||||||
|
BOOL W32kGetLogColorSpace(HCOLORSPACE hColorSpace,
|
||||||
|
LPLOGCOLORSPACE Buffer,
|
||||||
|
DWORD Size);
|
||||||
|
|
||||||
|
HCOLORSPACE W32kSetColorSpace(HDC hDC,
|
||||||
|
HCOLORSPACE hColorSpace);
|
||||||
|
|
||||||
|
BOOL W32kSetDeviceGammaRamp(HDC hDC,
|
||||||
|
LPVOID Ramp);
|
||||||
|
|
||||||
|
INT W32kSetICMMode(HDC hDC,
|
||||||
|
INT EnableICM);
|
||||||
|
|
||||||
|
BOOL W32kSetICMProfile(HDC hDC,
|
||||||
|
LPWSTR Filename);
|
||||||
|
|
||||||
|
BOOL W32kUpdateICMRegKey(DWORD Reserved,
|
||||||
|
LPWSTR CMID,
|
||||||
|
LPWSTR Filename,
|
||||||
|
UINT Command);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -7,17 +7,17 @@ HENHMETAFILE W32kCloseEnhMetaFile(HDC hDC);
|
||||||
HMETAFILE W32kCloseMetaFile(HDC hDC);
|
HMETAFILE W32kCloseMetaFile(HDC hDC);
|
||||||
|
|
||||||
HENHMETAFILE W32kCopyEnhMetaFile(HENHMETAFILE Src,
|
HENHMETAFILE W32kCopyEnhMetaFile(HENHMETAFILE Src,
|
||||||
LPCTSTR File);
|
LPCWSTR File);
|
||||||
|
|
||||||
HMETAFILE W32kCopyMetaFile(HMETAFILE Src,
|
HMETAFILE W32kCopyMetaFile(HMETAFILE Src,
|
||||||
LPCTSTR File);
|
LPCWSTR File);
|
||||||
|
|
||||||
HDC W32kCreateEnhMetaFile(HDC hDCRef,
|
HDC W32kCreateEnhMetaFile(HDC hDCRef,
|
||||||
LPCTSTR File,
|
LPCWSTR File,
|
||||||
CONST LPRECT Rect,
|
CONST LPRECT Rect,
|
||||||
LPCTSTR Description);
|
LPCWSTR Description);
|
||||||
|
|
||||||
HDC W32kCreateMetaFile(LPCTSTR File);
|
HDC W32kCreateMetaFile(LPCWSTR File);
|
||||||
|
|
||||||
BOOL W32kDeleteEnhMetaFile(HENHMETAFILE emf);
|
BOOL W32kDeleteEnhMetaFile(HENHMETAFILE emf);
|
||||||
|
|
||||||
|
@ -38,8 +38,63 @@ BOOL W32kGdiComment(HDC hDC,
|
||||||
UINT Size,
|
UINT Size,
|
||||||
CONST LPBYTE Data);
|
CONST LPBYTE Data);
|
||||||
|
|
||||||
HENHMETAFILE W32kGetEnhMetaFile(LPCTSTR MetaFile);
|
HENHMETAFILE W32kGetEnhMetaFile(LPCWSTR MetaFile);
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFileBits(HENHMETAFILE hemf,
|
||||||
|
UINT BufSize,
|
||||||
|
LPBYTE Buffer);
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFileDescription(HENHMETAFILE hemf,
|
||||||
|
UINT BufSize,
|
||||||
|
LPWSTR Description);
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFileHeader(HENHMETAFILE hemf,
|
||||||
|
UINT BufSize,
|
||||||
|
LPENHMETAHEADER emh);
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFilePaletteEntries(HENHMETAFILE hemf,
|
||||||
|
UINT Entries,
|
||||||
|
LPPALETTEENTRY pe);
|
||||||
|
|
||||||
|
HMETAFILE W32kGetMetaFile(LPCWSTR MetaFile);
|
||||||
|
|
||||||
|
UINT W32kGetMetaFileBitsEx(HMETAFILE hmf,
|
||||||
|
UINT Size,
|
||||||
|
LPVOID Data);
|
||||||
|
|
||||||
|
UINT W32kGetWinMetaFileBits(HENHMETAFILE hemf,
|
||||||
|
UINT BufSize,
|
||||||
|
LPBYTE Buffer,
|
||||||
|
INT MapMode,
|
||||||
|
HDC Ref);
|
||||||
|
|
||||||
|
BOOL W32kPlayEnhMetaFile(HDC hDC,
|
||||||
|
HENHMETAFILE hemf,
|
||||||
|
CONST PRECT Rect);
|
||||||
|
|
||||||
|
BOOL W32kPlayEnhMetaFileRecord(HDC hDC,
|
||||||
|
LPHANDLETABLE Handletable,
|
||||||
|
CONST ENHMETARECORD *EnhMetaRecord,
|
||||||
|
UINT Handles);
|
||||||
|
|
||||||
|
BOOL W32kPlayMetaFile(HDC hDC,
|
||||||
|
HMETAFILE hmf);
|
||||||
|
|
||||||
|
BOOL W32kPlayMetaFileRecord(HDC hDC,
|
||||||
|
LPHANDLETABLE Handletable,
|
||||||
|
LPMETARECORD MetaRecord,
|
||||||
|
UINT Handles);
|
||||||
|
|
||||||
|
HENHMETAFILE W32kSetEnhMetaFileBits(UINT BufSize,
|
||||||
|
CONST PBYTE Data);
|
||||||
|
|
||||||
|
HMETAFILE W32kSetMetaFileBitsEx(UINT Size,
|
||||||
|
CONST PBYTE Data);
|
||||||
|
|
||||||
|
HENHMETAFILE W32kSetWinMetaFileBits(UINT BufSize,
|
||||||
|
CONST PBYTE Buffer,
|
||||||
|
HDC Ref,
|
||||||
|
CONST METAFILEPICT *mfp);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
56
reactos/include/win32k/paint.h
Normal file
56
reactos/include/win32k/paint.h
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
|
||||||
|
#ifndef __WIN32K_PAINT_H
|
||||||
|
#define __WIN32K_PAINT_H
|
||||||
|
|
||||||
|
BOOL W32kGdiFlush(VOID);
|
||||||
|
|
||||||
|
DWORD W32kGdiGetBatchLimit(VOID);
|
||||||
|
|
||||||
|
DWORD W32kGdiSetBatchLimit(DWORD Limit);
|
||||||
|
|
||||||
|
UINT W32kGetBoundsRect(HDC hDC,
|
||||||
|
LPRECT Bounds,
|
||||||
|
UINT Flags);
|
||||||
|
|
||||||
|
COLORREF W32kSetBkColor(HDC hDC,
|
||||||
|
COLORREF Color);
|
||||||
|
|
||||||
|
UINT W32kSetBoundsRect(HDC hDC,
|
||||||
|
CONST PRECT Bounds,
|
||||||
|
UINT Flags);
|
||||||
|
|
||||||
|
BOOL W32kAbortPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kBeginPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kCloseFigure(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kEndPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kFillPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kFlattenPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kGetMiterLimit(HDC hDC, PFLOAT Limit);
|
||||||
|
|
||||||
|
INT W32kGetPath(HDC hDC,
|
||||||
|
PPOINT Points,
|
||||||
|
PBYTE Types,
|
||||||
|
INT Size);
|
||||||
|
|
||||||
|
HRGN W32kPathToRegion(HDC hDC);
|
||||||
|
|
||||||
|
|
||||||
|
BOOL W32kSetMiterLimit(HDC hDC,
|
||||||
|
FLOAT NewLimit,
|
||||||
|
PFLOAT OldLimit);
|
||||||
|
|
||||||
|
|
||||||
|
BOOL W32kStrokeAndFillPath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kStrokePath(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kWidenPath(HDC hDC);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
18
reactos/include/win32k/pen.h
Normal file
18
reactos/include/win32k/pen.h
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
#ifndef __WIN32K_PEN_H
|
||||||
|
#define __WIN32K_PEN_H
|
||||||
|
|
||||||
|
HPEN W32kCreatePen(INT PenStyle,
|
||||||
|
INT Width,
|
||||||
|
COLORREF Color);
|
||||||
|
|
||||||
|
HPEN W32kCreatePenIndirect(CONST PLOGPEN lgpn);
|
||||||
|
|
||||||
|
HPEN W32kExtCreatePen(DWORD PenStyle,
|
||||||
|
DWORD Width,
|
||||||
|
CONST PLOGBRUSH lb,
|
||||||
|
DWORD StyleCount,
|
||||||
|
CONST PDWORD Style);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
32
reactos/include/win32k/print.h
Normal file
32
reactos/include/win32k/print.h
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
#ifndef __WIN32K_PRINT_H
|
||||||
|
#define __WIN32K_PRINT_H
|
||||||
|
|
||||||
|
INT W32kAbortDoc(HDC hDC);
|
||||||
|
|
||||||
|
INT W32kEndDoc(HDC hDC);
|
||||||
|
|
||||||
|
INT W32kEndPage(HDC hDC);
|
||||||
|
|
||||||
|
INT W32kEscape(HDC hDC,
|
||||||
|
INT Escape,
|
||||||
|
INT InSize,
|
||||||
|
LPCSTR InData,
|
||||||
|
LPVOID OutData);
|
||||||
|
|
||||||
|
INT W32kExtEscape(HDC hDC,
|
||||||
|
INT Escape,
|
||||||
|
INT InSize,
|
||||||
|
LPCSTR InData,
|
||||||
|
INT OutSize,
|
||||||
|
LPSTR OutData);
|
||||||
|
|
||||||
|
INT W32kSetAbortProc(HDC hDC,
|
||||||
|
ABORTPROC AbortProc);
|
||||||
|
|
||||||
|
INT W32kStartDoc(HDC hDC,
|
||||||
|
CONST PDOCINFO di);
|
||||||
|
|
||||||
|
INT W32kStartPage(HDC hDC);
|
||||||
|
|
||||||
|
#endif
|
84
reactos/include/win32k/region.h
Normal file
84
reactos/include/win32k/region.h
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
|
||||||
|
#ifndef __WIN32K_REGION_H
|
||||||
|
#define __WIN32K_REGION_H
|
||||||
|
|
||||||
|
INT W32kCombineRgn(HRGN hDest,
|
||||||
|
HRGN hSrc1,
|
||||||
|
HRGN hSrc2,
|
||||||
|
INT CombineMode);
|
||||||
|
|
||||||
|
HRGN W32kCreateEllipticRgn(INT LeftRect,
|
||||||
|
INT TopRect,
|
||||||
|
INT RightRect,
|
||||||
|
INT BottomRect);
|
||||||
|
|
||||||
|
HRGN W32kCreateEllipticRgnIndirect(CONST PRECT rc);
|
||||||
|
|
||||||
|
HRGN W32kCreatePolygonRgn(CONST PPOINT pt,
|
||||||
|
INT Count,
|
||||||
|
INT PolyFillMode);
|
||||||
|
|
||||||
|
HRGN W32kCreatePolyPolygonRgn(CONST PPOINT pt,
|
||||||
|
CONST PINT PolyCounts,
|
||||||
|
INT Count,
|
||||||
|
INT PolyFillMode);
|
||||||
|
|
||||||
|
HRGN W32kCreateRectRgn(INT LeftRect,
|
||||||
|
INT TopRect,
|
||||||
|
INT RightRect,
|
||||||
|
INT BottomRect);
|
||||||
|
|
||||||
|
HRGN W32kCreateRectRgnIndirect(CONST PRECT rc);
|
||||||
|
|
||||||
|
HRGN W32kCreateRoundRectRgn(INT LeftRect,
|
||||||
|
INT TopRect,
|
||||||
|
INT RightRect,
|
||||||
|
INT BottomRect,
|
||||||
|
INT WidthEllipse,
|
||||||
|
INT HeightEllipse);
|
||||||
|
|
||||||
|
BOOL W32kEqualRgn(HRGN hSrcRgn1,
|
||||||
|
HRGN hSrcRgn2);
|
||||||
|
|
||||||
|
HRGN W32kExtCreateRegion(CONST PXFORM Xform,
|
||||||
|
DWORD Count,
|
||||||
|
CONST PRGNDATA RgnData);
|
||||||
|
|
||||||
|
BOOL W32kFillRgn(HDC hDC,
|
||||||
|
HRGN hRgn,
|
||||||
|
HBRUSH hBrush);
|
||||||
|
|
||||||
|
BOOL W32kFrameRgn(HDC hDC,
|
||||||
|
HRGN hRgn,
|
||||||
|
HBRUSH hBrush,
|
||||||
|
INT Width,
|
||||||
|
INT Height);
|
||||||
|
|
||||||
|
INT W32kGetRgnBox(HRGN hRgn,
|
||||||
|
LPRECT Rect);
|
||||||
|
|
||||||
|
BOOL W32kInvertRgn(HDC hDC,
|
||||||
|
HRGN hRgn);
|
||||||
|
|
||||||
|
INT W32kOffsetRgn(HRGN hRgn,
|
||||||
|
INT XOffset,
|
||||||
|
INT YOffset);
|
||||||
|
|
||||||
|
BOOL W32kPaintRgn(HDC hDC,
|
||||||
|
HRGN hRgn);
|
||||||
|
|
||||||
|
BOOL W32kPtInRegion(HRGN hRgn,
|
||||||
|
INT X,
|
||||||
|
INT Y);
|
||||||
|
|
||||||
|
BOOL W32kRectInRegion(HRGN hRgn,
|
||||||
|
CONST LPRECT rc);
|
||||||
|
|
||||||
|
BOOL W32kSetRectRgn(HRGN hRgn,
|
||||||
|
INT LeftRect,
|
||||||
|
INT TopRect,
|
||||||
|
INT RightRect,
|
||||||
|
INT BottomRect);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#ifndef __WIN32K_TEXT_H
|
#ifndef __WIN32K_TEXT_H
|
||||||
#define __WIN32K_TEXT_H
|
#define __WIN32K_TEXT_H
|
||||||
|
|
||||||
int W32kAddFontResource(LPCTSTR Filename);
|
int W32kAddFontResource(LPCWSTR Filename);
|
||||||
|
|
||||||
HFONT W32kCreateFont(int Height,
|
HFONT W32kCreateFont(int Height,
|
||||||
int Width,
|
int Width,
|
||||||
|
@ -17,17 +17,17 @@ HFONT W32kCreateFont(int Height,
|
||||||
DWORD ClipPrecision,
|
DWORD ClipPrecision,
|
||||||
DWORD Quality,
|
DWORD Quality,
|
||||||
DWORD PitchAndFamily,
|
DWORD PitchAndFamily,
|
||||||
LPCTSTR Face);
|
LPCWSTR Face);
|
||||||
|
|
||||||
HFONT W32kCreateFontIndirect(CONST LPLOGFONT lf);
|
HFONT W32kCreateFontIndirect(CONST LPLOGFONT lf);
|
||||||
|
|
||||||
BOOL W32kCreateScalableFontResource(DWORD Hidden,
|
BOOL W32kCreateScalableFontResource(DWORD Hidden,
|
||||||
LPCTSTR FontRes,
|
LPCWSTR FontRes,
|
||||||
LPCTSTR FontFile,
|
LPCWSTR FontFile,
|
||||||
LPCTSTR CurrentPath);
|
LPCWSTR CurrentPath);
|
||||||
|
|
||||||
int W32kEnumFontFamilies(HDC hDC,
|
int W32kEnumFontFamilies(HDC hDC,
|
||||||
LPCTSTR Family,
|
LPCWSTR Family,
|
||||||
FONTENUMPROC EnumFontFamProc,
|
FONTENUMPROC EnumFontFamProc,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ int W32kEnumFontFamiliesEx(HDC hDC,
|
||||||
DWORD Flags);
|
DWORD Flags);
|
||||||
|
|
||||||
int W32kEnumFonts(HDC hDC,
|
int W32kEnumFonts(HDC hDC,
|
||||||
LPCTSTR FaceName,
|
LPCWSTR FaceName,
|
||||||
FONTENUMPROC FontFunc,
|
FONTENUMPROC FontFunc,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ BOOL W32kExtTextOut(HDC hDC,
|
||||||
int Y,
|
int Y,
|
||||||
UINT Options,
|
UINT Options,
|
||||||
CONST LPRECT rc,
|
CONST LPRECT rc,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
UINT Count,
|
UINT Count,
|
||||||
CONST LPINT Dx);
|
CONST LPINT Dx);
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ BOOL W32kGetCharABCWidthsFloat(HDC hDC,
|
||||||
LPABCFLOAT abcF);
|
LPABCFLOAT abcF);
|
||||||
|
|
||||||
DWORD W32kGetCharacterPlacement(HDC hDC,
|
DWORD W32kGetCharacterPlacement(HDC hDC,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count,
|
int Count,
|
||||||
int MaxExtent,
|
int MaxExtent,
|
||||||
LPGCP_RESULTS Results,
|
LPGCP_RESULTS Results,
|
||||||
|
@ -107,8 +107,14 @@ UINT W32kGetOutlineTextMetrics(HDC hDC,
|
||||||
BOOL W32kGetRasterizerCaps(LPRASTERIZER_STATUS rs,
|
BOOL W32kGetRasterizerCaps(LPRASTERIZER_STATUS rs,
|
||||||
UINT Size);
|
UINT Size);
|
||||||
|
|
||||||
|
UINT W32kGetTextCharset(HDC hDC);
|
||||||
|
|
||||||
|
UINT W32kGetTextCharsetInfo(HDC hDC,
|
||||||
|
LPFONTSIGNATURE Sig,
|
||||||
|
DWORD Flags);
|
||||||
|
|
||||||
BOOL W32kGetTextExtentExPoint(HDC hDC,
|
BOOL W32kGetTextExtentExPoint(HDC hDC,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count,
|
int Count,
|
||||||
int MaxExtent,
|
int MaxExtent,
|
||||||
LPINT Fit,
|
LPINT Fit,
|
||||||
|
@ -116,18 +122,18 @@ BOOL W32kGetTextExtentExPoint(HDC hDC,
|
||||||
LPSIZE Size);
|
LPSIZE Size);
|
||||||
|
|
||||||
BOOL W32kGetTextExtentPoint(HDC hDC,
|
BOOL W32kGetTextExtentPoint(HDC hDC,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count,
|
int Count,
|
||||||
LPSIZE Size);
|
LPSIZE Size);
|
||||||
|
|
||||||
BOOL W32kGetTextExtentPoint32(HDC hDC,
|
BOOL W32kGetTextExtentPoint32(HDC hDC,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count,
|
int Count,
|
||||||
LPSIZE Size);
|
LPSIZE Size);
|
||||||
|
|
||||||
int W32kGetTextFace(HDC hDC,
|
int W32kGetTextFace(HDC hDC,
|
||||||
int Count,
|
int Count,
|
||||||
LPTSTR FaceName);
|
LPWSTR FaceName);
|
||||||
|
|
||||||
BOOL W32kGetTextMetrics(HDC hDC,
|
BOOL W32kGetTextMetrics(HDC hDC,
|
||||||
LPTEXTMETRIC tm);
|
LPTEXTMETRIC tm);
|
||||||
|
@ -136,7 +142,7 @@ BOOL W32kPolyTextOut(HDC hDC,
|
||||||
CONST LPPOLYTEXT txt,
|
CONST LPPOLYTEXT txt,
|
||||||
int Count);
|
int Count);
|
||||||
|
|
||||||
BOOL W32kRemoveFontResource(LPCTSTR FileName);
|
BOOL W32kRemoveFontResource(LPCWSTR FileName);
|
||||||
|
|
||||||
DWORD W32kSetMapperFlags(HDC hDC,
|
DWORD W32kSetMapperFlags(HDC hDC,
|
||||||
DWORD Flag);
|
DWORD Flag);
|
||||||
|
@ -154,8 +160,12 @@ BOOL W32kSetTextJustification(HDC hDC,
|
||||||
BOOL W32kTextOut(HDC hDC,
|
BOOL W32kTextOut(HDC hDC,
|
||||||
int XStart,
|
int XStart,
|
||||||
int YStart,
|
int YStart,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count);
|
int Count);
|
||||||
|
|
||||||
|
UINT W32kTranslateCharsetInfo(PDWORD Src,
|
||||||
|
LPCHARSETINFO CSI,
|
||||||
|
DWORD Flags);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,13 @@
|
||||||
#include <win32k/coord.h>
|
#include <win32k/coord.h>
|
||||||
#include <win32k/dc.h>
|
#include <win32k/dc.h>
|
||||||
#include <win32k/fillshap.h>
|
#include <win32k/fillshap.h>
|
||||||
|
#include <win32k/icm.h>
|
||||||
#include <win32k/line.h>
|
#include <win32k/line.h>
|
||||||
|
#include <win32k/metafile.h>
|
||||||
|
#include <win32k/paint.h>
|
||||||
|
#include <win32k/pen.h>
|
||||||
|
#include <win32k/print.h>
|
||||||
|
#include <win32k/region.h>
|
||||||
#include <win32k/text.h>
|
#include <win32k/text.h>
|
||||||
|
#include <win32k/wingl.h>
|
||||||
|
|
||||||
|
|
26
reactos/include/win32k/wingl.h
Normal file
26
reactos/include/win32k/wingl.h
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
|
||||||
|
#ifndef __WIN32K_WINGL_H
|
||||||
|
#define __WIN32K_WINGL_H
|
||||||
|
|
||||||
|
INT W32kChoosePixelFormat(HDC hDC,
|
||||||
|
CONST PPIXELFORMATDESCRIPTOR pfd);
|
||||||
|
|
||||||
|
INT W32kDescribePixelFormat(HDC hDC,
|
||||||
|
INT PixelFormat,
|
||||||
|
UINT BufSize,
|
||||||
|
PPIXELFORMATDESCRIPTOR pfd);
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFilePixelFormat(HENHMETAFILE hEMF,
|
||||||
|
DWORD BufSize,
|
||||||
|
CONST PPIXELFORMATDESCRIPTOR pfd);
|
||||||
|
|
||||||
|
INT W32kGetPixelFormat(HDC hDC);
|
||||||
|
|
||||||
|
BOOL W32kSetPixelFormat(HDC hDC,
|
||||||
|
INT PixelFormat,
|
||||||
|
CONST PPIXELFORMATDESCRIPTOR pfd);
|
||||||
|
|
||||||
|
BOOL W32kSwapBuffers(HDC hDC);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -11,46 +11,38 @@
|
||||||
|
|
||||||
#include <win32k/win32k.h>
|
#include <win32k/win32k.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WARNING: whoever you are, do NOT rely on the order of this table.
|
||||||
|
* I'll change it just to spite ya.
|
||||||
|
*/
|
||||||
SERVICE_TABLE W32kServiceTable[] =
|
SERVICE_TABLE W32kServiceTable[] =
|
||||||
{
|
{
|
||||||
#if 0
|
{4, (ULONG) W32kAbortDoc},
|
||||||
{?, (ULONG) W32kAbortDoc},
|
{4, (ULONG) W32kAbortPath},
|
||||||
{?, (ULONG) W32kAbortPath},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kAddFontResource},
|
{4, (ULONG) W32kAddFontResource},
|
||||||
{24, (ULONG) W32kAngleArc},
|
{24, (ULONG) W32kAngleArc},
|
||||||
{16, (ULONG) W32kAnimatePalette},
|
{16, (ULONG) W32kAnimatePalette},
|
||||||
{36, (ULONG) W32kArc},
|
{36, (ULONG) W32kArc},
|
||||||
{36, (ULONG) W32kArcTo},
|
{36, (ULONG) W32kArcTo},
|
||||||
#if 0
|
{4, (ULONG) W32kBeginPath},
|
||||||
{?, (ULONG) W32kBeginPath},
|
|
||||||
#endif
|
|
||||||
{36, (ULONG) W32kBitBlt},
|
{36, (ULONG) W32kBitBlt},
|
||||||
{4, (ULONG) W32kCancelDC},
|
{4, (ULONG) W32kCancelDC},
|
||||||
#if 0
|
{16, (ULONG) W32kCheckColorsInGamut},
|
||||||
{?, (ULONG) W32kCheckColorsInGamut},
|
{2, (ULONG) W32kChoosePixelFormat},
|
||||||
{?, (ULONG) W32kChoosePixelFormat},
|
|
||||||
#endif
|
|
||||||
{36, (ULONG) W32kChord},
|
{36, (ULONG) W32kChord},
|
||||||
{4, (ULONG) W32kCloseEnhMetaFile},
|
{4, (ULONG) W32kCloseEnhMetaFile},
|
||||||
#if 0
|
{4, (ULONG) W32kCloseFigure},
|
||||||
{?, (ULONG) W32kCloseFigure},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kCloseMetaFile},
|
{4, (ULONG) W32kCloseMetaFile},
|
||||||
#if 0
|
{12, (ULONG) W32kColorMatchToTarget},
|
||||||
{?, (ULONG) W32kColorMatchToTarget},
|
{16, (ULONG) W32kCombineRgn},
|
||||||
{?, (ULONG) W32kCombineRgn},
|
|
||||||
#endif
|
|
||||||
{12, (ULONG) W32kCombineTransform},
|
{12, (ULONG) W32kCombineTransform},
|
||||||
{8, (ULONG) W32kCopyEnhMetaFile},
|
{8, (ULONG) W32kCopyEnhMetaFile},
|
||||||
{8, (ULONG) W32kCopyMetaFile},
|
{8, (ULONG) W32kCopyMetaFile},
|
||||||
{20, (ULONG) W32kCreateBitmap},
|
{20, (ULONG) W32kCreateBitmap},
|
||||||
{4, (ULONG) W32kCreateBitmapIndirect},
|
{4, (ULONG) W32kCreateBitmapIndirect},
|
||||||
{4, (ULONG) W32kCreateBrushIndirect},
|
{4, (ULONG) W32kCreateBrushIndirect},
|
||||||
#if 0
|
{4, (ULONG) W32kCreateColorSpace},
|
||||||
{?, (ULONG) W32kCreateColorSpace},
|
{12, (ULONG) W32kCreateCompatibleBitmap},
|
||||||
{?, (ULONG) W32kCreateCompatibleBitmap},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kCreateCompatableDC},
|
{4, (ULONG) W32kCreateCompatableDC},
|
||||||
{16, (ULONG) W32kCreateDC},
|
{16, (ULONG) W32kCreateDC},
|
||||||
{24, (ULONG) W32kCreateDIBitmap},
|
{24, (ULONG) W32kCreateDIBitmap},
|
||||||
|
@ -58,103 +50,76 @@ SERVICE_TABLE W32kServiceTable[] =
|
||||||
{8, (ULONG) W32kCreateDIBPatternBrushPt},
|
{8, (ULONG) W32kCreateDIBPatternBrushPt},
|
||||||
{24, (ULONG) W32kCreateDIBSection},
|
{24, (ULONG) W32kCreateDIBSection},
|
||||||
{12, (ULONG) W32kCreateDiscardableBitmap},
|
{12, (ULONG) W32kCreateDiscardableBitmap},
|
||||||
#if 0
|
{16, (ULONG) W32kCreateEllipticRgn},
|
||||||
{?, (ULONG) W32kCreateEllipticRgn},
|
{4, (ULONG) W32kCreateEllipticRgnIndirect},
|
||||||
{?, (ULONG) W32kCreateEllipticRgnIndirect},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kCreateEnhMetaFile},
|
{16, (ULONG) W32kCreateEnhMetaFile},
|
||||||
{56, (ULONG) W32kCreateFont},
|
{56, (ULONG) W32kCreateFont},
|
||||||
{4, (ULONG) W32kCreateFontIndirect},
|
{4, (ULONG) W32kCreateFontIndirect},
|
||||||
{4, (ULONG) W32kCreateHalftonePalette},
|
{4, (ULONG) W32kCreateHalftonePalette},
|
||||||
{8, (ULONG) W32kCreateHatchBrush},
|
{8, (ULONG) W32kCreateHatchBrush},
|
||||||
#if 0
|
{16, (ULONG) W32kCreateIC},
|
||||||
{?, (ULONG) W32kCreateIC},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kCreateMetaFile},
|
{4, (ULONG) W32kCreateMetaFile},
|
||||||
{4, (ULONG) W32kCreatePalette},
|
{4, (ULONG) W32kCreatePalette},
|
||||||
{4, (ULONG) W32kCreatePatternBrush},
|
{4, (ULONG) W32kCreatePatternBrush},
|
||||||
#if 0
|
{12, (ULONG) W32kCreatePen},
|
||||||
{?, (ULONG) W32kCreatePen},
|
{4, (ULONG) W32kCreatePenIndirect},
|
||||||
{?, (ULONG) W32kCreatePenIndirect},
|
{12, (ULONG) W32kCreatePolygonRgn},
|
||||||
{?, (ULONG) W32kCreatePolyPolygonRgn},
|
{16, (ULONG) W32kCreatePolyPolygonRgn},
|
||||||
{?, (ULONG) W32kCreatePolygonRgn},
|
{16, (ULONG) W32kCreateRectRgn},
|
||||||
{?, (ULONG) W32kCreateRectRgn},
|
{4, (ULONG) W32kCreateRectRgnIndirect},
|
||||||
{?, (ULONG) W32kCreateRectRgnIndirect},
|
{24, (ULONG) W32kCreateRoundRectRgn},
|
||||||
{?, (ULONG) W32kCreateRoundRectRgn},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kCreateScalableFontResource},
|
{16, (ULONG) W32kCreateScalableFontResource},
|
||||||
{4, (ULONG) W32kCreateSolidBrush},
|
{4, (ULONG) W32kCreateSolidBrush},
|
||||||
{12, (ULONG) W32kDPtoLP},
|
{12, (ULONG) W32kDPtoLP},
|
||||||
#if 0
|
{4, (ULONG) W32kDeleteColorSpace},
|
||||||
{?, (ULONG) W32kDeleteColorSpace},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kDeleteDC},
|
{4, (ULONG) W32kDeleteDC},
|
||||||
{4, (ULONG) W32kDeleteEnhMetaFile},
|
{4, (ULONG) W32kDeleteEnhMetaFile},
|
||||||
{4, (ULONG) W32kDeleteMetaFile},
|
{4, (ULONG) W32kDeleteMetaFile},
|
||||||
#if 0
|
{4, (ULONG) W32kDeleteObject},
|
||||||
{?, (ULONG) W32kDeleteObject},
|
{16, (ULONG) W32kDescribePixelFormat},
|
||||||
{?, (ULONG) W32kDescribePixelFormat},
|
// FIXME: {?, (ULONG) W32kDeviceCapabilitiesEx},
|
||||||
{?, (ULONG) W32kDeviceCapabilitiesEx},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kDrawEscape},
|
{16, (ULONG) W32kDrawEscape},
|
||||||
{20, (ULONG) W32kEllipse},
|
{20, (ULONG) W32kEllipse},
|
||||||
#if 0
|
{4, (ULONG) W32kEndDoc},
|
||||||
{?, (ULONG) W32kEndDoc},
|
{4, (ULONG) W32kEndPage},
|
||||||
{?, (ULONG) W32kEndPage},
|
{4, (ULONG) W32kEndPath},
|
||||||
{?, (ULONG) W32kEndPath},
|
|
||||||
#endif
|
|
||||||
{20, (ULONG) W32kEnumEnhMetaFile},
|
{20, (ULONG) W32kEnumEnhMetaFile},
|
||||||
{16, (ULONG) W32kEnumFontFamilies},
|
{16, (ULONG) W32kEnumFontFamilies},
|
||||||
{20, (ULONG) W32kEnumFontFamiliesEx},
|
{20, (ULONG) W32kEnumFontFamiliesEx},
|
||||||
{16, (ULONG) W32kEnumFonts},
|
{16, (ULONG) W32kEnumFonts},
|
||||||
#if 0
|
{12, (ULONG) W32kEnumICMProfiles},
|
||||||
{?, (ULONG) W32kEnumICMProfiles},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kEnumMetaFile},
|
{16, (ULONG) W32kEnumMetaFile},
|
||||||
{16, (ULONG) W32kEnumObjects},
|
{16, (ULONG) W32kEnumObjects},
|
||||||
#if 0
|
{8, (ULONG) W32kEqualRgn},
|
||||||
{?, (ULONG) W32kEqualRgn},
|
{20, (ULONG) W32kEscape},
|
||||||
{?, (ULONG) W32kEscape},
|
|
||||||
#endif
|
|
||||||
{20, (ULONG) W32kExcludeClipRect},
|
{20, (ULONG) W32kExcludeClipRect},
|
||||||
#if 0
|
{20, (ULONG) W32kExtCreatePen},
|
||||||
{?, (ULONG) W32kExtCreatePen},
|
{12, (ULONG) W32kExtCreateRegion},
|
||||||
{?, (ULONG) W32kExtCreateRegion},
|
{24, (ULONG) W32kExtEscape},
|
||||||
{?, (ULONG) W32kExtEscape},
|
|
||||||
#endif
|
|
||||||
{20, (ULONG) W32kExtFloodFill},
|
{20, (ULONG) W32kExtFloodFill},
|
||||||
{12, (ULONG) W32kExtSelectClipRgn},
|
{12, (ULONG) W32kExtSelectClipRgn},
|
||||||
{32, (ULONG) W32kExtTextOut},
|
{32, (ULONG) W32kExtTextOut},
|
||||||
#if 0
|
{4, (ULONG) W32kFillPath},
|
||||||
{?, (ULONG) W32kFillPath},
|
{12, (ULONG) W32kFillRgn},
|
||||||
{?, (ULONG) W32kFillRgn},
|
|
||||||
#endif
|
|
||||||
{0, (ULONG) W32kFixBrushOrgEx},
|
{0, (ULONG) W32kFixBrushOrgEx},
|
||||||
#if 0
|
{4, (ULONG) W32kFlattenPath},
|
||||||
{?, (ULONG) W32kFlattenPath},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kFloodFill},
|
{16, (ULONG) W32kFloodFill},
|
||||||
#if 0
|
{20, (ULONG) W32kFrameRgn},
|
||||||
{?, (ULONG) W32kFrameRgn},
|
|
||||||
#endif
|
|
||||||
{12, (ULONG) W32kGdiComment},
|
{12, (ULONG) W32kGdiComment},
|
||||||
#if 0
|
{0, (ULONG) W32kGdiFlush},
|
||||||
{?, (ULONG) W32kGdiFlush},
|
{0, (ULONG) W32kGdiGetBatchLimit},
|
||||||
{?, (ULONG) W32kGdiGetBatchLimit},
|
// FIXME: {?, (ULONG) W32kGdiPlayDCScript},
|
||||||
{?, (ULONG) W32kGdiPlayDCScript},
|
// FIXME: {?, (ULONG) W32kGdiPlayJournal},
|
||||||
{?, (ULONG) W32kGdiPlayJournal},
|
// FIXME: {?, (ULONG) W32kGdiPlayScript},
|
||||||
{?, (ULONG) W32kGdiPlayScript},
|
// FIXME: {?, (ULONG) W32kGdiPlaySpoolStream},
|
||||||
{?, (ULONG) W32kGdiSetBatchLimit},
|
{4, (ULONG) W32kGdiSetBatchLimit},
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kGetArcDirection},
|
{4, (ULONG) W32kGetArcDirection},
|
||||||
{8, (ULONG) W32kGetAspectRatioFilterEx},
|
{8, (ULONG) W32kGetAspectRatioFilterEx},
|
||||||
{12, (ULONG) W32kGetBitmapBits},
|
{12, (ULONG) W32kGetBitmapBits},
|
||||||
{8, (ULONG) W32kGetBitmapDimensionEx},
|
{8, (ULONG) W32kGetBitmapDimensionEx},
|
||||||
{4, (ULONG) W32kGetBkColor},
|
{4, (ULONG) W32kGetBkColor},
|
||||||
{4, (ULONG) W32kGetBkMode},
|
{4, (ULONG) W32kGetBkMode},
|
||||||
#if 0
|
{12, (ULONG) W32kGetBoundsRect},
|
||||||
{?, (ULONG) W32kGetBoundsRect},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kGetBrushOrgEx},
|
{8, (ULONG) W32kGetBrushOrgEx},
|
||||||
{16, (ULONG) W32kGetCharABCWidths},
|
{16, (ULONG) W32kGetCharABCWidths},
|
||||||
{16, (ULONG) W32kGetCharABCWidthsFloat},
|
{16, (ULONG) W32kGetCharABCWidthsFloat},
|
||||||
|
@ -165,85 +130,55 @@ SERVICE_TABLE W32kServiceTable[] =
|
||||||
{8, (ULONG) W32kGetClipBox},
|
{8, (ULONG) W32kGetClipBox},
|
||||||
{4, (ULONG) W32kGetClipRgn},
|
{4, (ULONG) W32kGetClipRgn},
|
||||||
{8, (ULONG) W32kGetColorAdjustment},
|
{8, (ULONG) W32kGetColorAdjustment},
|
||||||
#if 0
|
{4, (ULONG) W32kGetColorSpace},
|
||||||
{?, (ULONG) W32kGetColorSpace},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kGetCurrentObject},
|
{8, (ULONG) W32kGetCurrentObject},
|
||||||
{8, (ULONG) W32kGetCurrentPositionEx},
|
{8, (ULONG) W32kGetCurrentPositionEx},
|
||||||
{8, (ULONG) W32kGetDCOrgEx},
|
{8, (ULONG) W32kGetDCOrgEx},
|
||||||
{16, (ULONG) W32kGetDIBColorTable},
|
{16, (ULONG) W32kGetDIBColorTable},
|
||||||
{28, (ULONG) W32kGetDIBits},
|
{28, (ULONG) W32kGetDIBits},
|
||||||
{8, (ULONG) W32kGetDeviceCaps},
|
{8, (ULONG) W32kGetDeviceCaps},
|
||||||
#if 0
|
{8, (ULONG) W32kGetDeviceGammaRamp},
|
||||||
{?, (ULONG) W32kGetDeviceGammaRamp},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kGetEnhMetaFile},
|
{4, (ULONG) W32kGetEnhMetaFile},
|
||||||
#if 0
|
{12, (ULONG) W32kGetEnhMetaFileBits},
|
||||||
{?, (ULONG) W32kGetEnhMetaFileBits},
|
{12, (ULONG) W32kGetEnhMetaFileDescription},
|
||||||
{?, (ULONG) W32kGetEnhMetaFileDescription},
|
{12, (ULONG) W32kGetEnhMetaFileHeader},
|
||||||
{?, (ULONG) W32kGetEnhMetaFileHeader},
|
{12, (ULONG) W32kGetEnhMetaFilePaletteEntries},
|
||||||
{?, (ULONG) W32kGetEnhMetaFilePaletteEntries},
|
{12, (ULONG) W32kGetEnhMetaFilePixelFormat},
|
||||||
{?, (ULONG) W32kGetEnhMetaFilePixelFormat},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kGetFontLanguageInfo},
|
{4, (ULONG) W32kGetFontLanguageInfo},
|
||||||
#if 0
|
// FIXME: {?, (ULONG) W32kGetFontResourceInfo},
|
||||||
{?, (ULONG) W32kGetFontResourceInfo},
|
|
||||||
#endif
|
|
||||||
{28, (ULONG) W32kGetGlyphOutline},
|
{28, (ULONG) W32kGetGlyphOutline},
|
||||||
#if 0
|
// FIXME: {?, (ULONG) W32kGetGlyphOutlineWow},
|
||||||
{?, (ULONG) W32kGetGlyphOutlineWow},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kGetGraphicsMode},
|
{4, (ULONG) W32kGetGraphicsMode},
|
||||||
#if 0
|
{12, (ULONG) W32kGetICMProfile},
|
||||||
{?, (ULONG) W32kGetICMProfile},
|
|
||||||
#endif
|
|
||||||
{12, (ULONG) W32kGetKerningPairs},
|
{12, (ULONG) W32kGetKerningPairs},
|
||||||
#if 0
|
{12, (ULONG) W32kGetLogColorSpace},
|
||||||
{?, (ULONG) W32kGetLogColorSpace},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kGetMapMode},
|
{4, (ULONG) W32kGetMapMode},
|
||||||
#if 0
|
{4, (ULONG) W32kGetMetaFile},
|
||||||
{?, (ULONG) W32kGetMetaFileBitsEx},
|
{12, (ULONG) W32kGetMetaFileBitsEx},
|
||||||
{?, (ULONG) W32kGetMetaFile},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kGetMetaRgn},
|
{8, (ULONG) W32kGetMetaRgn},
|
||||||
#if 0
|
{8, (ULONG) W32kGetMiterLimit},
|
||||||
{?, (ULONG) W32kGetMiterLimit},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kGetNearestColor},
|
{8, (ULONG) W32kGetNearestColor},
|
||||||
{8, (ULONG) W32kGetNearestPaletteIndex},
|
{8, (ULONG) W32kGetNearestPaletteIndex},
|
||||||
#if 0
|
{12, (ULONG) W32kGetObject},
|
||||||
{?, (ULONG) W32kGetObject},
|
{4, (ULONG) W32kGetObjectType},
|
||||||
{?, (ULONG) W32kGetObjectType},
|
|
||||||
#endif
|
|
||||||
{12, (ULONG) W32kGetOutlineTextMetrics},
|
{12, (ULONG) W32kGetOutlineTextMetrics},
|
||||||
{16, (ULONG) W32kGetPaletteEntries},
|
{16, (ULONG) W32kGetPaletteEntries},
|
||||||
#if 0
|
{16, (ULONG) W32kGetPath},
|
||||||
{?, (ULONG) W32kGetPath},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kGetPixel},
|
{4, (ULONG) W32kGetPixel},
|
||||||
#if 0
|
{4, (ULONG) W32kGetPixelFormat},
|
||||||
{?, (ULONG) W32kGetPixelFormat},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kGetPolyFillMode},
|
{4, (ULONG) W32kGetPolyFillMode},
|
||||||
{4, (ULONG) W32kGetROP2},
|
{4, (ULONG) W32kGetROP2},
|
||||||
#if 0
|
// FIXME: {?, (ULONG) W32kGetRandomRgn},
|
||||||
{?, (ULONG) W32kGetRandomRgn},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kGetRasterizerCaps},
|
{8, (ULONG) W32kGetRasterizerCaps},
|
||||||
{4, (ULONG) W32kGetRelAbs},
|
{4, (ULONG) W32kGetRelAbs},
|
||||||
#if 0
|
{8, (ULONG) W32kGetRgnBox},
|
||||||
{?, (ULONG) W32kGetRgnBox},
|
{4, (ULONG) W32kGetStockObject},
|
||||||
{?, (ULONG) W32kGetStockObject},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kGetStretchBltMode},
|
{4, (ULONG) W32kGetStretchBltMode},
|
||||||
{16, (ULONG) W32kGetSystemPaletteEntries},
|
{16, (ULONG) W32kGetSystemPaletteEntries},
|
||||||
{4, (ULONG) W32kGetSystemPaletteUse},
|
{4, (ULONG) W32kGetSystemPaletteUse},
|
||||||
{4, (ULONG) W32kGetTextAlign},
|
{4, (ULONG) W32kGetTextAlign},
|
||||||
#if 0
|
{4, (ULONG) W32kGetTextCharset},
|
||||||
{?, (ULONG) W32kGetTextCharset},
|
{12, (ULONG) W32kGetTextCharsetInfo},
|
||||||
{?, (ULONG) W32kGetTextCharsetInfo},
|
|
||||||
#endif
|
|
||||||
{4, (ULONG) W32kGetTextColor},
|
{4, (ULONG) W32kGetTextColor},
|
||||||
{28, (ULONG) W32kGetTextExtentExPoint},
|
{28, (ULONG) W32kGetTextExtentExPoint},
|
||||||
{16, (ULONG) W32kGetTextExtentPoint},
|
{16, (ULONG) W32kGetTextExtentPoint},
|
||||||
|
@ -252,41 +187,29 @@ SERVICE_TABLE W32kServiceTable[] =
|
||||||
{8, (ULONG) W32kGetTextMetrics},
|
{8, (ULONG) W32kGetTextMetrics},
|
||||||
{8, (ULONG) W32kGetViewportExtEx},
|
{8, (ULONG) W32kGetViewportExtEx},
|
||||||
{8, (ULONG) W32kGetViewportOrgEx},
|
{8, (ULONG) W32kGetViewportOrgEx},
|
||||||
#if 0
|
{20, (ULONG) W32kGetWinMetaFileBits},
|
||||||
{?, (ULONG) W32kGetWinMetaFileBits},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kGetWindowExtEx},
|
{8, (ULONG) W32kGetWindowExtEx},
|
||||||
{8, (ULONG) W32kGetWindowOrgEx},
|
{8, (ULONG) W32kGetWindowOrgEx},
|
||||||
{8, (ULONG) W32kGetWorldTransform},
|
{8, (ULONG) W32kGetWorldTransform},
|
||||||
{20, (ULONG) W32kIntersectClipRect},
|
{20, (ULONG) W32kIntersectClipRect},
|
||||||
#if 0
|
{8, (ULONG) W32kInvertRgn},
|
||||||
{?, (ULONG) W32kInvertRgn},
|
|
||||||
#endif
|
|
||||||
{12, (ULONG) W32kLPtoDP},
|
{12, (ULONG) W32kLPtoDP},
|
||||||
{12, (ULONG) W32kLineTo},
|
{12, (ULONG) W32kLineTo},
|
||||||
{48, (ULONG) W32kMaskBlt},
|
{48, (ULONG) W32kMaskBlt},
|
||||||
{12, (ULONG) W32kModifyWorldTransform},
|
{12, (ULONG) W32kModifyWorldTransform},
|
||||||
{16, (ULONG) W32kMoveToEx},
|
{16, (ULONG) W32kMoveToEx},
|
||||||
{12, (ULONG) W32kOffsetClipRgn},
|
{12, (ULONG) W32kOffsetClipRgn},
|
||||||
#if 0
|
{12, (ULONG) W32kOffsetRgn},
|
||||||
{?, (ULONG) W32kOffsetRgn},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kOffsetViewportOrgEx},
|
{16, (ULONG) W32kOffsetViewportOrgEx},
|
||||||
{16, (ULONG) W32kOffsetWindowOrgEx},
|
{16, (ULONG) W32kOffsetWindowOrgEx},
|
||||||
#if 0
|
{8, (ULONG) W32kPaintRgn},
|
||||||
{?, (ULONG) W32kPaintRgn},
|
|
||||||
#endif
|
|
||||||
{24, (ULONG) W32kPatBlt},
|
{24, (ULONG) W32kPatBlt},
|
||||||
#if 0
|
{4, (ULONG) W32kPathToRegion},
|
||||||
{?, (ULONG) W32kPathToRegion},
|
|
||||||
#endif
|
|
||||||
{36, (ULONG) W32kPie},
|
{36, (ULONG) W32kPie},
|
||||||
#if 0
|
{12, (ULONG) W32kPlayEnhMetaFile},
|
||||||
{?, (ULONG) W32kPlayEnhMetaFile},
|
{16, (ULONG) W32kPlayEnhMetaFileRecord},
|
||||||
{?, (ULONG) W32kPlayEnhMetaFileRecord},
|
{8, (ULONG) W32kPlayMetaFile},
|
||||||
{?, (ULONG) W32kPlayMetaFile},
|
{16, (ULONG) W32kPlayMetaFileRecord},
|
||||||
{?, (ULONG) W32kPlayMetaFileRecord},
|
|
||||||
#endif
|
|
||||||
{40, (ULONG) W32kPlgBlt},
|
{40, (ULONG) W32kPlgBlt},
|
||||||
{12, (ULONG) W32kPolyBezier},
|
{12, (ULONG) W32kPolyBezier},
|
||||||
{12, (ULONG) W32kPolyBezierTo},
|
{12, (ULONG) W32kPolyBezierTo},
|
||||||
|
@ -297,14 +220,10 @@ SERVICE_TABLE W32kServiceTable[] =
|
||||||
{12, (ULONG) W32kPolyTextOut},
|
{12, (ULONG) W32kPolyTextOut},
|
||||||
{12, (ULONG) W32kPolygon},
|
{12, (ULONG) W32kPolygon},
|
||||||
{16, (ULONG) W32kPolyPolygon},
|
{16, (ULONG) W32kPolyPolygon},
|
||||||
#if 0
|
{12, (ULONG) W32kPtInRegion},
|
||||||
{?, (ULONG) W32kPtInRegion},
|
|
||||||
#endif
|
|
||||||
{12, (ULONG) W32kPtVisible},
|
{12, (ULONG) W32kPtVisible},
|
||||||
{4, (ULONG) W32kRealizePalette},
|
{4, (ULONG) W32kRealizePalette},
|
||||||
#if 0
|
{8, (ULONG) W32kRectInRegion},
|
||||||
{?, (ULONG) W32kRectInRegion},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kRectVisible},
|
{8, (ULONG) W32kRectVisible},
|
||||||
{20, (ULONG) W32kRectangle},
|
{20, (ULONG) W32kRectangle},
|
||||||
{4, (ULONG) W32kRemoveFontResource},
|
{4, (ULONG) W32kRemoveFontResource},
|
||||||
|
@ -315,67 +234,43 @@ SERVICE_TABLE W32kServiceTable[] =
|
||||||
{4, (ULONG) W32kSaveDC},
|
{4, (ULONG) W32kSaveDC},
|
||||||
{24, (ULONG) W32kScaleViewportExtEx},
|
{24, (ULONG) W32kScaleViewportExtEx},
|
||||||
{24, (ULONG) W32kScaleWindowExtEx},
|
{24, (ULONG) W32kScaleWindowExtEx},
|
||||||
#if 0
|
// FIXME: {?, (ULONG) W32kSelectBrushLocal},
|
||||||
{?, (ULONG) W32kSelectBrushLocal},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kSelectClipPath},
|
{8, (ULONG) W32kSelectClipPath},
|
||||||
{8, (ULONG) W32kSelectClipRgn},
|
{8, (ULONG) W32kSelectClipRgn},
|
||||||
#if 0
|
// FIXME: {?, (ULONG) W32kSelectFontLocal},
|
||||||
{?, (ULONG) W32kSelectFontLocal},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kSelectObject},
|
{8, (ULONG) W32kSelectObject},
|
||||||
{12, (ULONG) W32kSelectPalette},
|
{12, (ULONG) W32kSelectPalette},
|
||||||
#if 0
|
{8, (ULONG) W32kSetAbortProc},
|
||||||
{?, (ULONG) W32kSetAbortProc},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kSetArcDirection},
|
{8, (ULONG) W32kSetArcDirection},
|
||||||
{12, (ULONG) W32kSetBitmapBits},
|
{12, (ULONG) W32kSetBitmapBits},
|
||||||
{16, (ULONG) W32kSetBitmapDimensionEx},
|
{16, (ULONG) W32kSetBitmapDimensionEx},
|
||||||
#if 0
|
{8, (ULONG) W32kSetBkColor},
|
||||||
{?, (ULONG) W32kSetBkColor},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kSetBkMode},
|
{8, (ULONG) W32kSetBkMode},
|
||||||
#if 0
|
{12, (ULONG) W32kSetBoundsRect},
|
||||||
{?, (ULONG) W32kSetBoundsRect},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kSetBrushOrgEx},
|
{16, (ULONG) W32kSetBrushOrgEx},
|
||||||
{8, (ULONG) W32kSetColorAdjustment},
|
{8, (ULONG) W32kSetColorAdjustment},
|
||||||
#if 0
|
{8, (ULONG) W32kSetColorSpace},
|
||||||
{?, (ULONG) W32kSetColorSpace},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kSetDIBColorTable},
|
{16, (ULONG) W32kSetDIBColorTable},
|
||||||
{28, (ULONG) W32kSetDIBits},
|
{28, (ULONG) W32kSetDIBits},
|
||||||
{48, (ULONG) W32kSetDIBitsToDevice},
|
{48, (ULONG) W32kSetDIBitsToDevice},
|
||||||
#if 0
|
{8, (ULONG) W32kSetDeviceGammaRamp},
|
||||||
{?, (ULONG) W32kSetDeviceGammaRamp},
|
{8, (ULONG) W32kSetEnhMetaFileBits},
|
||||||
{?, (ULONG) W32kSetEnhMetaFileBits},
|
// FIXME: {?, (ULONG) W32kSetFontEnumeration},
|
||||||
{?, (ULONG) W32kSetFontEnumeration},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kSetGraphicsMode},
|
{8, (ULONG) W32kSetGraphicsMode},
|
||||||
#if 0
|
{8, (ULONG) W32kSetICMMode},
|
||||||
{?, (ULONG) W32kSetICMMode},
|
{8, (ULONG) W32kSetICMProfile},
|
||||||
{?, (ULONG) W32kSetICMProfile},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kSetMapMode},
|
{8, (ULONG) W32kSetMapMode},
|
||||||
{8, (ULONG) W32kSetMapperFlags},
|
{8, (ULONG) W32kSetMapperFlags},
|
||||||
#if 0
|
{8, (ULONG) W32kSetMetaFileBitsEx},
|
||||||
{?, (ULONG) W32kSetMetaFileBitsEx},
|
|
||||||
#if 0
|
|
||||||
{4, (ULONG) W32kSetMetaRgn},
|
{4, (ULONG) W32kSetMetaRgn},
|
||||||
#endif
|
{12, (ULONG) W32kSetMiterLimit},
|
||||||
{?, (ULONG) W32kSetMiterLimit},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kSetPaletteEntries},
|
{16, (ULONG) W32kSetPaletteEntries},
|
||||||
{16, (ULONG) W32kSetPixel},
|
{16, (ULONG) W32kSetPixel},
|
||||||
#if 0
|
{12, (ULONG) W32kSetPixelFormat},
|
||||||
{?, (ULONG) W32kSetPixelFormat},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kSetPixelV},
|
{16, (ULONG) W32kSetPixelV},
|
||||||
{8, (ULONG) W32kSetPolyFillMode},
|
{8, (ULONG) W32kSetPolyFillMode},
|
||||||
{8, (ULONG) W32kSetROP2},
|
{8, (ULONG) W32kSetROP2},
|
||||||
#if 0
|
{20, (ULONG) W32kSetRectRgn},
|
||||||
{?, (ULONG) W32kSetRectRgn},
|
|
||||||
#endif
|
|
||||||
// {8, (ULONG) W32kSetRelAbs},
|
// {8, (ULONG) W32kSetRelAbs},
|
||||||
{8, (ULONG) W32kSetStretchBltMode},
|
{8, (ULONG) W32kSetStretchBltMode},
|
||||||
{8, (ULONG) W32kSetSystemPaletteUse},
|
{8, (ULONG) W32kSetSystemPaletteUse},
|
||||||
|
@ -384,34 +279,23 @@ SERVICE_TABLE W32kServiceTable[] =
|
||||||
{12, (ULONG) W32kSetTextJustification},
|
{12, (ULONG) W32kSetTextJustification},
|
||||||
{16, (ULONG) W32kSetViewportExtEx},
|
{16, (ULONG) W32kSetViewportExtEx},
|
||||||
{16, (ULONG) W32kSetViewportOrgEx},
|
{16, (ULONG) W32kSetViewportOrgEx},
|
||||||
#if 0
|
{4, (ULONG) W32kSetWinMetaFileBits},
|
||||||
{?, (ULONG) W32kSetWinMetaFileBits},
|
|
||||||
#endif
|
|
||||||
{16, (ULONG) W32kSetWindowExtEx},
|
{16, (ULONG) W32kSetWindowExtEx},
|
||||||
{16, (ULONG) W32kSetWindowOrgEx},
|
{16, (ULONG) W32kSetWindowOrgEx},
|
||||||
{8, (ULONG) W32kSetWorldTransform},
|
{8, (ULONG) W32kSetWorldTransform},
|
||||||
#if 0
|
{8, (ULONG) W32kStartDoc},
|
||||||
{?, (ULONG) W32kStartDoc},
|
{4, (ULONG) W32kStartPage},
|
||||||
{?, (ULONG) W32kStartPage},
|
|
||||||
#endif
|
|
||||||
{44, (ULONG) W32kStretchBlt},
|
{44, (ULONG) W32kStretchBlt},
|
||||||
{52, (ULONG) W32kStretchDIBits},
|
{52, (ULONG) W32kStretchDIBits},
|
||||||
#if 0
|
{4, (ULONG) W32kStrokeAndFillPath},
|
||||||
{?, (ULONG) W32kStrokeAndFillPath},
|
{4, (ULONG) W32kStrokePath},
|
||||||
{?, (ULONG) W32kStrokePath},
|
{4, (ULONG) W32kSwapBuffers},
|
||||||
{?, (ULONG) W32kSwapBuffers},
|
|
||||||
#endif
|
|
||||||
{20, (ULONG) W32kTextOut},
|
{20, (ULONG) W32kTextOut},
|
||||||
#if 0
|
{12, (ULONG) W32kTranslateCharsetInfo},
|
||||||
{?, (ULONG) W32kTranslateCharsetInfo},
|
|
||||||
#endif
|
|
||||||
{8, (ULONG) W32kUnrealizeObject},
|
{8, (ULONG) W32kUnrealizeObject},
|
||||||
{4, (ULONG) W32kUpdateColors},
|
{4, (ULONG) W32kUpdateColors},
|
||||||
#if 0
|
{16, (ULONG) W32kUpdateICMRegKey},
|
||||||
{?, (ULONG) W32kUpdateICMRegKey},
|
{4, (ULONG) W32kWidenPath},
|
||||||
{?, (ULONG) W32kWidenPath},
|
|
||||||
{?, (ULONG) W32kgdiPlaySpoolStream},
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
WINBOOL STDCALL DllMain(VOID)
|
WINBOOL STDCALL DllMain(VOID)
|
||||||
|
|
|
@ -6,7 +6,10 @@ MAIN_OBJECTS = main/dllmain.o
|
||||||
MISC_OBJECTS = misc/driver.o
|
MISC_OBJECTS = misc/driver.o
|
||||||
OBJECTS_OBJECTS = objects/bitmaps.o objects/brush.o objects/cliprgn.o \
|
OBJECTS_OBJECTS = objects/bitmaps.o objects/brush.o objects/cliprgn.o \
|
||||||
objects/color.o objects/coord.o objects/dc.o \
|
objects/color.o objects/coord.o objects/dc.o \
|
||||||
objects/fillshap.o objects/line.o objects/text.o
|
objects/fillshap.o objects/icm.o objects/line.o \
|
||||||
|
objects/metafile.o objects/pen.o \
|
||||||
|
objects/print.o objects/region.o objects/text.o \
|
||||||
|
objects/wingl.o
|
||||||
RESOURCE_OBJECT = win32k.coff
|
RESOURCE_OBJECT = win32k.coff
|
||||||
STUBS_OBJECTS = stubs/stubs.o
|
STUBS_OBJECTS = stubs/stubs.o
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,13 @@ HBITMAP W32kCreateBitmap(INT Width,
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HBITMAP W32kCreateCompatibleBitmap(HDC hDC,
|
||||||
|
INT Width,
|
||||||
|
INT Height)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
HBITMAP W32kCreateBitmapIndirect(CONST BITMAP *BM)
|
HBITMAP W32kCreateBitmapIndirect(CONST BITMAP *BM)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
|
|
@ -167,6 +167,14 @@ Failure:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HDC STDCALL W32kCreateIC(LPCWSTR Driver,
|
||||||
|
LPCWSTR Device,
|
||||||
|
LPCWSTR Output,
|
||||||
|
CONST PDEVMODEW DevMode)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
BOOL STDCALL W32kDeleteDC(HDC DCHandle)
|
BOOL STDCALL W32kDeleteDC(HDC DCHandle)
|
||||||
{
|
{
|
||||||
PDC DCToDelete;
|
PDC DCToDelete;
|
||||||
|
@ -182,6 +190,11 @@ BOOL STDCALL W32kDeleteDC(HDC DCHandle)
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOL STDCALL W32kDeleteObject(HGDIOBJ hObject)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
INT W32kDrawEscape(HDC hDC,
|
INT W32kDrawEscape(HDC hDC,
|
||||||
INT nEscape,
|
INT nEscape,
|
||||||
INT cbInput,
|
INT cbInput,
|
||||||
|
@ -225,9 +238,28 @@ INT W32kGetDeviceCaps(HDC hDC,
|
||||||
|
|
||||||
DC_GET_VAL( INT, W32kGetMapMode, w.MapMode )
|
DC_GET_VAL( INT, W32kGetMapMode, w.MapMode )
|
||||||
DC_GET_VAL( INT, W32kGetPolyFillMode, w.polyFillMode )
|
DC_GET_VAL( INT, W32kGetPolyFillMode, w.polyFillMode )
|
||||||
|
|
||||||
|
INT STDCALL W32kGetObject(HGDIOBJ hGDIObj,
|
||||||
|
INT BufSize,
|
||||||
|
LPVOID Object)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD STDCALL W32kGetObjectType(HGDIOBJ hGDIObj)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
DC_GET_VAL( INT, W32kGetRelAbs, w.relAbsMode )
|
DC_GET_VAL( INT, W32kGetRelAbs, w.relAbsMode )
|
||||||
DC_GET_VAL( INT, W32kGetROP2, w.ROPmode )
|
DC_GET_VAL( INT, W32kGetROP2, w.ROPmode )
|
||||||
DC_GET_VAL( INT, W32kGetStretchBltMode, w.stretchBltMode )
|
DC_GET_VAL( INT, W32kGetStretchBltMode, w.stretchBltMode )
|
||||||
|
|
||||||
|
HGDIOBJ STDCALL W32kGetStockObject(INT Object)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
DC_GET_VAL( UINT, W32kGetTextAlign, w.textAlign )
|
DC_GET_VAL( UINT, W32kGetTextAlign, w.textAlign )
|
||||||
DC_GET_VAL( COLORREF, W32kGetTextColor, w.textColor )
|
DC_GET_VAL( COLORREF, W32kGetTextColor, w.textColor )
|
||||||
DC_GET_VAL_EX( W32kGetViewportExtEx, vportExtX, vportExtY, SIZE )
|
DC_GET_VAL_EX( W32kGetViewportExtEx, vportExtX, vportExtY, SIZE )
|
||||||
|
|
99
reactos/subsys/win32k/objects/icm.c
Normal file
99
reactos/subsys/win32k/objects/icm.c
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
|
||||||
|
|
||||||
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
#include <windows.h>
|
||||||
|
#include <win32k/icm.h>
|
||||||
|
|
||||||
|
// #define NDEBUG
|
||||||
|
#include <internal/debug.h>
|
||||||
|
|
||||||
|
BOOL W32kCheckColorsInGamut(HDC hDC,
|
||||||
|
LPVOID RGBTriples,
|
||||||
|
LPVOID Buffer,
|
||||||
|
UINT Count)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kColorMatchToTarget(HDC hDC,
|
||||||
|
HDC hDCTarget,
|
||||||
|
DWORD Action)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HCOLORSPACE W32kCreateColorSpace(LPLOGCOLORSPACE LogColorSpace)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kDeleteColorSpace(HCOLORSPACE hColorSpace)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kEnumICMProfiles(HDC hDC,
|
||||||
|
ICMENUMPROC EnumICMProfilesFunc,
|
||||||
|
LPARAM lParam)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HCOLORSPACE W32kGetColorSpace(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kGetDeviceGammaRamp(HDC hDC,
|
||||||
|
LPVOID Ramp)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kGetICMProfile(HDC hDC,
|
||||||
|
LPDWORD NameSize,
|
||||||
|
LPWSTR Filename)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kGetLogColorSpace(HCOLORSPACE hColorSpace,
|
||||||
|
LPLOGCOLORSPACE Buffer,
|
||||||
|
DWORD Size)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HCOLORSPACE W32kSetColorSpace(HDC hDC,
|
||||||
|
HCOLORSPACE hColorSpace)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kSetDeviceGammaRamp(HDC hDC,
|
||||||
|
LPVOID Ramp)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kSetICMMode(HDC hDC,
|
||||||
|
INT EnableICM)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kSetICMProfile(HDC hDC,
|
||||||
|
LPWSTR Filename)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kUpdateICMRegKey(DWORD Reserved,
|
||||||
|
LPWSTR CMID,
|
||||||
|
LPWSTR Filename,
|
||||||
|
UINT Command)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,26 +18,26 @@ HMETAFILE W32kCloseMetaFile(HDC hDC)
|
||||||
}
|
}
|
||||||
|
|
||||||
HENHMETAFILE W32kCopyEnhMetaFile(HENHMETAFILE Src,
|
HENHMETAFILE W32kCopyEnhMetaFile(HENHMETAFILE Src,
|
||||||
LPCTSTR File)
|
LPCWSTR File)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
HMETAFILE W32kCopyMetaFile(HMETAFILE Src,
|
HMETAFILE W32kCopyMetaFile(HMETAFILE Src,
|
||||||
LPCTSTR File)
|
LPCWSTR File)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
HDC W32kCreateEnhMetaFile(HDC hDCRef,
|
HDC W32kCreateEnhMetaFile(HDC hDCRef,
|
||||||
LPCTSTR File,
|
LPCWSTR File,
|
||||||
CONST LPRECT Rect,
|
CONST LPRECT Rect,
|
||||||
LPCTSTR Description)
|
LPCWSTR Description)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
HDC W32kCreateMetaFile(LPCTSTR File)
|
HDC W32kCreateMetaFile(LPCWSTR File)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,105 @@ BOOL W32kGdiComment(HDC hDC,
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
HENHMETAFILE W32kGetEnhMetaFile(LPCTSTR MetaFile)
|
HENHMETAFILE W32kGetEnhMetaFile(LPCWSTR MetaFile)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFileBits(HENHMETAFILE hemf,
|
||||||
|
UINT BufSize,
|
||||||
|
LPBYTE Buffer)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFileDescription(HENHMETAFILE hemf,
|
||||||
|
UINT BufSize,
|
||||||
|
LPWSTR Description)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFileHeader(HENHMETAFILE hemf,
|
||||||
|
UINT BufSize,
|
||||||
|
LPENHMETAHEADER emh)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFilePaletteEntries(HENHMETAFILE hemf,
|
||||||
|
UINT Entries,
|
||||||
|
LPPALETTEENTRY pe)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HMETAFILE W32kGetMetaFile(LPCWSTR MetaFile)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kGetMetaFileBitsEx(HMETAFILE hmf,
|
||||||
|
UINT Size,
|
||||||
|
LPVOID Data)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kGetWinMetaFileBits(HENHMETAFILE hemf,
|
||||||
|
UINT BufSize,
|
||||||
|
LPBYTE Buffer,
|
||||||
|
INT MapMode,
|
||||||
|
HDC Ref)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kPlayEnhMetaFile(HDC hDC,
|
||||||
|
HENHMETAFILE hemf,
|
||||||
|
CONST PRECT Rect)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kPlayEnhMetaFileRecord(HDC hDC,
|
||||||
|
LPHANDLETABLE Handletable,
|
||||||
|
CONST ENHMETARECORD *EnhMetaRecord,
|
||||||
|
UINT Handles)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kPlayMetaFile(HDC hDC,
|
||||||
|
HMETAFILE hmf)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kPlayMetaFileRecord(HDC hDC,
|
||||||
|
LPHANDLETABLE Handletable,
|
||||||
|
LPMETARECORD MetaRecord,
|
||||||
|
UINT Handles)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HENHMETAFILE W32kSetEnhMetaFileBits(UINT BufSize,
|
||||||
|
CONST PBYTE Data)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HMETAFILE W32kSetMetaFileBitsEx(UINT Size,
|
||||||
|
CONST PBYTE Data)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HENHMETAFILE W32kSetWinMetaFileBits(UINT BufSize,
|
||||||
|
CONST PBYTE Buffer,
|
||||||
|
HDC Ref,
|
||||||
|
CONST METAFILEPICT *mfp)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
115
reactos/subsys/win32k/objects/paint.c
Normal file
115
reactos/subsys/win32k/objects/paint.c
Normal file
|
@ -0,0 +1,115 @@
|
||||||
|
|
||||||
|
|
||||||
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
#include <windows.h>
|
||||||
|
#include <win32k/paint.h>
|
||||||
|
|
||||||
|
// #define NDEBUG
|
||||||
|
#include <internal/debug.h>
|
||||||
|
|
||||||
|
BOOL W32kGdiFlush(VOID)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD GdiGetBatchLimit(VOID)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD W32kGdiSetBatchLimit(DWORD Limit)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kGetBoundsRect(HDC hDC,
|
||||||
|
LPRECT Bounds,
|
||||||
|
UINT Flags)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
COLORREF W32kSetBkColor(HDC hDC,
|
||||||
|
COLORREF Color)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kSetBoundsRect(HDC hDC,
|
||||||
|
CONST PRECT Bounds,
|
||||||
|
UINT Flags)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kAbortPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kBeginPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kCloseFigure(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kEndPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kFillPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kFlattenPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kGetMiterLimit(HDC hDC, PFLOAT Limit)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kGetPath(HDC hDC,
|
||||||
|
PPOINT Points,
|
||||||
|
PBYTE Types,
|
||||||
|
INT Size)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kPathToRegion(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kSetMiterLimit(HDC hDC,
|
||||||
|
FLOAT NewLimit,
|
||||||
|
PFLOAT OldLimit)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kStrokeAndFillPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kStrokePath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kWidenPath(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
32
reactos/subsys/win32k/objects/pen.c
Normal file
32
reactos/subsys/win32k/objects/pen.c
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
|
||||||
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
#include <windows.h>
|
||||||
|
#include <win32k/pen.h>
|
||||||
|
|
||||||
|
// #define NDEBUG
|
||||||
|
#include <internal/debug.h>
|
||||||
|
|
||||||
|
HPEN W32kCreatePen(INT PenStyle,
|
||||||
|
INT Width,
|
||||||
|
COLORREF Color)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HPEN W32kCreatePenIndirect(CONST PLOGPEN lgpn)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HPEN W32kExtCreatePen(DWORD PenStyle,
|
||||||
|
DWORD Width,
|
||||||
|
CONST PLOGBRUSH lb,
|
||||||
|
DWORD StyleCount,
|
||||||
|
CONST PDWORD Style)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
60
reactos/subsys/win32k/objects/print.c
Normal file
60
reactos/subsys/win32k/objects/print.c
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
|
||||||
|
|
||||||
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
#include <windows.h>
|
||||||
|
#include <win32k/print.h>
|
||||||
|
|
||||||
|
// #define NDEBUG
|
||||||
|
#include <internal/debug.h>
|
||||||
|
|
||||||
|
INT W32kAbortDoc(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kEndDoc(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kEndPage(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kEscape(HDC hDC,
|
||||||
|
INT Escape,
|
||||||
|
INT InSize,
|
||||||
|
LPCSTR InData,
|
||||||
|
LPVOID OutData)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kExtEscape(HDC hDC,
|
||||||
|
INT Escape,
|
||||||
|
INT InSize,
|
||||||
|
LPCSTR InData,
|
||||||
|
INT OutSize,
|
||||||
|
LPSTR OutData)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kSetAbortProc(HDC hDC,
|
||||||
|
ABORTPROC AbortProc)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kStartDoc(HDC hDC,
|
||||||
|
CONST PDOCINFO di)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kStartPage(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
144
reactos/subsys/win32k/objects/region.c
Normal file
144
reactos/subsys/win32k/objects/region.c
Normal file
|
@ -0,0 +1,144 @@
|
||||||
|
|
||||||
|
|
||||||
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
#include <windows.h>
|
||||||
|
#include <win32k/region.h>
|
||||||
|
|
||||||
|
// #define NDEBUG
|
||||||
|
#include <internal/debug.h>
|
||||||
|
|
||||||
|
INT W32kCombineRgn(HRGN hDest,
|
||||||
|
HRGN hSrc1,
|
||||||
|
HRGN hSrc2,
|
||||||
|
INT CombineMode)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kCreateEllipticRgn(INT LeftRect,
|
||||||
|
INT TopRect,
|
||||||
|
INT RightRect,
|
||||||
|
INT BottomRect)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kCreateEllipticRgnIndirect(CONST PRECT rc)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kCreatePolygonRgn(CONST PPOINT pt,
|
||||||
|
INT Count,
|
||||||
|
INT PolyFillMode)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kCreatePolyPolygonRgn(CONST PPOINT pt,
|
||||||
|
CONST PINT PolyCounts,
|
||||||
|
INT Count,
|
||||||
|
INT PolyFillMode)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kCreateRectRgn(INT LeftRect,
|
||||||
|
INT TopRect,
|
||||||
|
INT RightRect,
|
||||||
|
INT BottomRect)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kCreateRectRgnIndirect(CONST PRECT rc)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kCreateRoundRectRgn(INT LeftRect,
|
||||||
|
INT TopRect,
|
||||||
|
INT RightRect,
|
||||||
|
INT BottomRect,
|
||||||
|
INT WidthEllipse,
|
||||||
|
INT HeightEllipse)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kEqualRgn(HRGN hSrcRgn1,
|
||||||
|
HRGN hSrcRgn2)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRGN W32kExtCreateRegion(CONST PXFORM Xform,
|
||||||
|
DWORD Count,
|
||||||
|
CONST PRGNDATA RgnData)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kFillRgn(HDC hDC,
|
||||||
|
HRGN hRgn,
|
||||||
|
HBRUSH hBrush)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kFrameRgn(HDC hDC,
|
||||||
|
HRGN hRgn,
|
||||||
|
HBRUSH hBrush,
|
||||||
|
INT Width,
|
||||||
|
INT Height)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kGetRgnBox(HRGN hRgn,
|
||||||
|
LPRECT hRect)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kInvertRgn(HDC hDC,
|
||||||
|
HRGN hRgn)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kOffsetRgn(HRGN hRgn,
|
||||||
|
INT XOffset,
|
||||||
|
INT YOffset)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kPaintRgn(HDC hDC,
|
||||||
|
HRGN hRgn)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kPtInRegion(HRGN hRgn,
|
||||||
|
INT X,
|
||||||
|
INT Y)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kRectInRegion(HRGN hRgn,
|
||||||
|
CONST LPRECT rc)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kSetRectRgn(HRGN hRgn,
|
||||||
|
INT LeftRect,
|
||||||
|
INT TopRect,
|
||||||
|
INT RightRect,
|
||||||
|
INT BottomRect)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
// #define NDEBUG
|
// #define NDEBUG
|
||||||
#include <internal/debug.h>
|
#include <internal/debug.h>
|
||||||
|
|
||||||
int W32kAddFontResource(LPCTSTR Filename)
|
int W32kAddFontResource(LPCWSTR Filename)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ HFONT W32kCreateFont(int Height,
|
||||||
DWORD ClipPrecision,
|
DWORD ClipPrecision,
|
||||||
DWORD Quality,
|
DWORD Quality,
|
||||||
DWORD PitchAndFamily,
|
DWORD PitchAndFamily,
|
||||||
LPCTSTR Face)
|
LPCWSTR Face)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
@ -36,15 +36,15 @@ HFONT W32kCreateFontIndirect(CONST LPLOGFONT lf)
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL W32kCreateScalableFontResource(DWORD Hidden,
|
BOOL W32kCreateScalableFontResource(DWORD Hidden,
|
||||||
LPCTSTR FontRes,
|
LPCWSTR FontRes,
|
||||||
LPCTSTR FontFile,
|
LPCWSTR FontFile,
|
||||||
LPCTSTR CurrentPath)
|
LPCWSTR CurrentPath)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
int W32kEnumFontFamilies(HDC hDC,
|
int W32kEnumFontFamilies(HDC hDC,
|
||||||
LPCTSTR Family,
|
LPCWSTR Family,
|
||||||
FONTENUMPROC EnumFontFamProc,
|
FONTENUMPROC EnumFontFamProc,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
@ -61,7 +61,7 @@ int W32kEnumFontFamiliesEx(HDC hDC,
|
||||||
}
|
}
|
||||||
|
|
||||||
int W32kEnumFonts(HDC hDC,
|
int W32kEnumFonts(HDC hDC,
|
||||||
LPCTSTR FaceName,
|
LPCWSTR FaceName,
|
||||||
FONTENUMPROC FontFunc,
|
FONTENUMPROC FontFunc,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
@ -73,7 +73,7 @@ BOOL W32kExtTextOut(HDC hDC,
|
||||||
int Y,
|
int Y,
|
||||||
UINT Options,
|
UINT Options,
|
||||||
CONST LPRECT rc,
|
CONST LPRECT rc,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
UINT Count,
|
UINT Count,
|
||||||
CONST LPINT Dx)
|
CONST LPINT Dx)
|
||||||
{
|
{
|
||||||
|
@ -103,7 +103,7 @@ BOOL W32kGetCharABCWidthsFloat(HDC hDC,
|
||||||
}
|
}
|
||||||
|
|
||||||
DWORD W32kGetCharacterPlacement(HDC hDC,
|
DWORD W32kGetCharacterPlacement(HDC hDC,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count,
|
int Count,
|
||||||
int MaxExtent,
|
int MaxExtent,
|
||||||
LPGCP_RESULTS Results,
|
LPGCP_RESULTS Results,
|
||||||
|
@ -172,8 +172,20 @@ BOOL W32kGetRasterizerCaps(LPRASTERIZER_STATUS rs,
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UINT W32kGetTextCharset(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kGetTextCharsetInfo(HDC hDC,
|
||||||
|
LPFONTSIGNATURE Sig,
|
||||||
|
DWORD Flags)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
BOOL W32kGetTextExtentExPoint(HDC hDC,
|
BOOL W32kGetTextExtentExPoint(HDC hDC,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count,
|
int Count,
|
||||||
int MaxExtent,
|
int MaxExtent,
|
||||||
LPINT Fit,
|
LPINT Fit,
|
||||||
|
@ -184,7 +196,7 @@ BOOL W32kGetTextExtentExPoint(HDC hDC,
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL W32kGetTextExtentPoint(HDC hDC,
|
BOOL W32kGetTextExtentPoint(HDC hDC,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count,
|
int Count,
|
||||||
LPSIZE Size)
|
LPSIZE Size)
|
||||||
{
|
{
|
||||||
|
@ -192,7 +204,7 @@ BOOL W32kGetTextExtentPoint(HDC hDC,
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL W32kGetTextExtentPoint32(HDC hDC,
|
BOOL W32kGetTextExtentPoint32(HDC hDC,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count,
|
int Count,
|
||||||
LPSIZE Size)
|
LPSIZE Size)
|
||||||
{
|
{
|
||||||
|
@ -201,7 +213,7 @@ BOOL W32kGetTextExtentPoint32(HDC hDC,
|
||||||
|
|
||||||
int W32kGetTextFace(HDC hDC,
|
int W32kGetTextFace(HDC hDC,
|
||||||
int Count,
|
int Count,
|
||||||
LPTSTR FaceName)
|
LPWSTR FaceName)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
@ -219,7 +231,7 @@ BOOL W32kPolyTextOut(HDC hDC,
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL W32kRemoveFontResource(LPCTSTR FileName)
|
BOOL W32kRemoveFontResource(LPCWSTR FileName)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
@ -252,9 +264,16 @@ BOOL W32kSetTextJustification(HDC hDC,
|
||||||
BOOL W32kTextOut(HDC hDC,
|
BOOL W32kTextOut(HDC hDC,
|
||||||
int XStart,
|
int XStart,
|
||||||
int YStart,
|
int YStart,
|
||||||
LPCTSTR String,
|
LPCWSTR String,
|
||||||
int Count)
|
int Count)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UINT W32kTranslateCharsetInfo(PDWORD Src,
|
||||||
|
LPCHARSETINFO CSI,
|
||||||
|
DWORD Flags)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
48
reactos/subsys/win32k/objects/wingl.c
Normal file
48
reactos/subsys/win32k/objects/wingl.c
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
|
||||||
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
#include <windows.h>
|
||||||
|
#include <win32k/wingl.h>
|
||||||
|
|
||||||
|
// #define NDEBUG
|
||||||
|
#include <internal/debug.h>
|
||||||
|
|
||||||
|
INT W32kChoosePixelFormat(HDC hDC,
|
||||||
|
CONST PPIXELFORMATDESCRIPTOR pfd)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
INT W32kDescribePixelFormat(HDC hDC,
|
||||||
|
INT PixelFormat,
|
||||||
|
UINT BufSize,
|
||||||
|
LPPIXELFORMATDESCRIPTOR pfd)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT W32kGetEnhMetaFilePixelFormat(HENHMETAFILE hEMF,
|
||||||
|
DWORD BufSize,
|
||||||
|
CONST PPIXELFORMATDESCRIPTOR pfd)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
INT W32kGetPixelFormat(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kSetPixelFormat(HDC hDC,
|
||||||
|
INT PixelFormat,
|
||||||
|
CONST PPIXELFORMATDESCRIPTOR pfd)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL W32kSwapBuffers(HDC hDC)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue