ReactOS  0.4.13-dev-259-g5ca9c9c
eng.h
Go to the documentation of this file.
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_)
13 ENGAPI
14 VOID
15 NTAPI
16 EngAcquireSemaphoreShared(
17  _Inout_ HSEMAPHORE hsem);
18 
19 BOOL
22  _Inout_ SURFOBJ *psoDest,
24  _In_ CLIPOBJ *pco,
25  _In_ XLATEOBJ *pxloDest,
26  _In_ XLATEOBJ *pxloSource,
29  _In_ BRUSHOBJ *pbo,
31 
32 VOID
35  _In_ struct _WND *Window,
36  _In_ FLONG flChanged);
37 
41  VOID);
42 
43 #define EngGetTickCount32() (ULONG)EngGetTickCount()
44 
45 HANDLE
48  PVOID Address,
49  ULONG Length);
50 
51 VOID
53  SIZEL Size,
54  BYTE *CompressedBits,
55  BYTE *UncompressedBits,
56  LONG Delta,
57  ULONG iFormat,
58  ULONG cjSizeImage);
const BYTE gajRop2ToRop3[16]
Definition: paint.c:15
#define ENGAPI
Definition: winddi.h:48
HANDLE APIENTRY EngSecureMemForRead(PVOID Address, ULONG Length)
Definition: mem.c:196
_Acquires_shared_lock_(Vcb->Resource)) FINISHED FatAcquireSharedVcb(IN PIRP_CONTEXT IrpContext
_Requires_lock_not_held_(Vcb->fcb_lock) _Acquires_shared_lock_(Vcb -> fcb_lock) static __inline void acquire_fcb_lock_shared(device_extension *Vcb)
Definition: btrfs_drv.h:919
#define FASTCALL
Definition: nt_native.h:50
_Acquires_lock_(_Global_critical_region_) _Requires_lock_not_held_(*hsem) _Acquires_shared_lock_(*hsem) ENGAPI VOID NTAPI EngAcquireSemaphoreShared(_Inout_ HSEMAPHORE hsem)
Definition: Object.c:59
Definition: window.c:29
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
_In_ PATHOBJ _In_ CLIPOBJ _In_ BRUSHOBJ _In_ POINTL * pptlBrushOrg
Definition: winddi.h:3591
ULONGLONG APIENTRY EngGetTickCount(VOID)
Definition: engmisc.c:288
static WCHAR Address[46]
Definition: ping.c:68
unsigned long FLONG
Definition: ntbasedef.h:373
_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:3433
DWORD_PTR HSEMAPHORE
Definition: axcore.idl:60
uint64_t ULONGLONG
Definition: typedefs.h:65
#define _Inout_
Definition: no_sal2.h:244
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL * prclDest
Definition: winddi.h:3414
VOID DecompressBitmap(SIZEL Size, BYTE *CompressedBits, BYTE *UncompressedBits, LONG Delta, ULONG iFormat, ULONG cjSizeImage)
Definition: rlecomp.c:21
_In_ SURFOBJ _In_ CLIPOBJ * pco
Definition: winddi.h:3414
unsigned char BYTE
Definition: mem.h:68
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
_In_ SIZEL _In_ ULONG iFormat
Definition: winddi.h:3467
_In_opt_ SURFOBJ _In_opt_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_opt_ POINTL _In_opt_ POINTL * pptlMask
Definition: winddi.h:3433
#define _In_
Definition: no_sal2.h:204
Definition: ntuser.h:657
static ULONG Delta
Definition: xboxvideo.c:28
VOID FASTCALL IntEngWindowChanged(_In_ struct _WND *Window, _In_ FLONG flChanged)
_In_opt_ SURFOBJ _In_opt_ SURFOBJ * psoMask
Definition: winddi.h:3433
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:1028
unsigned int ULONG
Definition: retypes.h:1
#define APIENTRY
Definition: api.h:79