ReactOS 0.4.15-dev-7887-g64a59a1
drvdbg.c File Reference
#include <win32k.h>
Include dependency graph for drvdbg.c:

Go to the source code of this file.

Functions

 DBG_DEFAULT_CHANNEL (EngDev)
 
PPDEVOBJ NTAPI DbgLookupDHPDEV (DHPDEV dhpdev)
 
VOID DbgDrvReserved (void)
 
DHPDEV APIENTRY DbgDrvEnablePDEV (_In_ DEVMODEW *pdm, _In_ LPWSTR pwszLogAddress, ULONG cPat, _In_opt_ HSURF *phsurfPatterns, ULONG cjCaps, _Out_ ULONG *pdevcaps, ULONG cjDevInfo, _Out_ DEVINFO *pdi, HDEV hdev, _In_ LPWSTR pwszDeviceName, HANDLE hDriver)
 
VOID APIENTRY DbgDrvCompletePDEV (DHPDEV dhpdev, HDEV hdev)
 
VOID APIENTRY DbgDrvDisablePDEV (DHPDEV dhpdev)
 
HSURF APIENTRY DbgDrvEnableSurface (DHPDEV dhpdev)
 
VOID APIENTRY DbgDrvDisableSurface (DHPDEV dhpdev)
 
BOOL APIENTRY DbgDrvAssertMode (_In_ DHPDEV dhpdev, _In_ BOOL bEnable)
 
BOOL APIENTRY DbgDrvOffset (SURFOBJ *pso, LONG x1, LONG x2, FLONG fl)
 
ULONG APIENTRY DbgDrvResetPDEV (DHPDEV dhpdev, PVOID Reserved)
 
VOID APIENTRY DbgDrvDisableDriver (void)
 
HBITMAP APIENTRY DbgDrvCreateDeviceBitmap (DHPDEV dhpdev, SIZEL sizl, ULONG iFormat)
 
VOID APIENTRY DbgDrvDeleteDeviceBitmap (DHSURF dhsurf)
 
BOOL APIENTRY DbgDrvRealizeBrush (_In_ BRUSHOBJ *pbo, _Inout_ SURFOBJ *psoTarget, _In_ SURFOBJ *psoPattern, _In_opt_ SURFOBJ *psoMask, _In_ XLATEOBJ *pxlo, _In_ ULONG iHatch)
 
ULONG APIENTRY DbgDrvDitherColor (_In_ DHPDEV dhpdev, _In_ ULONG iMode, _In_ ULONG rgb, _Inout_ ULONG *pul)
 
BOOL APIENTRY DbgDrvStrokePath (_Inout_ SURFOBJ *pso, _In_ PATHOBJ *ppo, _In_ CLIPOBJ *pco, _In_opt_ XFORMOBJ *pxo, _In_ BRUSHOBJ *pbo, _In_ POINTL *pptlBrushOrg, _In_ LINEATTRS *plineattrs, _In_ MIX mix)
 
BOOL APIENTRY DbgDrvFillPath (_Inout_ SURFOBJ *pso, _In_ PATHOBJ *ppo, _In_ CLIPOBJ *pco, _In_ BRUSHOBJ *pbo, _In_ POINTL *pptlBrushOrg, _In_ MIX mix, _In_ FLONG flOptions)
 
BOOL APIENTRY DbgDrvStrokeAndFillPath (_Inout_ SURFOBJ *pso, _Inout_ PATHOBJ *ppo, _In_ CLIPOBJ *pco, _In_opt_ XFORMOBJ *pxo, _In_ BRUSHOBJ *pboStroke, _In_ LINEATTRS *plineattrs, _In_ BRUSHOBJ *pboFill, _In_ POINTL *pptlBrushOrg, _In_ MIX mixFill, _In_ FLONG flOptions)
 
BOOL APIENTRY DbgDrvPaint (IN SURFOBJ *pso, IN CLIPOBJ *pco, IN BRUSHOBJ *pbo, IN POINTL *pptlBrushOrg, IN MIX mix)
 
BOOL APIENTRY DbgDrvBitBlt (_Inout_ SURFOBJ *psoTrg, _In_opt_ SURFOBJ *psoSrc, _In_opt_ SURFOBJ *psoMask, _In_opt_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_ RECTL *prclTrg, _When_(psoSrc, _In_) POINTL *pptlSrc, _When_(psoMask, _In_) POINTL *pptlMask, _In_opt_ BRUSHOBJ *pbo, _When_(pbo, _In_) POINTL *pptlBrush, _In_ ROP4 rop4)
 
BOOL APIENTRY DbgDrvCopyBits (SURFOBJ *psoTrg, SURFOBJ *psoSrc, CLIPOBJ *pco, XLATEOBJ *pxlo, RECTL *prclTrg, POINTL *pptlSrc)
 
BOOL APIENTRY DbgDrvStretchBlt (_Inout_ SURFOBJ *psoTrg, _Inout_ SURFOBJ *psoSrc, _In_opt_ SURFOBJ *psoMask, _In_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_opt_ COLORADJUSTMENT *pca, _In_ POINTL *pptlHTOrg, _In_ RECTL *prclDest, _In_ RECTL *prclSrc, _In_opt_ POINTL *pptlMask, _In_ ULONG iMode)
 
BOOL APIENTRY DbgDrvSetPalette (DHPDEV dhpdev, PALOBJ *ppalo, FLONG fl, ULONG iStart, ULONG cColors)
 
BOOL APIENTRY DbgDrvTextOut (SURFOBJ *pso, STROBJ *pstro, FONTOBJ *pfo, CLIPOBJ *pco, RECTL *prclExtra, RECTL *prclOpaque, BRUSHOBJ *pboFore, BRUSHOBJ *pboOpaque, POINTL *pptlOrg, MIX mix)
 
ULONG APIENTRY DbgDrvEscape (_In_ SURFOBJ *pso, _In_ ULONG iEsc, _In_ ULONG cjIn, _In_ PVOID pvIn, _In_ ULONG cjOut, _Out_ PVOID pvOut)
 
ULONG APIENTRY DbgDrvDrawEscape (_In_ SURFOBJ *pso, _In_ ULONG iEsc, _In_ CLIPOBJ *pco, _In_ RECTL *prcl, _In_ ULONG cjIn, _In_ PVOID pvIn)
 
PIFIMETRICS APIENTRY DbgDrvQueryFont (DHPDEV dhpdev, ULONG_PTR iFile, ULONG iFace, ULONG_PTR *pid)
 
PVOID APIENTRY DbgDrvQueryFontTree (DHPDEV dhpdev, ULONG_PTR iFile, ULONG iFace, ULONG iMode, ULONG_PTR *pid)
 
LONG APIENTRY DbgDrvQueryFontData (DHPDEV dhpdev, FONTOBJ *pfo, ULONG iMode, HGLYPH hg, GLYPHDATA *pgd, _Out_ PVOID pv, ULONG cjSize)
 
ULONG APIENTRY DbgDrvSetPointerShape (_In_ SURFOBJ *pso, _In_ SURFOBJ *psoMask, _In_ SURFOBJ *psoColor, _In_ XLATEOBJ *pxlo, _In_ LONG xHot, _In_ LONG yHot, _In_ LONG x, _In_ LONG y, _In_ RECTL *prcl, _In_ FLONG fl)
 
VOID APIENTRY DbgDrvMovePointer (_In_ SURFOBJ *pso, _In_ LONG x, _In_ LONG y, _In_ RECTL *prcl)
 
BOOL APIENTRY DbgDrvLineTo (SURFOBJ *pso, CLIPOBJ *pco, BRUSHOBJ *pbo, LONG x1, LONG y1, LONG x2, LONG y2, RECTL *prclBounds, MIX mix)
 
