Skip to content

Commit

Permalink
feat(win32-def): breaking change WNDCLASSEXW
Browse files Browse the repository at this point in the history
use WString instead of LPCTSTR for lpszMenuName, lpszClassName
  • Loading branch information
waitingsong committed Jun 30, 2024
1 parent 38706af commit 72e6432
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/win32-def/src/lib/struct/winuser/WNDCLASSEXW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const init: StructInitType = {
hIcon: D.HICON,
hCursor: D.HCURSOR,
hbrBackground: D.HBRUSH,
lpszMenuName: D.LPCTSTR,
lpszClassName: D.LPCTSTR,
lpszMenuName: D.WString,
lpszClassName: D.WString,
hIconSm: D.HICON,
} as const

Expand Down Expand Up @@ -50,7 +50,7 @@ export interface WNDCLASSEXW_Type {
hIcon: T.HICON
hCursor: T.HCURSOR
hbrBackground: T.HBRUSH
lpszMenuName: T.LPCTSTR
lpszClassName: T.LPCTSTR
lpszMenuName: T.WCHAR_String
lpszClassName: T.WCHAR_String
hIconSm: T.HICON
}

0 comments on commit 72e6432

Please sign in to comment.