Reorder drv function and added missing items. One update to winddi.h.

svn path=/trunk/; revision=30923
This commit is contained in:
James Tabor 2007-11-30 23:52:25 +00:00
parent 6eb82849c7
commit 7c34f36a33
2 changed files with 473 additions and 437 deletions

View file

@ -3779,6 +3779,12 @@ typedef BOOL
IN POINTL *pptlBrushOrg, IN POINTL *pptlBrushOrg,
IN MIX mix); IN MIX mix);
typedef VOID
(APIENTRY *PFN_DrvMovePanning)(
IN LONG x,
IN LONG y,
IN FLONG fl);
typedef BOOL typedef BOOL
(APIENTRY *PFN_DrvPlgBlt)( (APIENTRY *PFN_DrvPlgBlt)(
IN SURFOBJ *psoTrg, IN SURFOBJ *psoTrg,

View file

@ -366,72 +366,102 @@ typedef LONG (NTAPI *PGD_QUERYSPOOLTYPE)(DHPDEV, LPWSTR);
typedef BOOL (NTAPI *PGD_GRADIENTFILL)(SURFOBJ*, CLIPOBJ*, XLATEOBJ*, TRIVERTEX*, ULONG, PVOID, ULONG, RECTL*, POINTL*, ULONG); typedef BOOL (NTAPI *PGD_GRADIENTFILL)(SURFOBJ*, CLIPOBJ*, XLATEOBJ*, TRIVERTEX*, ULONG, PVOID, ULONG, RECTL*, POINTL*, ULONG);
typedef VOID (NTAPI *PGD_SYNCHRONIZESURFACE)(SURFOBJ*, RECTL *, FLONG); typedef VOID (NTAPI *PGD_SYNCHRONIZESURFACE)(SURFOBJ*, RECTL *, FLONG);
//
// Most of these are definded in ddk/winddi.h
//
typedef struct _DRIVER_FUNCTIONS typedef struct _DRIVER_FUNCTIONS
{ {
PGD_ENABLEDRIVER EnableDriver; PGD_ENABLEDRIVER EnableDriver; //ReactOS Extra
PGD_ENABLEPDEV EnablePDEV; PGD_ENABLEPDEV EnablePDEV;
PGD_COMPLETEPDEV CompletePDEV; PGD_COMPLETEPDEV CompletePDEV;
PGD_DISABLEPDEV DisablePDEV; PGD_DISABLEPDEV DisablePDEV;
PGD_ENABLESURFACE EnableSurface; PGD_ENABLESURFACE EnableSurface;
PGD_DISABLESURFACE DisableSurface; PGD_DISABLESURFACE DisableSurface;
PGD_ASSERTMODE AssertMode; PGD_ASSERTMODE AssertMode;
PGD_OFFSET Offset; PGD_OFFSET Offset;
PGD_RESETPDEV ResetPDEV; PGD_RESETPDEV ResetPDEV;
PGD_DISABLEDRIVER DisableDriver; PGD_DISABLEDRIVER DisableDriver;
PGD_CREATEDEVICEBITMAP CreateDeviceBitmap; PGD_CREATEDEVICEBITMAP CreateDeviceBitmap;
PGD_DELETEDEVICEBITMAP DeleteDeviceBitmap; PGD_DELETEDEVICEBITMAP DeleteDeviceBitmap;
PGD_REALIZEBRUSH RealizeBrush; PGD_REALIZEBRUSH RealizeBrush;
PGD_DITHERCOLOR DitherColor; PGD_DITHERCOLOR DitherColor;
PGD_STROKEPATH StrokePath; PGD_STROKEPATH StrokePath;
PGD_FILLPATH FillPath; PGD_FILLPATH FillPath;
PGD_STROKEANDFILLPATH StrokeAndFillPath; PGD_STROKEANDFILLPATH StrokeAndFillPath;
PGD_PAINT Paint; PGD_PAINT Paint;
PGD_BITBLT BitBlt; PGD_BITBLT BitBlt;
PGD_TRANSPARENTBLT TransparentBlt; PGD_COPYBITS CopyBits;
PGD_COPYBITS CopyBits; PGD_STRETCHBLT StretchBlt;
PGD_STRETCHBLT StretchBlt; PGD_SETPALETTE SetPalette;
PGD_STRETCHBLTROP StretchBltROP; PGD_TEXTOUT TextOut;
PGD_SETPALETTE SetPalette; PGD_ESCAPE Escape;
PGD_TEXTOUT TextOut; PGD_DRAWESCAPE DrawEscape;
PGD_ESCAPE Escape; PGD_QUERYFONT QueryFont;
PGD_DRAWESCAPE DrawEscape; PGD_QUERYFONTTREE QueryFontTree;
PGD_QUERYFONT QueryFont; PGD_QUERYFONTDATA QueryFontData;
PGD_QUERYFONTTREE QueryFontTree; PGD_SETPOINTERSHAPE SetPointerShape;
PGD_QUERYFONTDATA QueryFontData; PGD_MOVEPOINTER MovePointer;
PGD_SETPOINTERSHAPE SetPointerShape; PGD_LINETO LineTo;
PGD_MOVEPOINTER MovePointer; PGD_SENDPAGE SendPage;
PGD_LINETO LineTo; PGD_STARTPAGE StartPage;
PGD_SENDPAGE SendPage; PGD_ENDDOC EndDoc;
PGD_STARTPAGE StartPage; PGD_STARTDOC StartDoc;
PGD_ENDDOC EndDoc; PGD_GETGLYPHMODE GetGlyphMode;
PGD_STARTDOC StartDoc; PGD_SYNCHRONIZE Synchronize;
PGD_GETGLYPHMODE GetGlyphMode; PGD_SAVESCREENBITS SaveScreenBits;
PGD_SYNCHRONIZE Synchronize; PGD_GETMODES GetModes;
PGD_SAVESCREENBITS SaveScreenBits; PGD_FREE Free;
PGD_GETMODES GetModes; PGD_DESTROYFONT DestroyFont;
PGD_FREE Free; PGD_QUERYFONTCAPS QueryFontCaps;
PGD_DESTROYFONT DestroyFont; PGD_LOADFONTFILE LoadFontFile;
PGD_QUERYFONTCAPS QueryFontCaps; PGD_UNLOADFONTFILE UnloadFontFile;
PGD_LOADFONTFILE LoadFontFile; PGD_FONTMANAGEMENT FontManagement;
PGD_UNLOADFONTFILE UnloadFontFile; PGD_QUERYTRUETYPETABLE QueryTrueTypeTable;
PGD_FONTMANAGEMENT FontManagement; PGD_QUERYTRUETYPEOUTLINE QueryTrueTypeOutline;
PGD_QUERYTRUETYPETABLE QueryTrueTypeTable; PGD_GETTRUETYPEFILE GetTrueTypeFile;
PGD_QUERYTRUETYPEOUTLINE QueryTrueTypeOutline; PGD_QUERYFONTFILE QueryFontFile;
PGD_GETTRUETYPEFILE GetTrueTypeFile; PFN_DrvMovePanning MovePanning;
PGD_QUERYFONTFILE QueryFontFile; PGD_QUERYADVANCEWIDTHS QueryAdvanceWidths;
PGD_QUERYADVANCEWIDTHS QueryAdvanceWidths; PGD_SETPIXELFORMAT SetPixelFormat;
PGD_SETPIXELFORMAT SetPixelFormat; PGD_DESCRIBEPIXELFORMAT DescribePixelFormat;
PGD_DESCRIBEPIXELFORMAT DescribePixelFormat; PGD_SWAPBUFFERS SwapBuffers;
PGD_SWAPBUFFERS SwapBuffers; PGD_STARTBANDING StartBanding;
PGD_STARTBANDING StartBanding; PGD_NEXTBAND NextBand;
PGD_NEXTBAND NextBand; PGD_GETDIRECTDRAWINFO GetDirectDrawInfo;
PGD_GETDIRECTDRAWINFO GetDirectDrawInfo; PGD_ENABLEDIRECTDRAW EnableDirectDraw;
PGD_ENABLEDIRECTDRAW EnableDirectDraw; PGD_DISABLEDIRECTDRAW DisableDirectDraw;
PGD_DISABLEDIRECTDRAW DisableDirectDraw; PGD_QUERYSPOOLTYPE QuerySpoolType;
PGD_QUERYSPOOLTYPE QuerySpoolType; PFN_DrvIcmCreateColorTransform IcmCreateColorTransform;
PGD_GRADIENTFILL GradientFill; PFN_DrvIcmDeleteColorTransform IcmDeleteColorTransform;
PGD_SYNCHRONIZESURFACE SynchronizeSurface; PFN_DrvIcmCheckBitmapBits IcmCheckBitmapBits;
PGD_ALPHABLEND AlphaBlend; PFN_DrvIcmSetDeviceGammaRamp IcmSetDeviceGammaRamp;
PGD_GRADIENTFILL GradientFill;
PGD_STRETCHBLTROP StretchBltROP;
PFN_DrvPlgBlt PlgBlt;
PGD_ALPHABLEND AlphaBlend;
// PFN_DrvSynthesizeFont SynthesizeFont;
PVOID Unknown1;
// PFN_DrvGetSynthesizedFontFiles GetSynthesizedFontFiles;
PVOID Unknown2;
PGD_TRANSPARENTBLT TransparentBlt;
PFN_DrvQueryPerBandInfo QueryPerBandInfo;
PFN_DrvQueryDeviceSupport QueryDeviceSupport;
PVOID Reserved1;
PVOID Reserved2;
PVOID Reserved3;
PVOID Reserved4;
PVOID Reserved5;
PVOID Reserved6;
PVOID Reserved7;
PVOID Reserved8;
PFN_DrvDeriveSurface DeriveSurface;
PFN_DrvQueryGlyphAttrs QueryGlyphAttrs;
PFN_DrvNotify Notify;
PGD_SYNCHRONIZESURFACE SynchronizeSurface;
PFN_DrvResetDevice ResetDevice;
PVOID Reserved9;
PVOID Reserved10;
PVOID Reserved11;
} DRIVER_FUNCTIONS, *PDRIVER_FUNCTIONS; } DRIVER_FUNCTIONS, *PDRIVER_FUNCTIONS;
#endif #endif