BOOL APIENTRY DbgDrvSendPage (_In_ SURFOBJ *pso)
 
BOOL APIENTRY DbgDrvStartPage (_In_ SURFOBJ *pso)
 
BOOL APIENTRY DbgDrvEndDoc (_In_ SURFOBJ *pso, _In_ FLONG fl)
 
BOOL APIENTRY DbgDrvStartDoc (_In_ SURFOBJ *pso, _In_ LPWSTR pwszDocName, _In_ DWORD dwJobId)
 
ULONG APIENTRY DbgDrvGetGlyphMode (_In_ DHPDEV dhpdev, _In_ FONTOBJ *pfo)
 
VOID APIENTRY DbgDrvSynchronize (DHPDEV dhpdev, RECTL *prcl)
 
ULONG_PTR APIENTRY DbgDrvSaveScreenBits (SURFOBJ *pso, ULONG iMode, ULONG_PTR ident, RECTL *prcl)
 
ULONG APIENTRY DbgDrvGetModes (_In_ HANDLE hDriver, ULONG cjSize, _Out_opt_ DEVMODEW *pdm)
 
VOID APIENTRY DbgDrvFree (PVOID pv, ULONG_PTR id)
 
VOID APIENTRY DbgDrvDestroyFont (FONTOBJ *pfo)
 
LONG APIENTRY DbgDrvQueryFontCaps (ULONG culCaps, ULONG *pulCaps)
 
ULONG_PTR APIENTRY DbgDrvLoadFontFile (ULONG cFiles, ULONG_PTR *piFile, PVOID *ppvView, ULONG *pcjView, DESIGNVECTOR *pdv, ULONG ulLangID, ULONG ulFastCheckSum)
 
BOOL APIENTRY DbgDrvUnloadFontFile (ULONG_PTR iFile)
 
ULONG APIENTRY DbgDrvFontManagement (_In_ SURFOBJ *pso, _In_opt_ FONTOBJ *pfo, _In_ ULONG iMode, _In_ ULONG cjIn, _In_ PVOID pvIn, _In_ ULONG cjOut, _Out_ PVOID pvOut)
 
LONG APIENTRY DbgDrvQueryTrueTypeTable (ULONG_PTR iFile, ULONG ulFont, ULONG ulTag, PTRDIFF dpStart, ULONG cjBuf, BYTE *pjBuf, PBYTE *ppjTable, ULONG *pcjTable)
 
LONG APIENTRY DbgDrvQueryTrueTypeOutline (DHPDEV dhpdev, FONTOBJ *pfo, HGLYPH hglyph, BOOL bMetricsOnly, GLYPHDATA *pgldt, ULONG cjBuf, TTPOLYGONHEADER *ppoly)
 
PVOID APIENTRY DbgDrvGetTrueTypeFile (ULONG_PTR iFile, ULONG *pcj)
 
LONG APIENTRY DbgDrvQueryFontFile (ULONG_PTR iFile, ULONG ulMode, ULONG cjBuf, ULONG *pulBuf)
 
VOID APIENTRY DbgDrvMovePanning (LONG x, LONG y, FLONG fl)
 
BOOL APIENTRY DbgDrvQueryAdvanceWidths (DHPDEV dhpdev, FONTOBJ *pfo, ULONG iMode, _In_ HGLYPH *phg, _Out_ PVOID pvWidths, ULONG cGlyphs)
 
BOOL APIENTRY DbgDrvSetPixelFormat (SURFOBJ *pso, LONG iPixelFormat, HWND hwnd)
 
LONG APIENTRY DbgDrvDescribePixelFormat (DHPDEV dhpdev, LONG iPixelFormat, ULONG cjpfd, PIXELFORMATDESCRIPTOR *ppfd)
 
BOOL APIENTRY DbgDrvSwapBuffers (SURFOBJ *pso, WNDOBJ *pwo)
 
BOOL APIENTRY DbgDrvStartBanding (_In_ SURFOBJ *pso, _In_ POINTL *pptl)
 
BOOL APIENTRY DbgDrvNextBand (_In_ SURFOBJ *pso, _In_ POINTL *pptl)
 
BOOL APIENTRY DbgDrvGetDirectDrawInfo (DHPDEV dhpdev, DD_HALINFO *pHalInfo, DWORD *pdwNumHeaps, VIDEOMEMORY *pvmList, DWORD *pdwNumFourCCCodes, DWORD *pdwFourCC)
 
BOOL APIENTRY DbgDrvEnableDirectDraw (DHPDEV dhpdev, DD_CALLBACKS *pCallBacks, DD_SURFACECALLBACKS *pSurfaceCallBacks, DD_PALETTECALLBACKS *pPaletteCallBacks)
 
VOID APIENTRY DbgDrvDisableDirectDraw (DHPDEV dhpdev)
 
BOOL APIENTRY DbgDrvQuerySpoolType (DHPDEV PDev, LPWSTR SpoolType)
 
HANDLE APIENTRY DbgDrvIcmCreateColorTransform (_In_ DHPDEV dhpdev, _In_ LPLOGCOLORSPACEW pLogColorSpace, _In_opt_ PVOID pvSourceProfile, _In_ ULONG cjSourceProfile, _In_ PVOID pvDestProfile, _In_ ULONG cjDestProfile, _In_opt_ PVOID pvTargetProfile, _In_ ULONG cjTargetProfile, _In_ DWORD dwReserved)
 
BOOL APIENTRY DbgDrvIcmDeleteColorTransform (_In_ DHPDEV dhpdev, _In_ HANDLE hcmXform)
 
BOOL APIENTRY DbgDrvIcmCheckBitmapBits (DHPDEV dhpdev, HANDLE hColorTransform, SURFOBJ *pso, PBYTE paResults)
 
BOOL APIENTRY DbgDrvIcmSetDeviceGammaRamp (DHPDEV dhpdev, ULONG iFormat, LPVOID lpRamp)
 
BOOL APIENTRY DbgDrvGradientFill (_Inout_ SURFOBJ *psoTrg, _In_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_ TRIVERTEX *pVertex, _In_ ULONG nVertex, _In_ PVOID pMesh, _In_ ULONG nMesh, _In_ RECTL *prclExtents, _In_ POINTL *pptlDitherOrg, _In_ ULONG ulMode)
 
BOOL APIENTRY DbgDrvStretchBltROP (_Inout_ SURFOBJ *psoTrg, _Inout_ SURFOBJ *psoSrc, _In_opt_ SURFOBJ *psoMask, _In_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_opt_ COLORADJUSTMENT *pca, _In_ POINTL *pptlHTOrg, _In_ RECTL *prclDest, _In_ RECTL *prclSrc, _In_opt_ POINTL *pptlMask, _In_ ULONG iMode, _In_ BRUSHOBJ *pbo, _In_ DWORD rop4)
 
BOOL APIENTRY DbgDrvPlgBlt (_Inout_ SURFOBJ *psoTrg, _Inout_ SURFOBJ *psoSrc, _In_opt_ SURFOBJ *psoMsk, _In_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_opt_ COLORADJUSTMENT *pca, _In_opt_ POINTL *pptlBrushOrg, _In_ POINTFIX *pptfx, _In_ RECTL *prcl, _In_opt_ POINTL *pptl, _In_ ULONG iMode)
 
BOOL APIENTRY DbgDrvAlphaBlend (_Inout_ SURFOBJ *psoDest, _In_ SURFOBJ *psoSrc, _In_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_ RECTL *prclDest, _In_ RECTL *prclSrc, _In_ BLENDOBJ *pBlendObj)
 
