15#define DC_FL_PAL_BACK 1
250 PSURFACE psurfOld = pdc->dclevel.pSurface;
258 pdc->dclevel.pSurface = psurfNew;
265 PBRUSH pbrFillOld = pdc->dclevel.pbrFill;
270 pdc->dclevel.pbrFill = pbrFill;
277 PBRUSH pbrLineOld = pdc->dclevel.pbrLine;
282 pdc->dclevel.pbrLine = pbrLine;
289 PPALETTE ppalOld = pdc->dclevel.ppal;
294 pdc->dclevel.ppal = ppal;
300#define ASSERT_DC_PREPARED(pdc) NT_ASSERT((pdc)->fs & DC_PREPARED)
FORCEINLINE VOID DC_vSelectSurface(PDC pdc, PSURFACE psurfNew)
VOID FASTCALL DC_vPrepareDCsForBlit(PDC pdcDest, const RECT *rcDest, PDC pdcSrc, const RECT *rcSrc)
BOOL FASTCALL IntSetDefaultRegion(PDC)
int FASTCALL GreGetMapMode(HDC)
VOID FASTCALL DC_vUpdateLineBrush(PDC pdc)
VOID NTAPI DC_vCleanup(PVOID ObjectBody)
_Notnull_ PBRUSH pbrDefaultBrush
FORCEINLINE VOID DC_vSelectPalette(PDC pdc, PPALETTE ppal)
VOID FASTCALL DC_vUpdateViewportExt(PDC pdc)
HFONT NTAPI DC_hSelectFont(_In_ PDC pdc, _In_ HFONT hlfntNew)
VOID FASTCALL DC_vFinishBlit(PDC pdc1, PDC pdc2)
FORCEINLINE VOID DC_UnlockDc(PDC pdc)
VOID FASTCALL IntvGetDeviceCaps(PPDEVOBJ, PDEVCAPS)
struct _DCLEVEL * PDCLEVEL
VOID FASTCALL DC_vUpdateTextBrush(PDC pdc)
VOID FASTCALL IntUpdateBoundsRect(PDC, PRECTL)
BOOL FASTCALL DC_InvertXform(const XFORM *xformSrc, XFORM *xformDest)
VOID NTAPI DC_vFreeDcAttr(PDC pdc)
COLORREF FASTCALL IntGdiSetBkColor(_In_ HDC hDC, _In_ COLORREF Color)
BOOL FASTCALL IntGdiDeleteDC(HDC, BOOL)
BOOL NTAPI GreSetDCOwner(HDC hdc, ULONG ulOwner)
COLORREF FASTCALL IntGdiSetTextColor(HDC hDC, COLORREF color)
_Notnull_ PSURFACE psurfDefaultBitmap
VOID FASTCALL DC_vUpdateBackgroundBrush(PDC pdc)
PPDEVOBJ FASTCALL IntEnumHDev(VOID)
COLORREF FASTCALL IntSetDCPenColor(HDC, COLORREF)
COLORREF FASTCALL GreGetBkColor(HDC)
HPALETTE NTAPI GdiSelectPalette(_In_ HDC hDC, _In_ HPALETTE hpal, _In_ BOOL ForceBackground)
VOID FASTCALL DC_vCopyState(PDC pdcSrc, PDC pdcDst, BOOL To)
int FASTCALL GreSetStretchBltMode(HDC hdc, int iStretchMode)
UINT FASTCALL IntGdiSetTextAlign(HDC hDC, UINT Mode)
VOID NTAPI DC_vSetBrushOrigin(PDC pdc, LONG x, LONG y)
PDC NTAPI DC_AllocDcWithHandle(GDILOOBJTYPE eDcObjType)
VOID FASTCALL DCU_SetDcUndeletable(HDC)
INT FASTCALL IntGdiSetBkMode(HDC hDC, INT backgroundMode)
int FASTCALL GreGetBkMode(HDC)
HDC APIENTRY GreCreateCompatibleDC(HDC hdc, BOOL bAltDc)
HDC FASTCALL IntGdiCreateDisplayDC(HDEV hDev, ULONG DcType, BOOL EmptyDC)
VOID FASTCALL DC_vUpdateFillBrush(PDC pdc)
COLORREF FASTCALL GreGetTextColor(HDC)
COLORREF FASTCALL IntSetDCBrushColor(HDC, COLORREF)
BOOL FASTCALL GreSetBrushOrg(HDC, INT, INT, LPPOINT)
BOOL FASTCALL IntGdiCleanDC(HDC hDC)
VOID NTAPI DC_vRestoreDC(IN PDC pdc, INT iSaveLevel)
FORCEINLINE VOID DC_vSelectLineBrush(PDC pdc, PBRUSH pbrLine)
BOOL NTAPI DC_bAllocDcAttr(PDC pdc)
ULONG TranslateCOLORREF(PDC pdc, COLORREF crColor)
VOID NTAPI DC_vInitDc(PDC pdc, DCTYPE dctype, PPDEVOBJ ppdev)
int FASTCALL GreGetGraphicsMode(HDC)
FORCEINLINE PDC DC_LockDc(HDC hdc)
FORCEINLINE VOID DC_vSelectFillBrush(PDC pdc, PBRUSH pbrFill)
NTSTATUS NTAPI InitDcImpl(VOID)
#define BRUSH_ShareUnlockBrush(pBrush)
#define GDI_HANDLE_GET_TYPE(h)
@ GDILoObjType_LO_FONT_TYPE
@ GDILoObjType_LO_DC_TYPE
@ GDILoObjType_LO_ALTDC_TYPE
enum GDILoObjType GDILOOBJTYPE
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
_Notnull_ struct _LFONT * plfnt
UNIVERSAL_FONT_ID ufiLoc[4]
_Notnull_ PDC_ATTR pdcattr
_Notnull_ PREGION prgnVis
#define SURFACE_ShareUnlockSurface(pBMObj)
PGDIOBJ NTAPI GDIOBJ_LockObject(HGDIOBJ hobj, UCHAR objt)
VOID NTAPI GDIOBJ_vUnlockObject(POBJ pobj)
VOID NTAPI GDIOBJ_vReferenceObjectByPointer(POBJ pobj)
#define PALETTE_ShareUnlockPalette(ppal)
typedef DHPDEV(APIENTRY FN_DrvEnablePDEV)(_In_ DEVMODEW *pdm