3#define ROP4_BLACKNESS ((((0x00000042) >> 8) & 0xff00) | (((0x00000042) >> 16) & 0x00ff))
4#define ROP4_NOTSRCERASE ((((0x001100A6) >> 8) & 0xff00) | (((0x001100A6) >> 16) & 0x00ff))
5#define ROP4_NOTSRCCOPY ((((0x00330008) >> 8) & 0xff00) | (((0x00330008) >> 16) & 0x00ff))
6#define ROP4_SRCERASE ((((0x00440328) >> 8) & 0xff00) | (((0x00440328) >> 16) & 0x00ff))
7#define ROP4_DSTINVERT ((((0x00550009) >> 8) & 0xff00) | (((0x00550009) >> 16) & 0x00ff))
8#define ROP4_PATINVERT ((((0x005A0049) >> 8) & 0xff00) | (((0x005A0049) >> 16) & 0x00ff))
9#define ROP4_SRCINVERT ((((0x00660046) >> 8) & 0xff00) | (((0x00660046) >> 16) & 0x00ff))
10#define ROP4_SRCAND ((((0x008800C6) >> 8) & 0xff00) | (((0x008800C6) >> 16) & 0x00ff))
11#define ROP4_MERGEPAINT ((((0x00BB0226) >> 8) & 0xff00) | (((0x00BB0226) >> 16) & 0x00ff))
12#define ROP4_MERGECOPY ((((0x00C000CA) >> 8) & 0xff00) | (((0x00C000CA) >> 16) & 0x00ff))
13#define ROP4_SRCCOPY ((((0x00CC0020) >> 8) & 0xff00) | (((0x00CC0020) >> 16) & 0x00ff))
14#define ROP4_SRCPAINT ((((0x00EE0086) >> 8) & 0xff00) | (((0x00EE0086) >> 16) & 0x00ff))
15#define ROP4_PATCOPY ((((0x00F00021) >> 8) & 0xff00) | (((0x00F00021) >> 16) & 0x00ff))
16#define ROP4_PATPAINT ((((0x00FB0A09) >> 8) & 0xff00) | (((0x00FB0A09) >> 16) & 0x00ff))
17#define ROP4_WHITENESS ((((0x00FF0062) >> 8) & 0xff00) | (((0x00FF0062) >> 16) & 0x00ff))
38typedef BOOLEAN (*
PFN_DIB_StretchBlt)(
SURFOBJ*,
SURFOBJ*,
SURFOBJ*,
SURFOBJ*,
RECTL*,
RECTL*,
POINTL*,
BRUSHOBJ*,
POINTL*,
XLATEOBJ*,
ROP4);
64BOOLEAN Dummy_StretchBlt(
SURFOBJ*,
SURFOBJ*,
SURFOBJ*,
SURFOBJ*,
RECTL*,
RECTL*,
POINTL*,
BRUSHOBJ*,
POINTL*,
XLATEOBJ*,
ROP4);
126BOOLEAN DIB_XXBPP_StretchBlt(
SURFOBJ*,
SURFOBJ*,
SURFOBJ*,
SURFOBJ*,
RECTL*,
RECTL*,
POINTL*,
BRUSHOBJ*,
POINTL*,
XLATEOBJ*,
ROP4);
130extern unsigned char notmask[2];
132#define MASK1BPP(x) (1<<(7-((x)&7)))
136#define DIB_GetSource(SourceSurf,sx,sy,ColorTranslation) \
137 XLATEOBJ_iXlate(ColorTranslation, \
138 DibFunctionsForBitmapFormat[SourceSurf->iBitmapFormat]. \
139 DIB_GetPixel(SourceSurf, sx, sy))
141#define DIB_GetSourceIndex(SourceSurf,sx,sy) \
142 DibFunctionsForBitmapFormat[SourceSurf->iBitmapFormat]. \
143 DIB_GetPixel(SourceSurf, sx, sy)
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
PFN_DIB_BitBlt DIB_BitBltSrcCopy
PFN_DIB_PutPixel DIB_PutPixel
PFN_DIB_BitBlt DIB_BitBlt
PFN_DIB_TransparentBlt DIB_TransparentBlt
PFN_DIB_GetPixel DIB_GetPixel
PFN_DIB_AlphaBlend DIB_AlphaBlend
PFN_DIB_ColorFill DIB_ColorFill
PFN_DIB_StretchBlt DIB_StretchBlt
XLATEOBJ * XlateSourceToDest
struct _BLTINFO * PBLTINFO
VOID DIB_8BPP_VLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
BOOLEAN DIB_8BPP_BitBlt(PBLTINFO)
VOID DIB_4BPP_PutPixel(SURFOBJ *, LONG, LONG, ULONG)
VOID(* PFN_DIB_VLine)(SURFOBJ *, LONG, LONG, LONG, ULONG)
BOOLEAN DIB_24BPP_TransparentBlt(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, XLATEOBJ *, ULONG)
BOOLEAN DIB_24BPP_AlphaBlend(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, CLIPOBJ *, XLATEOBJ *, BLENDOBJ *)
BOOLEAN DIB_4BPP_BitBltSrcCopy(PBLTINFO)
ULONG DIB_8BPP_GetPixel(SURFOBJ *, LONG, LONG)
BOOLEAN DIB_32BPP_ColorFill(SURFOBJ *, RECTL *, ULONG)
BOOLEAN DIB_16BPP_BitBltSrcCopy(PBLTINFO)
BOOLEAN Dummy_TransparentBlt(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, XLATEOBJ *, ULONG)
BOOLEAN DIB_32BPP_BitBltSrcCopy(PBLTINFO)
BOOLEAN DIB_32BPP_AlphaBlend(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, CLIPOBJ *, XLATEOBJ *, BLENDOBJ *)
BOOLEAN(* PFN_DIB_TransparentBlt)(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, XLATEOBJ *, ULONG)
BOOLEAN DIB_8BPP_BitBltSrcCopy(PBLTINFO)
BOOLEAN DIB_24BPP_BitBlt(PBLTINFO)
BOOLEAN DIB_8BPP_TransparentBlt(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, XLATEOBJ *, ULONG)
VOID DIB_32BPP_VLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
BOOLEAN DIB_XXBPP_FloodFillSolid(SURFOBJ *, BRUSHOBJ *, RECTL *, POINTL *, ULONG, UINT)
BOOLEAN Dummy_BitBlt(PBLTINFO)
VOID DIB_24BPP_VLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
ULONG Dummy_GetPixel(SURFOBJ *, LONG, LONG)
VOID DIB_8BPP_PutPixel(SURFOBJ *, LONG, LONG, ULONG)
BOOLEAN DIB_16BPP_BitBlt(PBLTINFO)
VOID DIB_1BPP_HLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
ULONG DIB_24BPP_GetPixel(SURFOBJ *, LONG, LONG)
VOID DIB_16BPP_VLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
VOID DIB_32BPP_HLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
BOOLEAN DIB_1BPP_ColorFill(SURFOBJ *, RECTL *, ULONG)
BOOLEAN Dummy_StretchBlt(SURFOBJ *, SURFOBJ *, SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, POINTL *, BRUSHOBJ *, POINTL *, XLATEOBJ *, ROP4)
BOOLEAN DIB_32BPP_TransparentBlt(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, XLATEOBJ *, ULONG)
ULONG DIB_DoRop(ULONG Rop, ULONG Dest, ULONG Source, ULONG Pattern)
BOOLEAN Dummy_AlphaBlend(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, CLIPOBJ *, XLATEOBJ *, BLENDOBJ *)
VOID DIB_16BPP_PutPixel(SURFOBJ *, LONG, LONG, ULONG)
VOID DIB_24BPP_HLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
BOOLEAN DIB_16BPP_AlphaBlend(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, CLIPOBJ *, XLATEOBJ *, BLENDOBJ *)
BOOLEAN DIB_4BPP_TransparentBlt(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, XLATEOBJ *, ULONG)
ULONG DIB_1BPP_GetPixel(SURFOBJ *, LONG, LONG)
BOOLEAN DIB_1BPP_BitBltSrcCopy(PBLTINFO)
VOID Dummy_PutPixel(SURFOBJ *, LONG, LONG, ULONG)
unsigned char altnotmask[2]
ULONG DIB_4BPP_GetPixel(SURFOBJ *, LONG, LONG)
ULONG DIB_16BPP_GetPixel(SURFOBJ *, LONG, LONG)
VOID Dummy_VLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
VOID(* PFN_DIB_HLine)(SURFOBJ *, LONG, LONG, LONG, ULONG)
VOID DIB_4BPP_HLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
DIB_FUNCTIONS DibFunctionsForBitmapFormat[]
BOOLEAN(* PFN_DIB_AlphaBlend)(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, CLIPOBJ *, XLATEOBJ *, BLENDOBJ *)
VOID DIB_4BPP_VLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
BOOLEAN DIB_1BPP_BitBlt(PBLTINFO)
VOID DIB_24BPP_PutPixel(SURFOBJ *, LONG, LONG, ULONG)
BOOLEAN(* PFN_DIB_BitBlt)(PBLTINFO)
VOID DIB_16BPP_HLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
ULONG DIB_32BPP_GetPixel(SURFOBJ *, LONG, LONG)
BOOLEAN DIB_XXBPP_StretchBlt(SURFOBJ *, SURFOBJ *, SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, POINTL *, BRUSHOBJ *, POINTL *, XLATEOBJ *, ROP4)
BOOLEAN DIB_XXBPP_AlphaBlend(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, CLIPOBJ *, XLATEOBJ *, BLENDOBJ *)
BOOLEAN(* PFN_DIB_ColorFill)(SURFOBJ *, RECTL *, ULONG)
BOOLEAN DIB_8BPP_ColorFill(SURFOBJ *, RECTL *, ULONG)
VOID DIB_1BPP_PutPixel(SURFOBJ *, LONG, LONG, ULONG)
ULONG(* PFN_DIB_GetPixel)(SURFOBJ *, LONG, LONG)
BOOLEAN Dummy_ColorFill(SURFOBJ *, RECTL *, ULONG)
VOID DIB_1BPP_VLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
VOID Dummy_HLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
VOID DIB_8BPP_HLine(SURFOBJ *, LONG, LONG, LONG, ULONG)
BOOLEAN(* PFN_DIB_StretchBlt)(SURFOBJ *, SURFOBJ *, SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, POINTL *, BRUSHOBJ *, POINTL *, XLATEOBJ *, ROP4)
BOOLEAN DIB_32BPP_BitBlt(PBLTINFO)
BOOLEAN DIB_24BPP_BitBltSrcCopy(PBLTINFO)
VOID DIB_32BPP_PutPixel(SURFOBJ *, LONG, LONG, ULONG)
BOOLEAN DIB_4BPP_BitBlt(PBLTINFO)
BOOLEAN DIB_16BPP_ColorFill(SURFOBJ *, RECTL *, ULONG)
VOID(* PFN_DIB_PutPixel)(SURFOBJ *, LONG, LONG, ULONG)
BOOLEAN DIB_1BPP_TransparentBlt(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, XLATEOBJ *, ULONG)
BOOLEAN DIB_24BPP_ColorFill(SURFOBJ *, RECTL *, ULONG)
BOOLEAN DIB_16BPP_TransparentBlt(SURFOBJ *, SURFOBJ *, RECTL *, RECTL *, XLATEOBJ *, ULONG)
BOOLEAN DIB_4BPP_ColorFill(SURFOBJ *, RECTL *, ULONG)