56 ERR(
"Not a Layered Window!\n");
67 ERR(
"failed to allocate LRD_PROP\n");
78 pLrdProp->
Key = crKey;
82 pLrdProp->
Alpha = bAlpha;
102 UPDATELAYEREDWINDOWINFO *
info )
126 flags &= ~SWP_NOMOVE;
132 if (
info->psize->cx <= 0 ||
info->psize->cy <= 0)
134 ERR(
"Update Layered Invalid Parameters\n");
148 flags &= ~SWP_NOSIZE;
157 HBITMAP hOldBitmap, hOldBitmap1, hbmSrc, hbmDst;
174 TRACE(
"Source Bitmap bc %d\n",dibs.dsBmih.biBitCount);
204 blend = *
info->pblend;
251 TRACE(
"Enter NtUserGetLayeredWindowAttributes\n");
257 ERR(
"Not a Layered Window!\n");
279 *pcrKey = pLrdProp->
Key;
284 *pbAlpha = pLrdProp->
Alpha;
289 *pdwFlags = pLrdProp->
Flags;
302 TRACE(
"Leave NtUserGetLayeredWindowAttributes, ret=%i\n", Ret);
319 TRACE(
"Enter NtUserSetLayeredWindowAttributes\n");
325 ERR(
"Not a Layered Window!\n");
331 TRACE(
"Leave NtUserSetLayeredWindowAttributes, ret=%i\n", Ret);
353 UPDATELAYEREDWINDOWINFO
info;
361 TRACE(
"Enter NtUserUpdateLayeredWindow\n");
405 ERR(
"Layered Window Invalid Parameters\n");
417 info.pblend = &blend;
419 info.prcDirty = prcDirty ? &Dirty :
NULL;
422 TRACE(
"Leave NtUserUpdateLayeredWindow, ret=%i\n", Ret);
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST ACPI_BUFFER *ReturnObjectBuffer ACPI_DEVICE_INFO **ReturnBuffer ACPI_HANDLE Parent
#define DBG_DEFAULT_CHANNEL(ch)
BOOL FASTCALL IntGdiDeleteDC(HDC, BOOL)
#define ERROR_INVALID_PARAMETER
#define ExAllocatePoolWithTag(hernya, size, tag)
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
#define EXCEPTION_EXECUTE_HANDLER
BOOL APIENTRY NtUserSetLayeredWindowAttributes(HWND hwnd, COLORREF crKey, BYTE bAlpha, DWORD dwFlags)
struct _LRD_PROP * PLRD_PROP
BOOL APIENTRY NtUserGetLayeredWindowAttributes(HWND hwnd, COLORREF *pcrKey, BYTE *pbAlpha, DWORD *pdwFlags)
BOOL APIENTRY NtUserUpdateLayeredWindow(HWND hwnd, HDC hdcDst, POINT *pptDst, SIZE *psize, HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, DWORD dwFlags, RECT *prcDirty)
BOOL FASTCALL IntSetLayeredWindowAttributes(PWND pWnd, COLORREF crKey, BYTE bAlpha, DWORD dwFlags)
BOOL FASTCALL IntUpdateLayeredWindowI(PWND pWnd, UPDATELAYEREDWINDOWINFO *info)
BOOL FASTCALL SetLayeredStatus(PWND pWnd, BYTE set)
BOOL FASTCALL GetLayeredStatus(PWND pWnd)
struct _LRD_PROP LRD_PROP
_In_ ULONG _In_ ULONG Offset
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiCreateCompatibleBitmap(_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
__kernel_entry W32KAPI HDC APIENTRY NtGdiCreateCompatibleDC(_In_opt_ HDC hdc)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAlphaBlend(_In_ HDC hdcDst, _In_ LONG DstX, _In_ LONG DstY, _In_ LONG DstCx, _In_ LONG DstCy, _In_ HDC hdcSrc, _In_ LONG SrcX, _In_ LONG SrcY, _In_ LONG SrcCx, _In_ LONG SrcCy, _In_ BLENDFUNCTION BlendFunction, _In_ HANDLE hcmXform)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiStretchBlt(_In_ HDC hdcDst, _In_ INT xDst, _In_ INT yDst, _In_ INT cxDst, _In_ INT cyDst, _In_opt_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ INT cxSrc, _In_ INT cySrc, _In_ DWORD dwRop, _In_ DWORD dwBackColor)
_Must_inspect_result_ _Out_ LPSIZE psize
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiSelectBitmap(_In_ HDC hdc, _In_ HBITMAP hbm)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiPatBlt(_In_ HDC hdcDest, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_ DWORD dwRop)
BOOLEAN FASTCALL co_WinPosSetWindowPos(PWND Window, HWND WndInsertAfter, INT x, INT y, INT cx, INT cy, UINT flags)
VOID FASTCALL UserLeave(VOID)
VOID FASTCALL UserEnterExclusive(VOID)
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
#define _SEH2_YIELD(__stmt)
struct _WND * spwndParent
#define RtlZeroMemory(Destination, Length)
BOOL FASTCALL co_UserRedrawWindow(PWND Window, const RECTL *UpdateRect, PREGION UpdateRgn, ULONG Flags)
PWND FASTCALL UserGetWindowObject(HWND hWnd)
INT FASTCALL UserReleaseDC(PWND Window, HDC hDc, BOOL EndPaint)
HDC FASTCALL UserGetDCEx(PWND Window OPTIONAL, HANDLE ClipRegion, ULONG Flags)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
VOID FASTCALL SetLastNtError(_In_ NTSTATUS Status)
BOOL NTAPI GreDeleteObject(HGDIOBJ hobj)
INT NTAPI GreGetObject(IN HGDIOBJ hobj, IN INT cbCount, OUT PVOID pvBuffer)
BOOL FASTCALL RECTL_bIntersectRect(_Out_ RECTL *prclDst, _In_ const RECTL *prcl1, _In_ const RECTL *prcl2)
FORCEINLINE VOID RECTL_vOffsetRect(_Inout_ RECTL *prcl, _In_ INT cx, _In_ INT cy)
HANDLE FASTCALL UserGetProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
#define ERROR_INCORRECT_SIZE