1 #pragma once 2 3 extern const BYTE gajRop2ToRop3[16]; 4 5 #define MIX_TO_ROP4(mix) \ 6 (((ULONG)gajRop2ToRop3[((mix) - 1) & 0xF]) | \ 7 ((ULONG)gajRop2ToRop3[(((mix) >> 8) - 1) & 0xF] << 8)) 8 9 /* Copied from winddi.h, where it is only for vista+ */ 10 _Acquires_lock_(_Global_critical_region_) 11 _Requires_lock_not_held_(*hsem) 12 _Acquires_shared_lock_(*hsem) 13 ENGAPI 14 VOID 15 NTAPI 16 EngAcquireSemaphoreShared( 17 _Inout_ HSEMAPHORE hsem); 18 19 BOOL 20 APIENTRY 21 IntEngMaskBlt( 22 _Inout_ SURFOBJ *psoDest, 23 _In_ SURFOBJ *psoMask, 24 _In_ CLIPOBJ *pco, 25 _In_ XLATEOBJ *pxloDest, 26 _In_ XLATEOBJ *pxloSource, 27 _In_ RECTL *prclDest, 28 _In_ POINTL *pptlMask, 29 _In_ BRUSHOBJ *pbo, 30 _In_ POINTL *pptlBrushOrg); 31 32 VOID 33 FASTCALL 34 IntEngWindowChanged( 35 _In_ struct _WND *Window, 36 _In_ FLONG flChanged); 37 38 ULONGLONG 39 APIENTRY 40 EngGetTickCount( 41 VOID); 42 43 #define EngGetTickCount32() (ULONG)EngGetTickCount() 44 45 HANDLE 46 APIENTRY 47 EngSecureMemForRead( 48 PVOID Address, 49 ULONG Length); 50 51 VOID 52 DecompressBitmap( 53 SIZEL Size, 54 BYTE *CompressedBits, 55 BYTE *UncompressedBits, 56 LONG Delta, 57 ULONG iFormat, 58 ULONG cjSizeImage); 59