VOID APIENTRY DbgSynthesizeFont (void)
 
VOID APIENTRY DbgGetSynthesizedFontFiles (void)
 
BOOL APIENTRY DbgDrvTransparentBlt (_Inout_ SURFOBJ *psoTrg, _In_ SURFOBJ *psoSrc, _In_ CLIPOBJ *pco, _In_opt_ XLATEOBJ *pxlo, _In_ RECTL *prclDst, _In_ RECTL *prclSrc, _In_ ULONG iTransColor, _In_ ULONG ulReserved)
 
ULONG APIENTRY DbgDrvQueryPerBandInfo (_In_ SURFOBJ *pso, _Inout_ PERBANDINFO *pbi)
 
BOOL APIENTRY DbgDrvQueryDeviceSupport (SURFOBJ *pso, XLATEOBJ *pxlo, XFORMOBJ *pxo, ULONG iType, ULONG cjIn, _In_ PVOID pvIn, ULONG cjOut, _Out_ PVOID pvOut)
 
HBITMAP APIENTRY DbgDrvDeriveSurface (DD_DIRECTDRAW_GLOBAL *pDirectDraw, DD_SURFACE_LOCAL *pSurface)
 
PFD_GLYPHATTR APIENTRY DbgDrvQueryGlyphAttrs (_In_ FONTOBJ *pfo, _In_ ULONG iMode)
 
VOID APIENTRY DbgDrvNotify (SURFOBJ *pso, ULONG iType, PVOID pvData)
 
VOID APIENTRY DbgDrvSynchronizeSurface (SURFOBJ *pso, RECTL *prcl, FLONG fl)
 
ULONG APIENTRY DbgDrvResetDevice (DHPDEV dhpdev, PVOID Reserved)
 

Variables

PVOID apfnDbgDrvFunctions []
 

Function Documentation

◆ DBG_DEFAULT_CHANNEL()

DBG_DEFAULT_CHANNEL ( EngDev  )

◆ DbgDrvAlphaBlend()

BOOL APIENTRY DbgDrvAlphaBlend ( _Inout_ SURFOBJ psoDest,
_In_ SURFOBJ psoSrc,
_In_ CLIPOBJ pco,
_In_opt_ XLATEOBJ pxlo,
_In_ RECTL prclDest,
_In_ RECTL prclSrc,
_In_ BLENDOBJ pBlendObj 
)

Definition at line 1037 of file drvdbg.c.

1045{
1046 return 0;
1047}

◆ DbgDrvAssertMode()

BOOL APIENTRY DbgDrvAssertMode ( _In_ DHPDEV  dhpdev,
_In_ BOOL  bEnable 
)

Definition at line 106 of file drvdbg.c.

109{
110 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
111
112 ASSERT(ppdev);
113
114 return ppdev->pldev->pfn.AssertMode(dhpdev, bEnable);
115}
PPDEVOBJ NTAPI DbgLookupDHPDEV(DHPDEV dhpdev)
#define ASSERT(a)
Definition: mode.c:44
struct _LDEVOBJ * pldev
Definition: pdevobj.h:119
_In_ BOOL bEnable
Definition: winddi.h:3426

◆ DbgDrvBitBlt()

BOOL APIENTRY DbgDrvBitBlt ( _Inout_ SURFOBJ psoTrg,
_In_opt_ SURFOBJ psoSrc,
_In_opt_ SURFOBJ psoMask,
_In_opt_ CLIPOBJ pco,
_In_opt_ XLATEOBJ pxlo,
_In_ RECTL prclTrg,
_When_(psoSrc, _In_) POINTL pptlSrc,
_When_(psoMask, _In_) POINTL pptlMask,
_In_opt_ BRUSHOBJ pbo,
_When_(pbo, _In_) POINTL pptlBrush,
_In_ ROP4  rop4 
)

Definition at line 270 of file drvdbg.c.

282{
283 PSURFACE psurfTrg = CONTAINING_RECORD(psoTrg, SURFACE, SurfObj);
284 PSURFACE psurfSrc = CONTAINING_RECORD(psoSrc, SURFACE, SurfObj);
285 PPDEVOBJ ppdev;
286
287 /* Get the right BitBlt function */
288 if (psurfTrg->flags & HOOK_BITBLT)
289 {
290 ppdev = (PPDEVOBJ)psoTrg->hdev;
291 }
292 else
293 {
295 ASSERT(psurfSrc->flags & HOOK_BITBLT);
296 ppdev = (PPDEVOBJ)psoSrc->hdev;
297 }
298
299 /* Sanity checks */
301 ASSERT(psoTrg);
302 ASSERT(psoTrg->iBitmapFormat >= BMF_1BPP);
303 ASSERT(psoTrg->iBitmapFormat <= BMF_32BPP);
305 ASSERT(prclTrg->left >= 0);
306 ASSERT(prclTrg->top >= 0);
307 ASSERT(prclTrg->right <= psoTrg->sizlBitmap.cx);
308 ASSERT(prclTrg->bottom <= psoTrg->sizlBitmap.cy);
310 ASSERT(pco);
311 ASSERT(pco->iDComplexity != DC_RECT);
312
314 {
315 ASSERT(psoSrc);
316 ASSERT(psoSrc->iBitmapFormat >= BMF_1BPP);
317 ASSERT(psoSrc->iBitmapFormat <= BMF_8RLE);
319 ASSERT(pptlSrc->x >= 0);
320 ASSERT(pptlSrc->y >= 0);
321 ASSERT(pptlSrc->x <= psoTrg->sizlBitmap.cx);
322 ASSERT(pptlSrc->y <= psoTrg->sizlBitmap.cy);
323 }
324
325 if (ROP4_USES_MASK(rop4))
326 {
328 ASSERT(psoMask->iBitmapFormat == BMF_1BPP);
330 ASSERT(pptlMask->x >= 0);
331 ASSERT(pptlMask->y >= 0);
332 ASSERT(pptlMask->x <= psoMask->sizlBitmap.cx);
333 ASSERT(pptlMask->y <= psoMask->sizlBitmap.cy);
334
335 }
336
338 {
339 ASSERT(pbo);
341 }
342
343
344 return ppdev->pldev->pfn.BitBlt(psoTrg,
345 psoSrc,
346 psoMask,
347 pco,
348 pxlo,
349 prclTrg,
350 pptlSrc,
351 pptlMask,
352 pbo,
353 pptlBrush,
354 rop4);
355}
#define ROP4_USES_PATTERN(Rop4)
Definition: inteng.h:46
#define ROP4_USES_MASK(Rop4)
Definition: inteng.h:47
#define IS_VALID_ROP4(rop)
Definition: inteng.h:49
#define ROP4_USES_SOURCE(Rop4)
Definition: inteng.h:45
struct _PDEVOBJ * PPDEVOBJ
Definition: mdevobj.h:6
FLONG flags
Definition: surface.h:10
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
FORCEINLINE BOOL RECTL_bIsWellOrdered(_In_ const RECTL *prcl)
Definition: rect.h:63
#define BMF_1BPP
Definition: winddi.h:355
_In_ SURFOBJ * psoSrc
Definition: winddi.h:3414
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL * prclTrg
Definition: winddi.h:3437
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL _In_opt_ POINTL _In_opt_ BRUSHOBJ _In_opt_ POINTL _In_ ROP4 rop4
Definition: winddi.h:3442
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL _In_opt_ POINTL _In_opt_ BRUSHOBJ _In_opt_ POINTL * pptlBrush
Definition: winddi.h:3441
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ * pxlo
Definition: winddi.h:3416
_In_opt_ SURFOBJ _In_opt_ SURFOBJ * psoMask
Definition: winddi.h:3434
#define BMF_32BPP
Definition: winddi.h:360
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL * pptlSrc
Definition: winddi.h:3438
#define DC_RECT
Definition: winddi.h:260
#define HOOK_BITBLT
Definition: winddi.h:1420
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL _In_opt_ POINTL _In_opt_ BRUSHOBJ * pbo
Definition: winddi.h:3440
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL _In_opt_ POINTL * pptlMask
Definition: winddi.h:3439
#define BMF_8RLE
Definition: winddi.h:362
_In_ SURFOBJ _In_ CLIPOBJ * pco
Definition: winddi.h:3415

