提交 7fac6b3b 编写于 作者: P ptbrunet

8077707: jdk9 b58 cannot run any graphical application on Win 8 with JAWS running

Summary: change dialog proc wparam type from UINT to WPARAM, lparam type from LONG to LPARAM
Reviewed-by: serb, alexsch, van
Contributed-by: peter.brunet@oracle.com
上级 2aef8baa
......@@ -116,7 +116,7 @@ extern "C" {
* Our window proc
*
*/
BOOL APIENTRY AccessBridgeDialogProc (HWND hDlg, UINT message, UINT wParam, LONG lParam) {
BOOL APIENTRY AccessBridgeDialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) {
int command;
COPYDATASTRUCT *sentToUs;
char *package;
......@@ -153,7 +153,7 @@ extern "C" {
} else {
//DEBUG_CODE(sprintf(buffer, "Got AB_MESSAGE_WAITING from HWND %p", wParam));
//DEBUG_CODE(SetDlgItemText(theDialogWindow, cStatusText, buffer));
LRESULT returnVal = theJavaAccessBridge->receiveMemoryPackage((HWND) wParam, lParam);
LRESULT returnVal = theJavaAccessBridge->receiveMemoryPackage((HWND) wParam, (long) lParam);
}
break;
......
......@@ -44,7 +44,7 @@ extern "C" {
LPVOID lpvReserved);
void AppendToCallOutput(char *s);
BOOL APIENTRY AccessBridgeDialogProc(HWND hDlg, UINT message,
UINT wParam, LONG lParam);
WPARAM wParam, LPARAM lParam);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册