8249588: libwindowsaccessbridge issues on 64bit Windows

Reviewed-by: arapte, prr
This commit is contained in:
Matthias Baesken 2020-07-16 09:52:48 +02:00
parent 631085bdfd
commit 3e641b796f
2 changed files with 4 additions and 9 deletions
src/jdk.accessibility/windows/native/libwindowsaccessbridge

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -168,7 +168,7 @@ extern "C" {
* Our window proc * Our window proc
* *
*/ */
BOOL CALLBACK AccessBridgeDialogProc(HWND hDlg, UINT message, UINT wParam, LONG lParam) { BOOL CALLBACK AccessBridgeDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) {
COPYDATASTRUCT *sentToUs; COPYDATASTRUCT *sentToUs;
char *package; char *package;

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,15 +43,10 @@ extern "C" {
LPVOID lpvReserved); LPVOID lpvReserved);
void AppendToCallOutput(char *s); void AppendToCallOutput(char *s);
BOOL CALLBACK AccessBridgeDialogProc(HWND hDlg, UINT message, BOOL CALLBACK AccessBridgeDialogProc(HWND hDlg, UINT message,
UINT wParam, LONG lParam); WPARAM wParam, LPARAM lParam);
HWND getTopLevelHWND(HWND descendent); HWND getTopLevelHWND(HWND descendent);
} }
LRESULT CALLBACK WinAccessBridgeWindowProc(HWND hWnd, UINT message,
UINT wParam, LONG lParam);
BOOL CALLBACK DeleteItemProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
/** /**
* The WinAccessBridge class. The core of the Windows AT AccessBridge dll * The WinAccessBridge class. The core of the Windows AT AccessBridge dll
*/ */