◆ DbgDrvCompletePDEV()

VOID APIENTRY DbgDrvCompletePDEV ( DHPDEV  dhpdev,
HDEV  hdev 
)

Definition at line 57 of file drvdbg.c.

60{
61 PPDEVOBJ ppdev = (PPDEVOBJ)hdev;
62
63 ASSERT(ppdev);
64
65 ppdev->pldev->pfn.CompletePDEV(dhpdev, hdev);
66}
_In_ HDEV hdev
Definition: winddi.h:3449

◆ DbgDrvCopyBits()

BOOL APIENTRY DbgDrvCopyBits ( SURFOBJ psoTrg,
SURFOBJ psoSrc,
CLIPOBJ pco,
XLATEOBJ pxlo,
RECTL prclTrg,
POINTL pptlSrc 
)

Definition at line 359 of file drvdbg.c.

366{
367 PSURFACE psurfTrg = CONTAINING_RECORD(psoTrg, SURFACE, SurfObj);
368 PSURFACE psurfSrc = CONTAINING_RECORD(psoSrc, SURFACE, SurfObj);
369 PPDEVOBJ ppdev;
370
371 /* Get the right BitBlt function */
372 if (psurfTrg->flags & HOOK_COPYBITS)
373 {
374 ppdev = (PPDEVOBJ)psoTrg->hdev;
375 }
376 else
377 {
378 ASSERT(psurfSrc->flags & HOOK_COPYBITS);
379 ppdev = (PPDEVOBJ)psoSrc->hdev;
380 }
381
382 return ppdev->pldev->pfn.CopyBits(psoTrg,
383 psoSrc,
384 pco,
385 pxlo,
386 prclTrg,
387 pptlSrc);
388
389}
HDEV hdev
Definition: winddi.h:1208
#define HOOK_COPYBITS
Definition: winddi.h:1429

◆ DbgDrvCreateDeviceBitmap()

HBITMAP APIENTRY DbgDrvCreateDeviceBitmap ( DHPDEV  dhpdev,
SIZEL  sizl,
ULONG  iFormat 
)

Definition at line 153 of file drvdbg.c.

157{
158 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
159
160 ASSERT(ppdev);
161
162 return ppdev->pldev->pfn.CreateDeviceBitmap(dhpdev, sizl, iFormat);
163}
_In_ SIZEL _In_ ULONG iFormat
Definition: winddi.h:3468
_In_ SIZEL sizl
Definition: winddi.h:3467

◆ DbgDrvDeleteDeviceBitmap()

VOID APIENTRY DbgDrvDeleteDeviceBitmap ( DHSURF  dhsurf)

Definition at line 167 of file drvdbg.c.

169{
170 ASSERT(FALSE);
171}
#define FALSE
Definition: types.h:117

◆ DbgDrvDeriveSurface()

HBITMAP APIENTRY DbgDrvDeriveSurface ( DD_DIRECTDRAW_GLOBAL pDirectDraw,
DD_SURFACE_LOCAL pSurface 
)

Definition at line 1116 of file drvdbg.c.

1119{
1120 return 0;
1121}

◆ DbgDrvDescribePixelFormat()

LONG APIENTRY DbgDrvDescribePixelFormat ( DHPDEV  dhpdev,
LONG  iPixelFormat,
ULONG  cjpfd,
PIXELFORMATDESCRIPTOR ppfd 
)

Definition at line 800 of file drvdbg.c.

805{
806 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
807
808 ASSERT(ppdev);
809
810 return ppdev->pldev->pfn.DescribePixelFormat(dhpdev, iPixelFormat, cjpfd, ppfd);
811}
_In_ LONG iPixelFormat
Definition: winddi.h:3488
_In_ LONG _In_ ULONG cjpfd
Definition: winddi.h:3489
_In_ LONG _In_ ULONG _Out_opt_ PIXELFORMATDESCRIPTOR * ppfd
Definition: winddi.h:3490

◆ DbgDrvDestroyFont()

VOID APIENTRY DbgDrvDestroyFont ( FONTOBJ pfo)

Definition at line 662 of file drvdbg.c.

664{
665}

◆ DbgDrvDisableDirectDraw()

VOID APIENTRY DbgDrvDisableDirectDraw ( DHPDEV  dhpdev)

Definition at line 885 of file drvdbg.c.

887{
888 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
889
890 ASSERT(ppdev);
891
892 ppdev->pldev->pfn.DisableDirectDraw(dhpdev);
893}

◆ DbgDrvDisableDriver()

VOID APIENTRY DbgDrvDisableDriver ( void  )

Definition at line 146 of file drvdbg.c.

147{
148 ASSERT(FALSE);
149}

◆ DbgDrvDisablePDEV()

VOID APIENTRY DbgDrvDisablePDEV ( DHPDEV  dhpdev)

Definition at line 70 of file drvdbg.c.

72{
73 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
74
75 ASSERT(ppdev);
76
77 ppdev->pldev->pfn.DisablePDEV(dhpdev);
78}

◆ DbgDrvDisableSurface()

VOID APIENTRY DbgDrvDisableSurface ( DHPDEV  dhpdev)

Definition at line 94 of file drvdbg.c.

96{
97 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
98
99 ASSERT(ppdev);
100
101 ppdev->pldev->pfn.DisableSurface(dhpdev);
102}

◆ DbgDrvDitherColor()

ULONG APIENTRY DbgDrvDitherColor ( _In_ DHPDEV  dhpdev,
_In_ ULONG  iMode,
_In_ ULONG  rgb,
_Inout_ ULONG pul 
)

Definition at line 190 of file drvdbg.c.

195{
196 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
197
198 ASSERT(ppdev);
199
200 return ppdev->pldev->pfn.DitherColor(dhpdev, iMode, rgb, pul);
201}
_In_ ULONG _In_ ULONG rgb
Definition: winddi.h:3521
_In_ ULONG iMode
Definition: winddi.h:3520

◆ DbgDrvDrawEscape()

ULONG APIENTRY DbgDrvDrawEscape ( _In_ SURFOBJ pso,
_In_ ULONG  iEsc,
_In_ CLIPOBJ pco,
_In_ RECTL prcl,
_In_ ULONG  cjIn,
_In_ PVOID  pvIn 
)

Definition at line 462 of file drvdbg.c.

469{
470 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
471 return 0;
472}
_In_ HANDLE _In_ SURFOBJ * pso
Definition: winddi.h:3665

◆ DbgDrvEnableDirectDraw()

BOOL APIENTRY DbgDrvEnableDirectDraw ( DHPDEV  dhpdev,
DD_CALLBACKS pCallBacks,
DD_SURFACECALLBACKS pSurfaceCallBacks,
DD_PALETTECALLBACKS pPaletteCallBacks 
)

Definition at line 867 of file drvdbg.c.

