20 memset (&dtp, 0,
sizeof(dtp));
70 POINT maxTrack, minTrack;
81 if (
Pos->cx < minTrack.
x)
Pos->cx = minTrack.
x;
82 if (
Pos->cy < minTrack.
y)
Pos->cy = minTrack.
y;
135 if (lResult)
return lResult;
167 ERR(
"Screensaver Called!\n");
212 return(Hook ? 1 : 0);
230 Owner->head.pti->MessageQueue !=
Child->head.pti->MessageQueue)
233 if(OwnerWnd ==
Owner)
297 (
gpsi->dtCaretBlink >> 3)};
381 FIXME(
"WM_PRINT message with unsupported flags\n");
441 if (
wParam > ICON_SMALL2 )
460 ERR(
"FIXME: Set ICON_SMALL2 support!\n");
479 if (
wParam > ICON_SMALL2 )
521 NtGdiBitBlt(
hdc2, 0, 0,
w,
h,
hdc, 0, 0,
SRCCOPY, 0, 0);
592 lResult *
sizeof(
WCHAR));
593 outbuf[lResult] =
L'\0';
718 ERR(
"WM_NCRBUTTONUP\n");
773 WARN(
"Scroll Menu Not Supported\n");
840 else if (snapped == edge)
847 if (snapped == otherEdge)
886 ERR(
"DefWndScreenshot\n");
895 FIXME(
"WM_SYSKEYDOWN VK_ESCAPE no active\n");
1032 if (!hBrush)
return 0;
1033 if (hBrush <= (HBRUSH)COLOR_MENUBAR)
1093 ERR(
"In Paint and Client area is not empty!\n");
1105 ERR(
"Doing Paint and Client area is empty!\n");
1122 Wnd->
state &= ~WNDS_SYNCPAINTPENDING;
1123 TRACE(
"WM_SYNCPAINT\n");
1187 Wnd->
state &= ~WNDS_FORCEMENUDRAW;
1199 TRACE(
"WM_NCUAHDRAWCAPTION: wParam DC_ flags %08x\n",
wParam);
1211 TRACE(
"WM_NCUAHDRAWFRAME: wParam hDC %p lParam DC_ flags %08x\n",
wParam,
lParam);
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 UlongToHandle(ul)
#define DBG_DEFAULT_CHANNEL(ch)
BOOL FASTCALL GreDPtoLP(HDC, LPPOINT, INT)
COLORREF FASTCALL IntGdiSetBkColor(_In_ HDC hDC, _In_ COLORREF Color)
COLORREF FASTCALL IntGdiSetTextColor(HDC hDC, COLORREF color)
#define NT_SUCCESS(StatCode)
#define ERROR_INVALID_PARAMETER
#define ValidateHwndNoErr(hwnd)
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
HWND FASTCALL co_UserSetFocus(PWND Window)
HWND FASTCALL IntGetCaptureWindow(VOID)
PUSER_MESSAGE_QUEUE gpqForeground
BOOL FASTCALL co_IntSetForegroundWindow(PWND Window)
BOOL FASTCALL IntReleaseCapture(VOID)
HWND FASTCALL UserGetActiveWindow(VOID)
HWND FASTCALL UserGetForegroundWindow(VOID)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLuint GLuint GLsizei count
GLdouble GLdouble GLdouble GLdouble top
GLenum GLuint GLenum GLsizei const GLchar * buf
GLubyte GLubyte GLubyte GLubyte w
GLfloat GLfloat GLfloat GLfloat h
#define ISITHOOKED(HookId)
#define HOOKID_TO_FLAG(HookId)
#define UserHMGetHandle(obj)
#define WNDS_FORCEMENUDRAW
#define EXCEPTION_EXECUTE_HANDLER
HGDIOBJ FASTCALL IntGetSysColorBrush(INT Object)
DWORD FASTCALL IntGetSysColor(INT nIndex)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
DWORD FASTCALL UserGetKeyState(DWORD dwKey)
#define QF_FMENUSTATUSBREAK
_Out_writes_bytes_to_opt_ AbsoluteSecurityDescriptorSize PSECURITY_DESCRIPTOR _Inout_ PULONG _Out_writes_bytes_to_opt_ DaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ SaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ OwnerSize PSID Owner
_Use_decl_annotations_ NTSTATUS NTAPI RtlUnicodeToMultiByteSize(_Out_ PULONG MbSize, _In_ PCWCH UnicodeString, _In_ ULONG UnicodeSize)
#define DEFAULT_UNREACHABLE
__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 NtGdiBitBlt(_In_ HDC hdcDst, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_opt_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ DWORD rop4, _In_ DWORD crBackColor, _In_ FLONG fl)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiUnrealizeObject(_In_ HANDLE h)
__kernel_entry W32KAPI HRGN APIENTRY NtGdiCreateRectRgn(_In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiSelectBitmap(_In_ HDC hdc, _In_ HBITMAP hbm)
PVOID NTAPI PsGetCurrentThreadWin32Thread(VOID)
LRESULT FASTCALL DefWndHandleWindowPosChanged(PWND pWnd, WINDOWPOS *Pos)
LRESULT DefWndHandleSetCursor(PWND pWnd, WPARAM wParam, LPARAM lParam)
LRESULT FASTCALL IntDefWindowProc(PWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam, BOOL Ansi)
LRESULT FASTCALL DefWndGetIcon(PWND pWnd, WPARAM wParam, LPARAM lParam)
VOID FASTCALL DefWndScreenshot(PWND pWnd)
LRESULT FASTCALL DefWndHandleWindowPosChanging(PWND pWnd, WINDOWPOS *Pos)
VOID FASTCALL DefWndPrint(PWND pwnd, HDC hdc, ULONG uFlags)
LRESULT FASTCALL DefWndHandleSysCommand(PWND pWnd, WPARAM wParam, LPARAM lParam)
BOOL UserPaintCaption(PWND pWnd, INT Flags)
LRESULT FASTCALL DefWndSetIcon(PWND pWnd, WPARAM wParam, LPARAM lParam)
INT WINAPI DrawTextExWorker(HDC hdc, LPWSTR str, INT i_count, LPRECT rect, UINT flags, LPDRAWTEXTPARAMS dtp)
INT WINAPI DrawTextW(HDC hdc, LPCWSTR str, INT count, LPRECT rect, UINT flags)
PWND FASTCALL co_IntFindChildWindowToOwner(PWND Root, PWND Owner)
HBRUSH FASTCALL DefWndControlColor(HDC hDC, UINT ctlType)
LRESULT APIENTRY co_HOOK_CallHooks(INT HookId, INT Code, WPARAM wParam, LPARAM lParam)
BOOL FASTCALL IntClientToScreen(PWND Wnd, LPPOINT lpPoint)
VOID FASTCALL IntSetSnapInfo(PWND Wnd, UINT Edge, IN const RECT *Pos OPTIONAL)
BOOLEAN FASTCALL co_WinPosSetWindowPos(PWND Window, HWND WndInsertAfter, INT x, INT y, INT cx, INT cy, UINT flags)
VOID FASTCALL co_IntSnapWindow(PWND Wnd, UINT Edge)
VOID FASTCALL co_IntCalculateSnapPosition(PWND Wnd, UINT Edge, OUT RECT *Pos)
BOOL FASTCALL IntGetWindowRect(PWND Wnd, RECTL *Rect)
UINT FASTCALL co_WinPosGetMinMaxInfo(PWND Window, POINT *MaxSize, POINT *MaxPos, POINT *MinTrack, POINT *MaxTrack)
BOOL FASTCALL IntScreenToClient(PWND Wnd, LPPOINT lpPoint)
BOOLEAN FASTCALL co_WinPosShowWindow(PWND Wnd, INT Cmd)
UINT FASTCALL IntGetWindowSnapEdge(PWND Wnd)
VOID FASTCALL IntSetSnapEdge(PWND Wnd, UINT Edge)
static __inline VOID UserDerefObjectCo(PVOID obj)
static __inline VOID UserRefObjectCo(PVOID obj, PUSER_REFERENCE_ENTRY UserReferenceEntry)
#define _SEH2_EXCEPT(...)
root entry for file system trees
struct _CURICON_OBJECT * spcur
struct _CURICON_OBJECT * spicn
DWORD dwForegroundFlashCount
struct _USER_MESSAGE_QUEUE * MessageQueue
struct _WND * spwndLastActive
LARGE_UNICODE_STRING strName
struct _WND * spwndParent
struct _WND::@5119 InternalPos
#define RtlCopyMemory(Destination, Source, Length)
#define WM_NCUAHDRAWCAPTION
#define LN_START_SCREENSAVE
#define WM_CLIENTSHUTDOWN
#define WM_NCUAHDRAWFRAME
BOOL FASTCALL IntFlashWindowEx(PWND pWnd, PFLASHWINFO pfwi)
HDC FASTCALL IntBeginPaint(PWND Window, PPAINTSTRUCT Ps)
BOOL FASTCALL co_UserRedrawWindow(PWND Window, const RECTL *UpdateRect, PREGION UpdateRgn, ULONG Flags)
BOOL FASTCALL IntEndPaint(PWND Wnd, PPAINTSTRUCT Ps)
INT FASTCALL co_UserGetUpdateRgn(PWND Window, HRGN hRgn, BOOL bErase)
DWORD FASTCALL IntGetWindowContextHelpId(PWND pWnd)
PWND FASTCALL UserGetWindowObject(HWND hWnd)
HDC FASTCALL UserGetWindowDC(PWND Wnd)
PWND FASTCALL UserGetAncestor(PWND Wnd, UINT Type)
BOOLEAN co_UserDestroyWindow(PVOID Object)
INT FASTCALL UserReleaseDC(PWND Window, HDC hDc, BOOL EndPaint)
BOOL APIENTRY DefSetText(PWND Wnd, PCWSTR WindowText)
HDC FASTCALL UserGetDCEx(PWND Window OPTIONAL, HANDLE ClipRegion, ULONG Flags)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFDEVICE Child
BOOL NTAPI GreDeleteObject(HGDIOBJ hobj)
FORCEINLINE BOOL RECTL_bIsEmptyRect(_In_ const RECTL *prcl)
PREGION FASTCALL REGION_LockRgn(_In_ HRGN hrgn)
VOID FASTCALL REGION_UnlockRgn(_In_ PREGION prgn)
BOOL NTAPI UserEmptyClipboard(VOID)
BOOL NTAPI UserCloseClipboard(VOID)
BOOL NTAPI UserOpenClipboard(HWND hWnd)
HANDLE NTAPI UserSetClipboardData(UINT fmt, HANDLE hData, PSETCLIPBDATA scd)
PCURICON_OBJECT IntSystemSetCursor(PCURICON_OBJECT pcurNew)
BOOL UserDrawIconEx(HDC hDc, INT xLeft, INT yTop, PCURICON_OBJECT pIcon, INT cxWidth, INT cyHeight, UINT istepIfAniCur, HBRUSH hbrFlickerFreeDraw, UINT diFlags)
PWND FASTCALL UserGetDesktopWindow(VOID)
VOID co_IntShellHookNotify(WPARAM Message, WPARAM wParam, LPARAM lParam)
PWND FASTCALL co_GetDesktopWindow(PWND pWnd)
VOID FASTCALL IntNotifyWinEvent(DWORD Event, PWND pWnd, LONG idObject, LONG idChild, DWORD flags)
UINT FASTCALL DefWndGetHotKey(PWND pWnd)
INT FASTCALL DefWndSetHotKey(PWND pWnd, WPARAM wParam)
BOOL FASTCALL UserPostMessage(HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam)
LRESULT FASTCALL co_IntSendMessage(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
LONG NTAPI UserGetSystemMetrics(ULONG Index)
LRESULT NC_HandleNCLButtonDown(PWND pWnd, WPARAM wParam, LPARAM lParam)
VOID UserDrawCaptionBar(PWND pWnd, HDC hDC, INT Flags)
DWORD FASTCALL GetNCHitEx(PWND pWnd, POINT pt)
VOID FASTCALL DefWndDoSizeMove(PWND pwnd, WORD wParam)
LRESULT NC_HandleNCActivate(PWND Wnd, WPARAM wParam, LPARAM lParam)
LRESULT NC_DoNCPaint(PWND pWnd, HDC hDC, INT Flags)
LRESULT NC_HandleNCCalcSize(PWND Wnd, WPARAM wparam, RECTL *Rect, BOOL Suspended)
LRESULT NC_HandleNCRButtonDown(PWND pwnd, WPARAM wParam, LPARAM lParam)
LRESULT NC_HandleNCLButtonDblClk(PWND pWnd, WPARAM wParam, LPARAM lParam)
BOOL FASTCALL UserDereferenceObject(PVOID Object)
VOID FASTCALL UserReferenceObject(PVOID obj)
HANDLE FASTCALL UserGetProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
LRESULT IntClientShutdown(IN PWND pWindow, IN WPARAM wParam, IN LPARAM lParam)
BOOL g_bWindowSnapEnabled
ULONG FASTCALL IntSetStyle(PWND pwnd, ULONG set_bits, ULONG clear_bits)
PWND FASTCALL IntGetParent(PWND Wnd)
BOOL FASTCALL IntShowOwnedPopups(PWND OwnerWnd, BOOL fShow)
BOOL FASTCALL IntIsWindowVisible(PWND Wnd)
INT FASTCALL IntMapWindowPoints(PWND FromWnd, PWND ToWnd, LPPOINT lpPoints, UINT cPoints)
VOID FASTCALL IntGetClientRect(PWND WindowObject, RECTL *Rect)
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
FORCEINLINE VOID co_IntUnsnapWindow(PWND Wnd)
FORCEINLINE BOOLEAN IntIsSnapAllowedForWindow(PWND Wnd)
#define WM_CTLCOLORSTATIC
#define CTLCOLOR_SCROLLBAR
#define HELPINFO_MENUITEM
#define WM_WINDOWPOSCHANGING
#define SW_SHOWNOACTIVATE
#define WM_CTLCOLORSCROLLBAR
#define WM_SYSCOLORCHANGE
#define WM_CTLCOLORMSGBOX
#define WM_NCLBUTTONDBLCLK
struct tagHELPINFO HELPINFO
#define WM_CTLCOLORLISTBOX
#define WM_ICONERASEBKGND
#define WM_WINDOWPOSCHANGED
_Must_inspect_result_ _In_ ULONG Flags
_In_ ULONG _In_ BOOLEAN Active