https://git.reactos.org/?p=reactos.git;a=commitdiff;h=40863aebc4456b1097cf0ffa8b93d672c9d732d5

commit 40863aebc4456b1097cf0ffa8b93d672c9d732d5
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Thu Nov 10 15:59:52 2022 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Thu Nov 10 15:59:52 2022 +0900

    [NTUSER] Add 'Win:' comments around IntDefWindowProc
---
 win32ss/user/ntuser/defwnd.c    | 6 ++++++
 win32ss/user/ntuser/hotkey.c    | 8 ++++----
 win32ss/user/ntuser/nonclient.c | 1 +
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/win32ss/user/ntuser/defwnd.c b/win32ss/user/ntuser/defwnd.c
index e9a44f44bd9..27929de7dbe 100644
--- a/win32ss/user/ntuser/defwnd.c
+++ b/win32ss/user/ntuser/defwnd.c
@@ -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,
diff --git a/win32ss/user/ntuser/hotkey.c b/win32ss/user/ntuser/hotkey.c
index 02b504fe668..93b43d100d8 100644
--- a/win32ss/user/ntuser/hotkey.c
+++ b/win32ss/user/ntuser/hotkey.c
@@ -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)
diff --git a/win32ss/user/ntuser/nonclient.c b/win32ss/user/ntuser/nonclient.c
index 0cace3c0ba3..0561086024b 100644
--- a/win32ss/user/ntuser/nonclient.c
+++ b/win32ss/user/ntuser/nonclient.c
@@ -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;

Reply via email to