Skip to content

Commit 63cb33d

Browse files
author
Dennis Korpel
committed
Fix LONG instead of LRESULT return in winuser.d
1 parent 69a04d3 commit 63cb33d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

druntime/src/core/sys/windows/winuser.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3720,8 +3720,8 @@ nothrow @nogc {
37203720
alias GetWindow GetNextWindow;
37213721

37223722
extern (Windows) nothrow @nogc:
3723-
LONG DispatchMessageA(const(MSG)*);
3724-
LONG DispatchMessageW(const(MSG)*);
3723+
LRESULT DispatchMessageA(const(MSG)*);
3724+
LRESULT DispatchMessageW(const(MSG)*);
37253725
int DlgDirListA(HWND, LPSTR, int, int, UINT);
37263726
int DlgDirListW(HWND, LPWSTR, int, int, UINT);
37273727
int DlgDirListComboBoxA(HWND, LPSTR, int, int, UINT);
@@ -4034,8 +4034,8 @@ BOOL ScreenToClient(HWND, LPPOINT);
40344034
BOOL ScrollDC(HDC, int, int, LPCRECT, LPCRECT, HRGN, LPRECT);
40354035
BOOL ScrollWindow(HWND, int, int, LPCRECT, LPCRECT);
40364036
int ScrollWindowEx(HWND, int, int, LPCRECT, LPCRECT, HRGN, LPRECT, UINT);
4037-
LONG SendDlgItemMessageA(HWND, int, UINT, WPARAM, LPARAM);
4038-
LONG SendDlgItemMessageW(HWND, int, UINT, WPARAM, LPARAM);
4037+
LRESULT SendDlgItemMessageA(HWND, int, UINT, WPARAM, LPARAM);
4038+
LRESULT SendDlgItemMessageW(HWND, int, UINT, WPARAM, LPARAM);
40394039
LRESULT SendMessageA(HWND, UINT, WPARAM, LPARAM);
40404040
BOOL SendMessageCallbackA(HWND, UINT, WPARAM, LPARAM, SENDASYNCPROC, ULONG_PTR);
40414041
BOOL SendMessageCallbackW(HWND, UINT, WPARAM, LPARAM, SENDASYNCPROC, ULONG_PTR);

0 commit comments

Comments
 (0)