872{
873 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
874
875 ASSERT(ppdev);
876
877 return ppdev->pldev->pfn.EnableDirectDraw(dhpdev,
881}
_Out_ DD_CALLBACKS _Out_ DD_SURFACECALLBACKS * pSurfaceCallBacks
Definition: winddi.h:4218
_Out_ DD_CALLBACKS * pCallBacks
Definition: winddi.h:4217
_Out_ DD_CALLBACKS _Out_ DD_SURFACECALLBACKS _Out_ DD_PALETTECALLBACKS * pPaletteCallBacks
Definition: winddi.h:4219

◆ DbgDrvEnablePDEV()

DHPDEV APIENTRY DbgDrvEnablePDEV ( _In_ DEVMODEW pdm,
_In_ LPWSTR  pwszLogAddress,
ULONG  cPat,
_In_opt_ HSURF phsurfPatterns,
ULONG  cjCaps,
_Out_ ULONG pdevcaps,
ULONG  cjDevInfo,
_Out_ DEVINFO pdi,
HDEV  hdev,
_In_ LPWSTR  pwszDeviceName,
HANDLE  hDriver 
)

Definition at line 24 of file drvdbg.c.

36{
37 PPDEVOBJ ppdev = (PPDEVOBJ)hdev;
38
39 ASSERT(pdm);
40 ASSERT(hdev);
41
42 return ppdev->pldev->pfn.EnablePDEV(pdm,
44 cPat,
45 phsurfPatterns,
46 cjCaps,
47 pdevcaps,
49 pdi,
50 hdev,
52 hDriver);
53}
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG cjDevInfo
Definition: winddi.h:3553
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO * pdi
Definition: winddi.h:3554
_In_ LPWSTR pwszLogAddress
Definition: winddi.h:3548
_In_ LPWSTR _In_ ULONG _In_ ULONG cjCaps
Definition: winddi.h:3551
_In_ LPWSTR _In_ ULONG cPat
Definition: winddi.h:3549
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR pwszDeviceName
Definition: winddi.h:3556
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR _In_ HANDLE hDriver
Definition: winddi.h:3557

◆ DbgDrvEnableSurface()

HSURF APIENTRY DbgDrvEnableSurface ( DHPDEV  dhpdev)

Definition at line 82 of file drvdbg.c.

84{
85 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
86
87 ASSERT(ppdev);
88
89 return ppdev->pldev->pfn.EnableSurface(dhpdev);
90}

◆ DbgDrvEndDoc()

BOOL APIENTRY DbgDrvEndDoc ( _In_ SURFOBJ pso,
_In_ FLONG  fl 
)

Definition at line 585 of file drvdbg.c.

588{
589 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
590 return 0;
591}

◆ DbgDrvEscape()

ULONG APIENTRY DbgDrvEscape ( _In_ SURFOBJ pso,
_In_ ULONG  iEsc,
_In_ ULONG  cjIn,
_In_ PVOID  pvIn,
_In_ ULONG  cjOut,
_Out_ PVOID  pvOut 
)

Definition at line 448 of file drvdbg.c.

455{
456 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
457 return 0;
458}

◆ DbgDrvFillPath()

BOOL APIENTRY DbgDrvFillPath ( _Inout_ SURFOBJ pso,
_In_ PATHOBJ ppo,
_In_ CLIPOBJ pco,
_In_ BRUSHOBJ pbo,
_In_ POINTL pptlBrushOrg,
_In_ MIX  mix,
_In_ FLONG  flOptions 
)

Definition at line 222 of file drvdbg.c.

230{
231 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
232 ASSERT(FALSE);
233 return 0;
234}

◆ DbgDrvFontManagement()

ULONG APIENTRY DbgDrvFontManagement ( _In_ SURFOBJ pso,
_In_opt_ FONTOBJ pfo,
_In_ ULONG  iMode,
_In_ ULONG  cjIn,
_In_ PVOID  pvIn,
_In_ ULONG  cjOut,
_Out_ PVOID  pvOut 
)

Definition at line 700 of file drvdbg.c.

708{
709 return 0;
710}

◆ DbgDrvFree()

VOID APIENTRY DbgDrvFree ( PVOID  pv,
ULONG_PTR  id 
)

Definition at line 654 of file drvdbg.c.

657{
658}

◆ DbgDrvGetDirectDrawInfo()

BOOL APIENTRY DbgDrvGetDirectDrawInfo ( DHPDEV  dhpdev,
DD_HALINFO pHalInfo,
DWORD pdwNumHeaps,
VIDEOMEMORY pvmList,
DWORD pdwNumFourCCCodes,
DWORD pdwFourCC 
)

Definition at line 845 of file drvdbg.c.

852{
853 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
854
855 ASSERT(ppdev);
856
857 return ppdev->pldev->pfn.GetDirectDrawInfo(dhpdev,
858 pHalInfo,
860 pvmList,
862 pdwFourCC);
863}
_Out_ DD_HALINFO _Out_ DWORD _Out_ VIDEOMEMORY _Out_ DWORD _Out_ DWORD * pdwFourCC
Definition: winddi.h:4230
_Out_ DD_HALINFO _Out_ DWORD _Out_ VIDEOMEMORY _Out_ DWORD * pdwNumFourCCCodes
Definition: winddi.h:4229
_Out_ DD_HALINFO _Out_ DWORD * pdwNumHeaps
Definition: winddi.h:4227
_Out_ DD_HALINFO * pHalInfo
Definition: winddi.h:4226
_Out_ DD_HALINFO _Out_ DWORD _Out_ VIDEOMEMORY * pvmList
Definition: winddi.h:4228

◆ DbgDrvGetGlyphMode()

ULONG APIENTRY DbgDrvGetGlyphMode ( _In_ DHPDEV  dhpdev,
_In_ FONTOBJ pfo 
)

Definition at line 606 of file drvdbg.c.

609{
610 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
611
612 ASSERT(ppdev);
613
614 return ppdev->pldev->pfn.GetGlyphMode(dhpdev, pfo);
615}
_In_opt_ FONTOBJ * pfo
Definition: winddi.h:3603

◆ DbgDrvGetModes()

ULONG APIENTRY DbgDrvGetModes ( _In_ HANDLE  hDriver,
ULONG  cjSize,
_Out_opt_ DEVMODEW pdm 
)

Definition at line 644 of file drvdbg.c.

648{
649 return 0;
650}

◆ DbgDrvGetTrueTypeFile()

PVOID APIENTRY DbgDrvGetTrueTypeFile ( ULONG_PTR  iFile,
ULONG pcj 
)

Definition at line 744 of file drvdbg.c.

747{
748 return 0;
749}

◆ DbgDrvGradientFill()

BOOL APIENTRY DbgDrvGradientFill ( _Inout_ SURFOBJ psoTrg,
_In_ CLIPOBJ pco,
_In_opt_ XLATEOBJ pxlo,
_In_ TRIVERTEX pVertex,
_In_ ULONG  nVertex,
_In_ PVOID  pMesh,
_In_ ULONG  nMesh,
_In_ RECTL prclExtents,
_In_ POINTL pptlDitherOrg,
_In_ ULONG  ulMode 
)

Definition at line 979 of file drvdbg.c.

990{
991 PPDEVOBJ ppdev = (PPDEVOBJ)psoTrg->hdev;
992 return 0;
993}

◆ DbgDrvIcmCheckBitmapBits()

BOOL APIENTRY DbgDrvIcmCheckBitmapBits ( DHPDEV  dhpdev,
HANDLE  hColorTransform,
SURFOBJ pso,
PBYTE  paResults 
)

Definition at line 947 of file drvdbg.c.

952{
953 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
954
955 ASSERT(ppdev);
956
957 return ppdev->pldev->pfn.IcmCheckBitmapBits(dhpdev,
959 pso,
960 paResults);
961}
_In_ HANDLE hColorTransform
Definition: winddi.h:3664

◆ DbgDrvIcmCreateColorTransform()

HANDLE APIENTRY DbgDrvIcmCreateColorTransform ( _In_ DHPDEV  dhpdev,
_In_ LPLOGCOLORSPACEW  pLogColorSpace,
_In_opt_ PVOID  pvSourceProfile,
_In_ ULONG  cjSourceProfile,
_In_ PVOID  pvDestProfile,
_In_ ULONG  cjDestProfile,
_In_opt_ PVOID  pvTargetProfile,
_In_ ULONG  cjTargetProfile,
_In_ DWORD  dwReserved 
)

Definition at line 906 of file drvdbg.c.

916{
917 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
918
919 ASSERT(ppdev);
920
921 return ppdev->pldev->pfn.IcmCreateColorTransform(dhpdev,
923 pvSourceProfile,
925 pvDestProfile,
927 pvTargetProfile,
929 dwReserved);
930}
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:95
_In_ LPLOGCOLORSPACEW _In_ ULONG _In_ ULONG cjDestProfile
Definition: winddi.h:3677
_In_ LPLOGCOLORSPACEW pLogColorSpace
Definition: winddi.h:3673
_In_ LPLOGCOLORSPACEW _In_ ULONG _In_ ULONG _In_ ULONG cjTargetProfile
Definition: winddi.h:3679
_In_ LPLOGCOLORSPACEW _In_ ULONG cjSourceProfile
Definition: winddi.h:3675

◆ DbgDrvIcmDeleteColorTransform()

BOOL APIENTRY DbgDrvIcmDeleteColorTransform ( _In_ DHPDEV  dhpdev,
_In_ HANDLE  hcmXform 
)

Definition at line 934 of file drvdbg.c.

937{
938 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
939
940 ASSERT(ppdev);
941
942 return ppdev->pldev->pfn.IcmDeleteColorTransform(dhpdev, hcmXform);
943}
_In_ HANDLE hcmXform
Definition: winddi.h:3687

◆ DbgDrvIcmSetDeviceGammaRamp()

BOOL APIENTRY DbgDrvIcmSetDeviceGammaRamp ( DHPDEV  dhpdev,
ULONG  iFormat,
LPVOID  lpRamp 
)

Definition at line 965 of file drvdbg.c.

969{
970 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
971
972 ASSERT(ppdev);
973
974 return ppdev->pldev->pfn.IcmSetDeviceGammaRamp(dhpdev, iFormat, lpRamp);
975}

◆ DbgDrvLineTo()

BOOL APIENTRY DbgDrvLineTo ( SURFOBJ pso,
CLIPOBJ pco,
BRUSHOBJ pbo,
LONG  x1,
LONG  y1,
LONG  x2,
LONG  y2,
RECTL prclBounds,
MIX  mix 
)

Definition at line 550 of file drvdbg.c.

560{
561 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
562 return 0;
563}

◆ DbgDrvLoadFontFile()

ULONG_PTR APIENTRY DbgDrvLoadFontFile ( ULONG  cFiles,
ULONG_PTR piFile,
PVOID ppvView,
ULONG pcjView,
DESIGNVECTOR pdv,
ULONG  ulLangID,
ULONG  ulFastCheckSum 
)

Definition at line 678 of file drvdbg.c.

686{
687 return 0;
688}

◆ DbgDrvMovePanning()

VOID APIENTRY DbgDrvMovePanning ( LONG  x,
LONG  y,
FLONG  fl 
)

Definition at line 764 of file drvdbg.c.

768{
769 ERR("Obsolete driver function %s called!\n", __FUNCTION__);
770 ASSERT(FALSE);
771}
#define ERR(fmt,...)
Definition: debug.h:110
#define __FUNCTION__
Definition: types.h:116

◆ DbgDrvMovePointer()

VOID APIENTRY DbgDrvMovePointer ( _In_ SURFOBJ pso,
_In_ LONG  x,
_In_ LONG  y,
_In_ RECTL prcl 
)

Definition at line 539 of file drvdbg.c.

544{
545 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
546}

◆ DbgDrvNextBand()

BOOL APIENTRY DbgDrvNextBand ( _In_ SURFOBJ pso,
_In_ POINTL pptl 
)

Definition at line 835 of file drvdbg.c.

838{
839 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
840 return 0;
841}

◆ DbgDrvNotify()

VOID APIENTRY DbgDrvNotify ( SURFOBJ pso,
ULONG  iType,
PVOID  pvData 
)

Definition at line 1134 of file drvdbg.c.

1138{
1139 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
1140 ASSERT(ppdev);
1141
1142 ppdev->pldev->pfn.Notify(pso, iType, pvData);
1143}
_In_ ULONG iType
Definition: winddi.h:3748
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3749

◆ DbgDrvOffset()

BOOL APIENTRY DbgDrvOffset ( SURFOBJ pso,
LONG  x1,
LONG  x2,
FLONG  fl 
)

Definition at line 119 of file drvdbg.c.

124{
125 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
126
127 ASSERT(FALSE);
128 return 0;
129}

◆ DbgDrvPaint()

BOOL APIENTRY DbgDrvPaint ( IN SURFOBJ pso,
IN CLIPOBJ pco,
IN BRUSHOBJ pbo,
IN POINTL pptlBrushOrg,
IN MIX  mix 
)

Definition at line 257 of file drvdbg.c.

263{
264 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
265 return 0;
266}

◆ DbgDrvPlgBlt()

BOOL APIENTRY DbgDrvPlgBlt ( _Inout_ SURFOBJ psoTrg,
_Inout_ SURFOBJ psoSrc,
_In_opt_ SURFOBJ psoMsk,
_In_ CLIPOBJ pco,
_In_opt_ XLATEOBJ pxlo,
_In_opt_ COLORADJUSTMENT pca,
_In_opt_ POINTL pptlBrushOrg,
_In_ POINTFIX pptfx,
_In_ RECTL prcl,
_In_opt_ POINTL pptl,
_In_ ULONG  iMode 
)

Definition at line 1018 of file drvdbg.c.

1030{
1031 PPDEVOBJ ppdev = (PPDEVOBJ)psoTrg->hdev;
1032 return 0;
1033}

◆ DbgDrvQueryAdvanceWidths()

BOOL APIENTRY DbgDrvQueryAdvanceWidths ( DHPDEV  dhpdev,
FONTOBJ pfo,
ULONG  iMode,
_In_ HGLYPH phg,
_Out_ PVOID  pvWidths,
ULONG  cGlyphs 
)

Definition at line 775 of file drvdbg.c.

782{
783 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
784 return 0;
785}

◆ DbgDrvQueryDeviceSupport()

BOOL APIENTRY DbgDrvQueryDeviceSupport ( SURFOBJ pso,
XLATEOBJ pxlo,
XFORMOBJ pxo,
ULONG  iType,
ULONG  cjIn,
_In_ PVOID  pvIn,
ULONG  cjOut,
_Out_ PVOID  pvOut 
)

Definition at line 1091 of file drvdbg.c.

1100{
1101 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
1102 ASSERT(ppdev);
1103
1104 return ppdev->pldev->pfn.QueryDeviceSupport(pso,
1105 pxlo,
1106 (PVOID)pxo, // FIXME!!!
1107 iType,
1108 cjIn,
1109 pvIn,
1110 cjOut,
1111 pvOut);
1112}
_In_ ULONG _In_ ULONG _In_ ULONG cjOut
Definition: winddi.h:3583
_In_ XLATEOBJ _In_ XFORMOBJ * pxo
Definition: winddi.h:3811
_In_ ULONG _In_ CLIPOBJ _In_ RECTL _In_ ULONG cjIn
Definition: winddi.h:3532

◆ DbgDrvQueryFont()

PIFIMETRICS APIENTRY DbgDrvQueryFont ( DHPDEV  dhpdev,
ULONG_PTR  iFile,
ULONG  iFace,
ULONG_PTR pid 
)

Definition at line 476 of file drvdbg.c.

481{
482 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
483
484 ASSERT(ppdev);
485
486 return ppdev->pldev->pfn.QueryFont(dhpdev, iFile, iFace, pid);
487}
_In_ ULONG_PTR _In_ ULONG iFace
Definition: winddi.h:3836
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
Definition: winddi.h:3837
_In_ ULONG_PTR iFile
Definition: winddi.h:3835

◆ DbgDrvQueryFontCaps()

LONG APIENTRY DbgDrvQueryFontCaps ( ULONG  culCaps,
ULONG pulCaps 
)

Definition at line 669 of file drvdbg.c.

672{
673 return 0;
674}

◆ DbgDrvQueryFontData()

LONG APIENTRY DbgDrvQueryFontData ( DHPDEV  dhpdev,
FONTOBJ pfo,
ULONG  iMode,
HGLYPH  hg,
GLYPHDATA pgd,
_Out_ PVOID  pv,
ULONG  cjSize 
)

Definition at line 503 of file drvdbg.c.

511{
512 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
513
514 ASSERT(ppdev);
515
516 return ppdev->pldev->pfn.QueryFontData(dhpdev, pfo, iMode, hg, pgd, pv, cjSize);
517}
_In_ FONTOBJ _In_ ULONG _In_ HGLYPH _In_opt_ GLYPHDATA * pgd
Definition: winddi.h:3872
_In_ ULONG cjSize
Definition: winddi.h:3634
_In_ FONTOBJ _In_ ULONG _In_ HGLYPH hg
Definition: winddi.h:3871

◆ DbgDrvQueryFontFile()

LONG APIENTRY DbgDrvQueryFontFile ( ULONG_PTR  iFile,
ULONG  ulMode,
ULONG  cjBuf,
ULONG pulBuf 
)

Definition at line 753 of file drvdbg.c.

758{
759 return 0;
760}

◆ DbgDrvQueryFontTree()

PVOID APIENTRY DbgDrvQueryFontTree ( DHPDEV  dhpdev,
ULONG_PTR  iFile,
ULONG  iFace,
ULONG  iMode,
ULONG_PTR pid 
)

Definition at line 491 of file drvdbg.c.

497{
498 return 0;
499}

◆ DbgDrvQueryGlyphAttrs()

PFD_GLYPHATTR APIENTRY DbgDrvQueryGlyphAttrs ( _In_ FONTOBJ pfo,
_In_ ULONG  iMode 
)

Definition at line 1125 of file drvdbg.c.

1128{
1129 return 0;
1130}

◆ DbgDrvQueryPerBandInfo()

ULONG APIENTRY DbgDrvQueryPerBandInfo ( _In_ SURFOBJ pso,
_Inout_ PERBANDINFO pbi 
)

Definition at line 1081 of file drvdbg.c.

1084{
1085 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
1086 return 0;
1087}

◆ DbgDrvQuerySpoolType()

BOOL APIENTRY DbgDrvQuerySpoolType ( DHPDEV  PDev,
LPWSTR  SpoolType 
)

Definition at line 897 of file drvdbg.c.

898{
899 ERR("Obsolete driver function %s called!\n", __FUNCTION__);
900 ASSERT(FALSE);
901 return 0;
902}

◆ DbgDrvQueryTrueTypeOutline()

LONG APIENTRY DbgDrvQueryTrueTypeOutline ( DHPDEV  dhpdev,
FONTOBJ pfo,
HGLYPH  hglyph,
BOOL  bMetricsOnly,
GLYPHDATA pgldt,
ULONG  cjBuf,
TTPOLYGONHEADER ppoly 
)

Definition at line 729 of file drvdbg.c.

737{
738 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
739 return 0;
740}

◆ DbgDrvQueryTrueTypeTable()

LONG APIENTRY DbgDrvQueryTrueTypeTable ( ULONG_PTR  iFile,
ULONG  ulFont,
ULONG  ulTag,
PTRDIFF  dpStart,
ULONG  cjBuf,
BYTE pjBuf,
PBYTE ppjTable,
ULONG pcjTable 
)

Definition at line 714 of file drvdbg.c.

723{
724 return 0;
725}

◆ DbgDrvRealizeBrush()

BOOL APIENTRY DbgDrvRealizeBrush ( _In_ BRUSHOBJ pbo,
_Inout_ SURFOBJ psoTarget,
_In_ SURFOBJ psoPattern,
_In_opt_ SURFOBJ psoMask,
_In_ XLATEOBJ pxlo,
_In_ ULONG  iHatch 
)

Definition at line 175 of file drvdbg.c.

182{
183 PPDEVOBJ ppdev = (PPDEVOBJ)psoTarget->hdev;
184 ASSERT(FALSE);
185 return 0;
186}
_Inout_ SURFOBJ * psoTarget
Definition: winddi.h:3959

◆ DbgDrvReserved()

VOID DbgDrvReserved ( void  )

Definition at line 17 of file drvdbg.c.

18{
20}

◆ DbgDrvResetDevice()

ULONG APIENTRY DbgDrvResetDevice ( DHPDEV  dhpdev,
PVOID  Reserved 
)

Definition at line 1160 of file drvdbg.c.

1163{
1164 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
1165 ASSERT(ppdev);
1166
1167 return ppdev->pldev->pfn.ResetDevice(dhpdev, Reserved);
1168}
_Reserved_ PVOID Reserved
Definition: winddi.h:3974

◆ DbgDrvResetPDEV()

ULONG APIENTRY DbgDrvResetPDEV ( DHPDEV  dhpdev,
PVOID  Reserved 
)

Definition at line 133 of file drvdbg.c.

136{
137 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
138
139 ASSERT(ppdev);
140
141 return ppdev->pldev->pfn.ResetDevice(dhpdev, Reserved);
142}

◆ DbgDrvSaveScreenBits()

ULONG_PTR APIENTRY DbgDrvSaveScreenBits ( SURFOBJ pso,
ULONG  iMode,
ULONG_PTR  ident,
RECTL prcl 
)

Definition at line 632 of file drvdbg.c.

637{
638 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
639 return 0;
640}

◆ DbgDrvSendPage()

BOOL APIENTRY DbgDrvSendPage ( _In_ SURFOBJ pso)

Definition at line 567 of file drvdbg.c.

569{
570 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
571 return 0;
572}

◆ DbgDrvSetPalette()

BOOL APIENTRY DbgDrvSetPalette ( DHPDEV  dhpdev,
PALOBJ ppalo,
FLONG  fl,
ULONG  iStart,
ULONG  cColors 
)

Definition at line 414 of file drvdbg.c.

420{
421 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
422
423 ASSERT(ppdev);
424
425 return ppdev->pldev->pfn.SetPalette(dhpdev, ppalo, fl, iStart, cColors);
426}
_In_ PALOBJ * ppalo
Definition: winddi.h:4012
_In_ FLONG fl
Definition: winddi.h:1279
_In_ UINT iStart
Definition: wingdi.h:3620

◆ DbgDrvSetPixelFormat()

BOOL APIENTRY DbgDrvSetPixelFormat ( SURFOBJ pso,
LONG  iPixelFormat,
HWND  hwnd 
)

Definition at line 789 of file drvdbg.c.

793{
794 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
795 return 0;
796}

◆ DbgDrvSetPointerShape()

ULONG APIENTRY DbgDrvSetPointerShape ( _In_ SURFOBJ pso,
_In_ SURFOBJ psoMask,
_In_ SURFOBJ psoColor,
_In_ XLATEOBJ pxlo,
_In_ LONG  xHot,
_In_ LONG  yHot,
_In_ LONG  x,
_In_ LONG  y,
_In_ RECTL prcl,
_In_ FLONG  fl 
)

Definition at line 521 of file drvdbg.c.

532{
533 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
534 return 0;
535}

◆ DbgDrvStartBanding()

BOOL APIENTRY DbgDrvStartBanding ( _In_ SURFOBJ pso,
_In_ POINTL pptl 
)

Definition at line 825 of file drvdbg.c.

828{
829 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
830 return 0;
831}

◆ DbgDrvStartDoc()

BOOL APIENTRY DbgDrvStartDoc ( _In_ SURFOBJ pso,
_In_ LPWSTR  pwszDocName,
_In_ DWORD  dwJobId 
)

Definition at line 595 of file drvdbg.c.

599{
600 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
601 return 0;
602}

◆ DbgDrvStartPage()

BOOL APIENTRY DbgDrvStartPage ( _In_ SURFOBJ pso)

Definition at line 576 of file drvdbg.c.

578{
579 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
580 return 0;
581}

◆ DbgDrvStretchBlt()

BOOL APIENTRY DbgDrvStretchBlt ( _Inout_ SURFOBJ psoTrg,
_Inout_ SURFOBJ psoSrc,
_In_opt_ SURFOBJ psoMask,
_In_ CLIPOBJ pco,
_In_opt_ XLATEOBJ pxlo,
_In_opt_ COLORADJUSTMENT pca,
_In_ POINTL pptlHTOrg,
_In_ RECTL prclDest,
_In_ RECTL prclSrc,
_In_opt_ POINTL pptlMask,
_In_ ULONG  iMode 
)

Definition at line 393 of file drvdbg.c.

405{
406 PSURFACE psurfTrg = CONTAINING_RECORD(psoTrg, SURFACE, SurfObj);
407 PSURFACE psurfSrc = CONTAINING_RECORD(psoSrc, SURFACE, SurfObj);
408
409 return 0;
410}

◆ DbgDrvStretchBltROP()

BOOL APIENTRY DbgDrvStretchBltROP ( _Inout_ SURFOBJ psoTrg,
_Inout_ SURFOBJ psoSrc,
_In_opt_ SURFOBJ psoMask,
_In_ CLIPOBJ pco,
_In_opt_ XLATEOBJ pxlo,
_In_opt_ COLORADJUSTMENT pca,
_In_ POINTL pptlHTOrg,
_In_ RECTL prclDest,
_In_ RECTL prclSrc,
_In_opt_ POINTL pptlMask,
_In_ ULONG  iMode,
_In_ BRUSHOBJ pbo,
_In_ DWORD  rop4 
)

Definition at line 997 of file drvdbg.c.

1011{
1012 PPDEVOBJ ppdev = (PPDEVOBJ)psoTrg->hdev;
1013 return 0;
1014}

◆ DbgDrvStrokeAndFillPath()

BOOL APIENTRY DbgDrvStrokeAndFillPath ( _Inout_ SURFOBJ pso,
_Inout_ PATHOBJ ppo,
_In_ CLIPOBJ pco,
_In_opt_ XFORMOBJ pxo,
_In_ BRUSHOBJ pboStroke,
_In_ LINEATTRS plineattrs,
_In_ BRUSHOBJ pboFill,
_In_ POINTL pptlBrushOrg,
_In_ MIX  mixFill,
_In_ FLONG  flOptions 
)

Definition at line 238 of file drvdbg.c.

249{
250 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
251 ASSERT(FALSE);
252 return 0;
253}

◆ DbgDrvStrokePath()

BOOL APIENTRY DbgDrvStrokePath ( _Inout_ SURFOBJ pso,
_In_ PATHOBJ ppo,
_In_ CLIPOBJ pco,
_In_opt_ XFORMOBJ pxo,
_In_ BRUSHOBJ pbo,
_In_ POINTL pptlBrushOrg,
_In_ LINEATTRS plineattrs,
_In_ MIX  mix 
)

Definition at line 205 of file drvdbg.c.

214{
215 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
216 ASSERT(FALSE);
217 return 0;
218}

◆ DbgDrvSwapBuffers()

BOOL APIENTRY DbgDrvSwapBuffers ( SURFOBJ pso,
WNDOBJ pwo 
)

Definition at line 815 of file drvdbg.c.

818{
819 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
820 return 0;
821}

◆ DbgDrvSynchronize()

VOID APIENTRY DbgDrvSynchronize ( DHPDEV  dhpdev,
RECTL prcl 
)

Definition at line 619 of file drvdbg.c.

622{
623 PPDEVOBJ ppdev = DbgLookupDHPDEV(dhpdev);
624
625 ASSERT(ppdev);
626
627 ppdev->pldev->pfn.Synchronize(dhpdev, prcl);
628}
_In_ ULONG _In_ CLIPOBJ _In_ RECTL * prcl
Definition: winddi.h:3531

◆ DbgDrvSynchronizeSurface()

VOID APIENTRY DbgDrvSynchronizeSurface ( SURFOBJ pso,
RECTL prcl,
FLONG  fl 
)

Definition at line 1147 of file drvdbg.c.

1151{
1152 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
1153 ASSERT(ppdev);
1154
1155 ppdev->pldev->pfn.SynchronizeSurface(pso, prcl, fl);
1156}

◆ DbgDrvTextOut()

BOOL APIENTRY DbgDrvTextOut ( SURFOBJ pso,
STROBJ pstro,
FONTOBJ pfo,
CLIPOBJ pco,
RECTL prclExtra,
RECTL prclOpaque,
BRUSHOBJ pboFore,
BRUSHOBJ pboOpaque,
POINTL pptlOrg,
MIX  mix 
)

Definition at line 430 of file drvdbg.c.

441{
442 PPDEVOBJ ppdev = (PPDEVOBJ)pso->hdev;
443 return 0;
444}

◆ DbgDrvTransparentBlt()

BOOL APIENTRY DbgDrvTransparentBlt ( _Inout_ SURFOBJ psoTrg,
_In_ SURFOBJ psoSrc,
_In_ CLIPOBJ pco,
_In_opt_ XLATEOBJ pxlo,
_In_ RECTL prclDst,
_In_ RECTL prclSrc,
_In_ ULONG  iTransColor,
_In_ ULONG  ulReserved 
)

Definition at line 1065 of file drvdbg.c.

1074{
1075 PPDEVOBJ ppdev = (PPDEVOBJ)psoTrg->hdev;
1076 return 0;
1077}

◆ DbgDrvUnloadFontFile()

BOOL APIENTRY DbgDrvUnloadFontFile ( ULONG_PTR  iFile)

Definition at line 692 of file drvdbg.c.

694{
695 return 0;
696}

◆ DbgGetSynthesizedFontFiles()

VOID APIENTRY DbgGetSynthesizedFontFiles ( void  )

Definition at line 1058 of file drvdbg.c.

1059{
1060 ASSERT(FALSE);
1061}

◆ DbgLookupDHPDEV()

◆ DbgSynthesizeFont()

VOID APIENTRY DbgSynthesizeFont ( void  )

Definition at line 1051 of file drvdbg.c.

1052{
1053 ASSERT(FALSE);
1054}

Variable Documentation

◆ apfnDbgDrvFunctions

PVOID apfnDbgDrvFunctions[]

Definition at line 1171 of file drvdbg.c.