ReactOS 0.4.16-dev-306-g647d351
eng.h
Go to the documentation of this file.
1#pragma once
2
3extern 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_)
14VOID
16EngAcquireSemaphoreShared(
17 _Inout_ HSEMAPHORE hsem);
18
19BOOL
22 _Inout_ SURFOBJ *psoDest,
25 _In_ XLATEOBJ *pxloDest,
26 _In_ XLATEOBJ *pxloSource,
31
32VOID
35 _In_ struct _WND *Window,
36 _In_ FLONG flChanged);
37
41 VOID);
42
43#define EngGetTickCount32() (ULONG)EngGetTickCount()
44
50
51VOID
53 SIZEL Size,
54 BYTE *CompressedBits,
55 BYTE *UncompressedBits,
56 LONG Delta,
58 ULONG cjSizeImage);
DWORD_PTR HSEMAPHORE
Definition: axcore.idl:60
#define _Acquires_lock_(lock)
#define _Acquires_shared_lock_(lock)
#define _Requires_lock_not_held_(lock)
#define APIENTRY
Definition: api.h:79
VOID DecompressBitmap(SIZEL Size, BYTE *CompressedBits, BYTE *UncompressedBits, LONG Delta, ULONG iFormat, ULONG cjSizeImage)
Definition: rlecomp.c:21
BOOL APIENTRY IntEngMaskBlt(_Inout_ SURFOBJ *psoDest, _In_ SURFOBJ *psoMask, _In_ CLIPOBJ *pco, _In_ XLATEOBJ *pxloDest, _In_ XLATEOBJ *pxloSource, _In_ RECTL *prclDest, _In_ POINTL *pptlMask, _In_ BRUSHOBJ *pbo, _In_ POINTL *pptlBrushOrg)
Definition: bitblt.c:1103
const BYTE gajRop2ToRop3[16]
Definition: paint.c:15
HANDLE APIENTRY EngSecureMemForRead(PVOID Address, ULONG Length)
Definition: mem.c:196
ULONGLONG APIENTRY EngGetTickCount(VOID)
Definition: engmisc.c:288
VOID FASTCALL IntEngWindowChanged(_In_ struct _WND *Window, _In_ FLONG flChanged)
unsigned int BOOL
Definition: ntddk_ex.h:94
#define _Inout_
Definition: no_sal2.h:162
#define _In_
Definition: no_sal2.h:158
#define FASTCALL
Definition: nt_native.h:50
unsigned long FLONG
Definition: ntbasedef.h:374
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
long LONG
Definition: pedump.c:60
static WCHAR Address[46]
Definition: ping.c:68
Definition: window.c:28
Definition: ntuser.h:694
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_In_opt_ SURFOBJ _In_opt_ SURFOBJ * psoMask
Definition: winddi.h:3434
#define ENGAPI
Definition: winddi.h:48
_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
_In_ PATHOBJ _In_ CLIPOBJ _In_ BRUSHOBJ _In_ POINTL * pptlBrushOrg
Definition: winddi.h:3594
_In_ SIZEL _In_ ULONG iFormat
Definition: winddi.h:3468
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL * prclDest
Definition: winddi.h:3417
_In_ SURFOBJ _In_ CLIPOBJ * pco
Definition: winddi.h:3415
static ULONG Delta
Definition: xboxvideo.c:33
unsigned char BYTE
Definition: xxhash.c:193