diff --git a/packages/win32-api/src/lib/user32/dict/CD.def.ts b/packages/win32-api/src/lib/user32/dict/CD.def.ts index 28ba8e13..2bbd4486 100644 --- a/packages/win32-api/src/lib/user32/dict/CD.def.ts +++ b/packages/win32-api/src/lib/user32/dict/CD.def.ts @@ -6,6 +6,9 @@ import { DefUser32_B } from './AB.def.js' export class DefUser32_C extends DefUser32_B { + /** https://learn.microsoft.com/zh-cn/windows/win32/api/winuser/nf-winuser-callwindowprocw */ + static CallWindowProcW = [D.LRESULT, [D.WNDPROC, D.HWND, D.UINT, D.WPARAM, D.LPARAM]] + /** https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-changedisplaysettingsexw */ static ChangeDisplaySettingsExW = [D.LONG, [D.WString, S.LPDEVMODEW, D.HWND, D.DWORD, D.LPVOID]] diff --git a/packages/win32-api/src/lib/user32/dict/CD.types.ts b/packages/win32-api/src/lib/user32/dict/CD.types.ts index cab3a60c..267a655b 100644 --- a/packages/win32-api/src/lib/user32/dict/CD.types.ts +++ b/packages/win32-api/src/lib/user32/dict/CD.types.ts @@ -7,6 +7,9 @@ import { User32_B } from './AB.types.js' export class User32_C extends User32_B { + /** https://learn.microsoft.com/zh-cn/windows/win32/api/winuser/nf-winuser-callwindowprocw */ + CallWindowProcW: (lpPrevWndFunc: T.WNDPROC, hWnd: T.HWND, Msg: T.UINT, wParam: T.WPARAM, lParam: T.LPARAM) => T.LRESULT + /** https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-changedisplaysettingsexw */ ChangeDisplaySettingsExW: ( lpszDeviceName: T.WString,