mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
94a42d43b5
Fix CORE-15565 and make #1245 GetMessageTime testcase successful. CORE-15565 - Erase MsqCalculateMessageTime function. - Use (DWORD)EngGetTickCount() instead. - Ghosting is temporarily disabled.
58 lines
1.1 KiB
C
58 lines
1.1 KiB
C
#pragma once
|
|
|
|
extern const BYTE gajRop2ToRop3[16];
|
|
|
|
#define MIX_TO_ROP4(mix) \
|
|
(((ULONG)gajRop2ToRop3[((mix) - 1) & 0xF]) | \
|
|
((ULONG)gajRop2ToRop3[(((mix) >> 8) - 1) & 0xF] << 8))
|
|
|
|
/* Copied from winddi.h, where it is only for vista+ */
|
|
_Acquires_lock_(_Global_critical_region_)
|
|
_Requires_lock_not_held_(*hsem)
|
|
_Acquires_shared_lock_(*hsem)
|
|
ENGAPI
|
|
VOID
|
|
NTAPI
|
|
EngAcquireSemaphoreShared(
|
|
_Inout_ HSEMAPHORE hsem);
|
|
|
|
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);
|
|
|
|
VOID
|
|
FASTCALL
|
|
IntEngWindowChanged(
|
|
_In_ struct _WND *Window,
|
|
_In_ FLONG flChanged);
|
|
|
|
ULONGLONG
|
|
APIENTRY
|
|
EngGetTickCount(
|
|
VOID);
|
|
|
|
#define EngGetTickCount32() (ULONG)EngGetTickCount()
|
|
|
|
HANDLE
|
|
APIENTRY
|
|
EngSecureMemForRead(
|
|
PVOID Address,
|
|
ULONG Length);
|
|
|
|
VOID
|
|
DecompressBitmap(
|
|
SIZEL Size,
|
|
BYTE *CompressedBits,
|
|
BYTE *UncompressedBits,
|
|
LONG Delta,
|
|
ULONG iFormat,
|
|
ULONG cjSizeImage);
|