Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 1df635f

Browse files
author
Yuri Nesterenko
committed
8249588: libwindowsaccessbridge issues on 64bit Windows
Backport-of: 3e641b796fee207b9447c8a74eb594baee9191bf
1 parent c79f3de commit 1df635f

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/jdk.accessibility/windows/native/libwindowsaccessbridge/WinAccessBridge.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -168,7 +168,7 @@ extern "C" {
168168
* Our window proc
169169
*
170170
*/
171-
BOOL CALLBACK AccessBridgeDialogProc(HWND hDlg, UINT message, UINT wParam, LONG lParam) {
171+
BOOL CALLBACK AccessBridgeDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) {
172172
COPYDATASTRUCT *sentToUs;
173173
char *package;
174174

src/jdk.accessibility/windows/native/libwindowsaccessbridge/WinAccessBridge.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -43,15 +43,10 @@ extern "C" {
4343
LPVOID lpvReserved);
4444
void AppendToCallOutput(char *s);
4545
BOOL CALLBACK AccessBridgeDialogProc(HWND hDlg, UINT message,
46-
UINT wParam, LONG lParam);
46+
WPARAM wParam, LPARAM lParam);
4747
HWND getTopLevelHWND(HWND descendent);
4848
}
4949

50-
LRESULT CALLBACK WinAccessBridgeWindowProc(HWND hWnd, UINT message,
51-
UINT wParam, LONG lParam);
52-
53-
BOOL CALLBACK DeleteItemProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
54-
5550
/**
5651
* The WinAccessBridge class. The core of the Windows AT AccessBridge dll
5752
*/

0 commit comments

Comments
 (0)