541{
545
547
549 {
552
554 {
557
559 {
565 {
567 }
568 }
569
570 break;
571 }
572
574 {
577
579 {
582 else
584
586 {
588 {
592 lResult *
sizeof(
WCHAR));
593 outbuf[lResult] =
L'\0';
594 }
595 else
597 }
598 }
599 break;
600 }
601
603 {
605
609 lResult = 1;
610 break;
611 }
612
614 {
617 break;
618 }
619
621 {
626 {
628 }
629 break;
630 }
631
634
638 {
641 break;
642 }
646 break;
647
649 {
659
661 break;
662 }
663
664 case WM_SETICON:
665 {
667 }
668
669 case WM_GETICON:
670 {
672 }
673
674 case WM_HELP:
675 {
678 break;
679 }
680
685 break;
686
689
692
695
698
700 {
702
708 break;
709 }
710
712
713
714
715
716
717
718 ERR(
"WM_NCRBUTTONUP\n");
719 break;
720
721 case WM_XBUTTONUP:
722 case WM_NCXBUTTONUP:
724 {
727 }
728 break;
729
730
732 {
734 {
736 }
737 else
738 {
742
744
748 {
750 }
751
753
755 {
758
760 {
762
765 else
767
769 }
770 }
772 {
773 WARN(
"Scroll Menu Not Supported\n");
774 }
775 }
776 break;
777 }
778
781 {
783
785 {
787 }
788 }
790 {
794
795
796 if (!topWnd)
797 return 0;
798
800
803
804 if (allowSnap)
805 {
807
809 {
812 else if (snapped)
814 else
816 }
818 {
821 else
823 }
825 {
828
830 {
831
838 }
839#if 0
840 else if (snapped == edge)
841 {
842
843 edge = otherEdge;
844 }
845#endif
846
847 if (snapped == otherEdge)
849 else
851 }
852 }
853 }
854 break;
855
857 {
859 {
860
862 {
867 else
869 }
870
872
874 {
878 }
880 {
883 {
885 }
886 ERR(
"DefWndScreenshot\n");
888 }
890 {
894 {
895 FIXME(
"WM_SYSKEYDOWN VK_ESCAPE no active\n");
896 break;
897 }
900 }
901 }
903 {
907 }
910 break;
911 }
912
915 {
916
922 break;
923 }
924
926 {
929 {
931 break;
932 }
934 {
938 else
940 }
941 else
943 break;
944 }
945
947 {
949
952 {
954 }
955 break;
956 }
957
960 break;
961
970
973
975 {
977 {
978
979
981 {
986 }
987 }
989 }
990
993 {
998 {
1000 if (lResult)
1001 break;
1002 }
1003 }
1005
1007
1008
1011 {
1012
1014 }
1015 break;
1016
1019 {
1024 }
1025 break;
1026
1029 {
1032 if (!hBrush) return 0;
1033 if (hBrush <= (HBRUSH)COLOR_MENUBAR)
1034 {
1036 }
1038 {
1039
1042 }
1043 else
1044 {
1046 }
1048 return (1);
1049 }
1050
1052
1055
1057
1059 {
1064 }
1065
1067 {
1069 return (0);
1070 }
1071
1073 {
1074
1076
1077
1078
1079
1081 return (0);
1082 }
1083
1086 {
1089
1090
1092 {
1093 ERR(
"In Paint and Client area is not empty!\n");
1094 return 0;
1095 }
1096
1099 {
1101 {
1104
1105 ERR(
"Doing Paint and Client area is empty!\n");
1112 }
1113
1115 }
1116 return (0);
1117 }
1118
1120 {
1122 Wnd->
state &= ~WNDS_SYNCPAINTPENDING;
1123 TRACE(
"WM_SYNCPAINT\n");
1126 {
1128 {
1134 }
1136 }
1137 return 0;
1138 }
1139
1142 {
1144 {
1147 }
1148 }
1149 else
1150 {
1152 {
1155 }
1156 }
1157 return 0;
1158
1160 {
1162 }
1163
1165 {
1167 }
1168
1170 {
1172 }
1173
1175 {
1177 }
1178
1179
1180
1181
1183 {
1187 Wnd->
state &= ~WNDS_FORCEMENUDRAW;
1189 return 0;
1190 }
1191
1192
1193
1194
1195
1197 {
1199 TRACE(
"WM_NCUAHDRAWCAPTION: wParam DC_ flags %08x\n",
wParam);
1202 return 0;
1203 }
1204
1205
1206
1207
1208
1210 {
1211 TRACE(
"WM_NCUAHDRAWFRAME: wParam hDC %p lParam DC_ flags %08x\n",
wParam,
lParam);
1213 return 0;
1214 }
1215
1216
1218 {
1220 {
1222 {
1224
1226 {
1228 {
1231 1);
1232
1236 }
1238 {
1239 lResult = 1;
1240 }
1242 }
1243 if (!lResult)
1245
1246 break;
1247 }
1248 }
1249 break;
1250 }
1251 }
1252 return lResult;
1253}
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)
BOOL FASTCALL GreDPtoLP(HDC, LPPOINT, INT)
#define NT_SUCCESS(StatCode)
VOID NTAPI ProbeForRead(IN CONST VOID *Address, IN SIZE_T Length, IN ULONG Alignment)
HWND FASTCALL co_UserSetFocus(PWND Window)
HWND FASTCALL IntGetCaptureWindow(VOID)
BOOL FASTCALL IntReleaseCapture(VOID)
HWND FASTCALL UserGetForegroundWindow(VOID)
GLdouble GLdouble GLdouble GLdouble top
GLenum GLuint GLenum GLsizei const GLchar * buf
#define EXCEPTION_EXECUTE_HANDLER
#define WNDS_FORCEMENUDRAW
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
DWORD FASTCALL UserGetKeyState(DWORD dwKey)
#define QF_FMENUSTATUSBREAK
_Use_decl_annotations_ NTSTATUS NTAPI RtlUnicodeToMultiByteSize(_Out_ PULONG MbSize, _In_ PCWCH UnicodeString, _In_ ULONG UnicodeSize)
PVOID NTAPI PsGetCurrentThreadWin32Thread(VOID)
LRESULT FASTCALL DefWndHandleWindowPosChanged(PWND pWnd, WINDOWPOS *Pos)
LRESULT DefWndHandleSetCursor(PWND pWnd, WPARAM wParam, LPARAM lParam)
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)
LRESULT FASTCALL DefWndSetIcon(PWND pWnd, WPARAM wParam, LPARAM lParam)
HBRUSH FASTCALL DefWndControlColor(HDC hDC, UINT ctlType)
BOOL FASTCALL IntClientToScreen(PWND Wnd, LPPOINT lpPoint)
VOID FASTCALL IntSetSnapInfo(PWND Wnd, UINT Edge, IN const RECT *Pos OPTIONAL)
VOID FASTCALL co_IntSnapWindow(PWND Wnd, UINT Edge)
VOID FASTCALL co_IntCalculateSnapPosition(PWND Wnd, UINT Edge, OUT RECT *Pos)
BOOL FASTCALL IntScreenToClient(PWND Wnd, LPPOINT lpPoint)
UINT FASTCALL IntGetWindowSnapEdge(PWND Wnd)
VOID FASTCALL IntSetSnapEdge(PWND Wnd, UINT Edge)
#define _SEH2_EXCEPT(...)
struct _CURICON_OBJECT * spicn
struct _USER_MESSAGE_QUEUE * MessageQueue
LARGE_UNICODE_STRING strName
struct _WND::@5111 InternalPos
struct _WND * spwndParent
#define RtlCopyMemory(Destination, Source, Length)
#define WM_NCUAHDRAWCAPTION
#define WM_CLIENTSHUTDOWN
#define WM_NCUAHDRAWFRAME
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)
PWND FASTCALL UserGetAncestor(PWND Wnd, UINT Type)
BOOLEAN co_UserDestroyWindow(PVOID Object)
BOOL APIENTRY DefSetText(PWND Wnd, PCWSTR WindowText)
HDC FASTCALL UserGetDCEx(PWND Window OPTIONAL, HANDLE ClipRegion, ULONG Flags)
FORCEINLINE BOOL RECTL_bIsEmptyRect(_In_ const RECTL *prcl)
PREGION FASTCALL REGION_LockRgn(_In_ HRGN hrgn)
VOID FASTCALL REGION_UnlockRgn(_In_ PREGION prgn)
BOOL UserDrawIconEx(HDC hDc, INT xLeft, INT yTop, PCURICON_OBJECT pIcon, INT cxWidth, INT cyHeight, UINT istepIfAniCur, HBRUSH hbrFlickerFreeDraw, UINT diFlags)
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)
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)
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)
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)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
FORCEINLINE VOID co_IntUnsnapWindow(PWND Wnd)
FORCEINLINE BOOLEAN IntIsSnapAllowedForWindow(PWND Wnd)
#define WM_CTLCOLORSTATIC
#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