[NTUSER] Add 'Win:' comments around IntDefWindowProc
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Thu, 10 Nov 2022 06:59:52 +0000 (15:59 +0900)
committerKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Thu, 10 Nov 2022 06:59:52 +0000 (15:59 +0900)
win32ss/user/ntuser/defwnd.c
win32ss/user/ntuser/hotkey.c
win32ss/user/ntuser/nonclient.c

index e9a44f4..27929de 100644 (file)
@@ -91,6 +91,7 @@ DefWndHandleWindowPosChanging(PWND pWnd, WINDOWPOS* Pos)
     return 0;
 }
 
+/* Win: xxxHandleWindowPosChanged */
 LRESULT FASTCALL
 DefWndHandleWindowPosChanged(PWND pWnd, WINDOWPOS* Pos)
 {
@@ -120,6 +121,7 @@ DefWndHandleWindowPosChanged(PWND pWnd, WINDOWPOS* Pos)
 //
 // Handle a WM_SYSCOMMAND message. Called from DefWindowProc().
 //
+// Win: xxxSysCommand
 LRESULT FASTCALL
 DefWndHandleSysCommand(PWND pWnd, WPARAM wParam, LPARAM lParam)
 {
@@ -360,6 +362,7 @@ DefWndHandleSetCursor(PWND pWnd, WPARAM wParam, LPARAM lParam)
    return FALSE;
 }
 
+/* Win: xxxDWPPrint */
 VOID FASTCALL DefWndPrint( PWND pwnd, HDC hdc, ULONG uFlags)
 {
   /*
@@ -430,6 +433,7 @@ UserPaintCaption(PWND pWnd, INT Flags)
 }
 
 // WM_SETICON
+/* Win: xxxDWP_SetIcon */
 LRESULT FASTCALL
 DefWndSetIcon(PWND pWnd, WPARAM wParam, LPARAM lParam)
 {
@@ -468,6 +472,7 @@ DefWndSetIcon(PWND pWnd, WPARAM wParam, LPARAM lParam)
     return (LRESULT)hIconOld;
 }
 
+/* Win: DWP_GetIcon */
 LRESULT FASTCALL
 DefWndGetIcon(PWND pWnd, WPARAM wParam, LPARAM lParam)
 {
@@ -527,6 +532,7 @@ DefWndScreenshot(PWND pWnd)
 /*
    Win32k counterpart of User DefWindowProc
  */
+/* Win: xxxRealDefWindowProc */
 LRESULT FASTCALL
 IntDefWindowProc(
    PWND Wnd,
index 02b504f..93b43d1 100644 (file)
@@ -305,9 +305,9 @@ co_UserProcessHotKeys(WORD wVk, BOOL bIsDown)
 
 
 /*
- * DefWndGetHotKey
+ * DefWndGetHotKey --- GetHotKey message support
  *
- * GetHotKey message support
+ * Win: DWP_GetHotKey
  */
 UINT FASTCALL
 DefWndGetHotKey(PWND pWnd)
@@ -332,9 +332,9 @@ DefWndGetHotKey(PWND pWnd)
 }
 
 /*
- * DefWndSetHotKey
+ * DefWndSetHotKey --- SetHotKey message support
  *
- * SetHotKey message support
+ * Win: DWP_SetHotKey
  */
 INT FASTCALL
 DefWndSetHotKey(PWND pWnd, WPARAM wParam)
index 0cace3c..0561086 100644 (file)
@@ -1245,6 +1245,7 @@ NC_DoNCPaint(PWND pWnd, HDC hDC, INT Flags)
    return 0; // For WM_NCPAINT message, return 0.
 }
 
+/* Win: xxxCalcClientRect */
 LRESULT NC_HandleNCCalcSize( PWND Wnd, WPARAM wparam, RECTL *Rect, BOOL Suspended )
 {
    LRESULT Result = 0;