Skip to content

Commit 6f5798c

Browse files
Update WINDOWS WM records
1 parent e0a3e70 commit 6f5798c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

units/sdlsyswm.inc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,14 @@ Type
8989
{$IFDEF SDL_VIDEO_DRIVER_WINDOWS}
9090
__SYSWM_WINDOWS = record
9191
hwnd: HWND; {**< The window for the message }
92-
msg: uInt; {**< The type of message *}
92+
msg: UINT; {**< The type of message *}
9393
wParam: WPARAM; {**< WORD message parameter *}
94-
lParam: LPARAM; {**< WORD message parameter *}
94+
lParam: LPARAM; {**< LONG message parameter *}
9595
end;
9696
__WMINFO_WINDOWS = record
97-
window: HWND; {**< The window handle *}
98-
hdc: HDC; {**< The window device context *}
97+
window: HWND; {**< The window handle *}
98+
hdc: HDC; {**< The window device context *}
99+
hinstance: HINST; {**< The instance handle *}
99100
end;
100101
{$ENDIF}
101102

0 commit comments

Comments
 (0)