21 memset (&dtp, 0,
sizeof(dtp));
71 POINT maxTrack, minTrack;
82 if (
Pos->cx < minTrack.
x)
Pos->cx = minTrack.
x;
83 if (
Pos->cy < minTrack.
y)
Pos->cy = minTrack.
y;
134 if (lResult)
return lResult;
166 ERR(
"Screensaver Called!\n");
211 return(Hook ? 1 : 0);
229 Owner->head.pti->MessageQueue !=
Child->head.pti->MessageQueue)
232 if(OwnerWnd ==
Owner)
296 (
gpsi->dtCaretBlink >> 3)};
379 FIXME(
"WM_PRINT message with unsupported flags\n");
438 if (
wParam > ICON_SMALL2 )
457 ERR(
"FIXME: Set ICON_SMALL2 support!\n");
475 if (
wParam > ICON_SMALL2 )
517 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");
806 TRACE(
"This %s the TaskBar.\n", IsTaskBar ?
"is" :
"is not");
808 if (topWnd && !IsTaskBar)
848 RECT snapRect, normalRect, windowRect;
851 snapped = (normalRect.
left != 0 && normalRect.
right != 0 &&
852 normalRect.
top != 0 && normalRect.
bottom != 0);
933 ERR(
"DefWndScreenshot\n");
942 FIXME(
"WM_SYSKEYDOWN VK_ESCAPE no active\n");
1046 if (Ret)
return (Ret);
1076 if (!hBrush)
return 0;
1077 if (hBrush <= (HBRUSH)COLOR_MENUBAR)
1137 ERR(
"In Paint and Client area is not empty!\n");
1149 ERR(
"Doing Paint and Client area is empty!\n");
1167 TRACE(
"WM_SYNCPAINT\n");
1243 TRACE(
"WM_NCUAHDRAWCAPTION: wParam DC_ flags %08x\n",
wParam);
1255 TRACE(
"WM_NCUAHDRAWFRAME: wParam hDC %p lParam DC_ flags %08x\n",
wParam,
lParam);
LRESULT FASTCALL IntDefWindowProc(PWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam, BOOL Ansi)
#define ERROR_INVALID_PARAMETER
PUSER_MESSAGE_QUEUE gpqForeground
#define DEFAULT_UNREACHABLE
BOOL FASTCALL IntFlashWindowEx(PWND pWnd, PFLASHWINFO pfwi)
__kernel_entry W32KAPI HRGN APIENTRY NtGdiCreateRectRgn(_In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
BOOL FASTCALL UserPostMessage(HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam)
#define WM_SYSCOLORCHANGE
PCURICON_OBJECT IntSystemSetCursor(PCURICON_OBJECT pcurNew)
#define HOOKID_TO_FLAG(HookId)
BOOL UserDrawIconEx(HDC hDc, INT xLeft, INT yTop, PCURICON_OBJECT pIcon, INT cxWidth, INT cyHeight, UINT istepIfAniCur, HBRUSH hbrFlickerFreeDraw, UINT diFlags)
BOOL NTAPI GreDeleteObject(HGDIOBJ hobj)
GLubyte GLubyte GLubyte GLubyte w
#define SW_SHOWNOACTIVATE
BOOL FASTCALL IntClientToScreen(PWND Wnd, LPPOINT lpPoint)
FORCEINLINE VOID RECTL_vSetEmptyRect(_Out_ RECTL *prcl)
HWND FASTCALL co_UserSetFocus(PWND Window)
HGDIOBJ FASTCALL IntGetSysColorBrush(INT Object)
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiCreateCompatibleBitmap(_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
BOOL FASTCALL IntReleaseCapture(VOID)
HWND FASTCALL UserGetActiveWindow(VOID)
#define WM_CLIENTSHUTDOWN
GLuint GLuint GLsizei count
#define WM_CTLCOLORSTATIC
VOID FASTCALL IntNotifyWinEvent(DWORD Event, PWND pWnd, LONG idObject, LONG idChild, DWORD flags)
DWORD dwForegroundFlashCount
LRESULT FASTCALL DefWndHandleSysCommand(PWND pWnd, WPARAM wParam, LPARAM lParam)
PVOID NTAPI PsGetCurrentThreadWin32Thread(VOID)
BOOLEAN FASTCALL co_WinPosSetWindowPos(PWND Window, HWND WndInsertAfter, INT x, INT y, INT cx, INT cy, UINT flags)
COLORREF FASTCALL IntGdiSetBkColor(_In_ HDC hDC, _In_ COLORREF Color)
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiSelectBitmap(_In_ HDC hdc, _In_ HBITMAP hbm)
static __inline VOID UserRefObjectCo(PVOID obj, PUSER_REFERENCE_ENTRY UserReferenceEntry)
#define CTLCOLOR_SCROLLBAR
BOOL FASTCALL IntShowOwnedPopups(PWND OwnerWnd, BOOL fShow)
HDC FASTCALL UserGetWindowDC(PWND Wnd)
GLint GLint GLint GLint GLint x
HDC FASTCALL UserGetDCEx(PWND Window OPTIONAL, HANDLE ClipRegion, ULONG Flags)
BOOL FASTCALL UserDereferenceObject(PVOID Object)
struct _CURICON_OBJECT * spcur
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical 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
VOID FASTCALL IntGetClientRect(PWND WindowObject, RECTL *Rect)
struct _WND::@4879 InternalPos
HWND FASTCALL IntGetCaptureWindow(VOID)
BOOL NTAPI UserOpenClipboard(HWND hWnd)
#define WM_CTLCOLORLISTBOX
PREGION FASTCALL REGION_LockRgn(_In_ HRGN hrgn)
LRESULT FASTCALL DefWndHandleWindowPosChanging(PWND pWnd, WINDOWPOS *Pos)
LRESULT FASTCALL DefWndGetIcon(PWND pWnd, WPARAM wParam, LPARAM lParam)
struct _CURICON_OBJECT * spicn
LRESULT DefWndHandleSetCursor(PWND pWnd, WPARAM wParam, LPARAM lParam)
GLfloat GLfloat GLfloat GLfloat h
DWORD FASTCALL UserGetKeyState(DWORD dwKey)
GLenum GLuint GLenum GLsizei const GLchar * buf
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
PWND FASTCALL co_IntFindChildWindowToOwner(PWND Root, PWND Owner)
BOOL NTAPI UserCloseClipboard(VOID)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFDEVICE Child
BOOLEAN co_UserDestroyWindow(PVOID Object)
static __inline VOID UserDerefObjectCo(PVOID obj)
BOOL FASTCALL GreDPtoLP(HDC, LPPOINT, INT)
#define WM_CTLCOLORSCROLLBAR
LRESULT NC_DoNCPaint(PWND pWnd, HDC hDC, INT Flags)
#define LN_START_SCREENSAVE
#define WM_ICONERASEBKGND
HBRUSH FASTCALL DefWndControlColor(HDC hDC, UINT ctlType)
LRESULT FASTCALL DefWndHandleWindowPosChanged(PWND pWnd, WINDOWPOS *Pos)
__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)
#define WM_CTLCOLORMSGBOX
INT FASTCALL co_UserGetUpdateRgn(PWND Window, HRGN hRgn, BOOL bErase)
PWND FASTCALL co_GetDesktopWindow(PWND pWnd)
COLORREF FASTCALL IntGdiSetTextColor(HDC hDC, COLORREF color)
LARGE_UNICODE_STRING strName
VOID FASTCALL DefWndScreenshot(PWND pWnd)
PWND FASTCALL UserGetWindowObject(HWND hWnd)
HWND FASTCALL UserGetForegroundWindow(VOID)
DWORD FASTCALL IntGetWindowContextHelpId(PWND pWnd)
LONG NTAPI UserGetSystemMetrics(ULONG Index)
UINT FASTCALL co_WinPosGetMinMaxInfo(PWND Window, POINT *MaxSize, POINT *MaxPos, POINT *MinTrack, POINT *MaxTrack)
BOOLEAN FASTCALL co_WinPosShowWindow(PWND Wnd, INT Cmd)
#define UserHMGetHandle(obj)
struct tagHELPINFO HELPINFO
root entry for file system trees
BOOL FASTCALL DefSetText(HWND hWnd, PCWSTR String, BOOL Ansi)
VOID FASTCALL DefWndPrint(PWND pwnd, HDC hdc, ULONG uFlags)
_Must_inspect_result_ _In_ ULONG Flags
DBG_DEFAULT_CHANNEL(UserDefwnd)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiUnrealizeObject(_In_ HANDLE h)
#define NT_SUCCESS(StatCode)
#define EXCEPTION_EXECUTE_HANDLER
#define UlongToHandle(ul)
#define WM_NCUAHDRAWCAPTION
#define ValidateHwndNoErr(hwnd)
#define WM_WINDOWPOSCHANGING
INT WINAPI DrawTextExWorker(HDC hdc, LPWSTR str, INT i_count, LPRECT rect, UINT flags, LPDRAWTEXTPARAMS dtp)
#define ISITHOOKED(HookId)
HANDLE FASTCALL UserGetProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
DWORD FASTCALL IntGetSysColor(INT nIndex)
HDC FASTCALL IntBeginPaint(PWND Window, PPAINTSTRUCT Ps)
#define HELPINFO_MENUITEM
UINT FASTCALL DefWndGetHotKey(PWND pWnd)
LRESULT APIENTRY co_HOOK_CallHooks(INT HookId, INT Code, WPARAM wParam, LPARAM lParam)
PWND FASTCALL UserGetDesktopWindow(VOID)
LRESULT NC_HandleNCCalcSize(PWND Wnd, WPARAM wparam, RECTL *Rect, BOOL Suspended)
BOOL FASTCALL IntIsWindowVisible(PWND Wnd)
#define WNDS_SYNCPAINTPENDING
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
LRESULT FASTCALL co_IntSendMessage(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
BOOL FASTCALL IntScreenToClient(PWND Wnd, LPPOINT lpPoint)
__kernel_entry W32KAPI HDC APIENTRY NtGdiCreateCompatibleDC(_In_opt_ HDC hdc)
PWND FASTCALL UserGetAncestor(PWND Wnd, UINT Type)
BOOL NTAPI UserEmptyClipboard(VOID)
struct _USER_MESSAGE_QUEUE * MessageQueue
LRESULT NC_HandleNCLButtonDblClk(PWND pWnd, WPARAM wParam, LPARAM lParam)
VOID UserDrawCaptionBar(PWND pWnd, HDC hDC, INT Flags)
INT FASTCALL DefWndSetHotKey(PWND pWnd, WPARAM wParam)
struct _WND * spwndLastActive
BOOL FASTCALL co_UserRedrawWindow(PWND Window, const RECTL *UpdateRect, PREGION UpdateRgn, ULONG Flags)
VOID FASTCALL DefWndDoSizeMove(PWND pwnd, WORD wParam)
_Use_decl_annotations_ NTSTATUS NTAPI RtlUnicodeToMultiByteSize(_Out_ PULONG MbSize, _In_ PCWCH UnicodeString, _In_ ULONG UnicodeSize)
LRESULT FASTCALL DefWndSetIcon(PWND pWnd, WPARAM wParam, LPARAM lParam)
FORCEINLINE BOOL IntEqualRect(RECTL *lprc1, RECTL *lprc2)
PWND FASTCALL IntGetParent(PWND Wnd)
INT FASTCALL IntMapWindowPoints(PWND FromWnd, PWND ToWnd, LPPOINT lpPoints, UINT cPoints)
LRESULT NC_HandleNCRButtonDown(PWND pwnd, WPARAM wParam, LPARAM lParam)
_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
BOOL FASTCALL IntEndPaint(PWND Wnd, PPAINTSTRUCT Ps)
BOOL UserPaintCaption(PWND pWnd, INT Flags)
INT FASTCALL UserReleaseDC(PWND Window, HDC hDc, BOOL EndPaint)
VOID co_IntShellHookNotify(WPARAM Message, WPARAM wParam, LPARAM lParam)
GLint GLint GLint GLint GLint GLint y
#define WM_WINDOWPOSCHANGED
VOID FASTCALL REGION_UnlockRgn(_In_ PREGION prgn)
#define WM_NCUAHDRAWFRAME
struct _WND * spwndParent
ULONG FASTCALL IntSetStyle(PWND pwnd, ULONG set_bits, ULONG clear_bits)
FORCEINLINE BOOL RECTL_bIsEmptyRect(_In_ const RECTL *prcl)
#define RtlCopyMemory(Destination, Source, Length)
#define WNDS_FORCEMENUDRAW
_In_ ULONG _In_ BOOLEAN Active
BOOL FASTCALL UserSystemParametersInfo(UINT uiAction, UINT uiParam, PVOID pvParam, UINT fWinIni)
#define _SEH2_EXCEPT(...)
GLdouble GLdouble GLdouble GLdouble top
LRESULT NC_HandleNCLButtonDown(PWND pWnd, WPARAM wParam, LPARAM lParam)
DWORD FASTCALL GetNCHitEx(PWND pWnd, POINT pt)
BOOL FASTCALL co_IntSetForegroundWindow(PWND Window)
LRESULT NC_HandleNCActivate(PWND Wnd, WPARAM wParam, LPARAM lParam)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define QF_FMENUSTATUSBREAK
HANDLE NTAPI UserSetClipboardData(UINT fmt, HANDLE hData, PSETCLIPBDATA scd)
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
LRESULT IntClientShutdown(IN PWND pWindow, IN WPARAM wParam, IN LPARAM lParam)
#define WM_NCLBUTTONDBLCLK
INT WINAPI DrawTextW(HDC hdc, LPCWSTR str, INT count, LPRECT rect, UINT flags)
VOID FASTCALL UserReferenceObject(PVOID obj)
BOOL FASTCALL IntGetWindowRect(PWND Wnd, RECTL *Rect)