提交 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" { ...@@ -116,7 +116,7 @@ extern "C" {
* Our window proc * 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; int command;
COPYDATASTRUCT *sentToUs; COPYDATASTRUCT *sentToUs;
char *package; char *package;
...@@ -153,7 +153,7 @@ extern "C" { ...@@ -153,7 +153,7 @@ extern "C" {
} else { } else {
//DEBUG_CODE(sprintf(buffer, "Got AB_MESSAGE_WAITING from HWND %p", wParam)); //DEBUG_CODE(sprintf(buffer, "Got AB_MESSAGE_WAITING from HWND %p", wParam));
//DEBUG_CODE(SetDlgItemText(theDialogWindow, cStatusText, buffer)); //DEBUG_CODE(SetDlgItemText(theDialogWindow, cStatusText, buffer));
LRESULT returnVal = theJavaAccessBridge->receiveMemoryPackage((HWND) wParam, lParam); LRESULT returnVal = theJavaAccessBridge->receiveMemoryPackage((HWND) wParam, (long) lParam);
} }
break; break;
......
...@@ -44,7 +44,7 @@ extern "C" { ...@@ -44,7 +44,7 @@ extern "C" {
LPVOID lpvReserved); LPVOID lpvReserved);
void AppendToCallOutput(char *s); void AppendToCallOutput(char *s);
BOOL APIENTRY AccessBridgeDialogProc(HWND hDlg, UINT message, 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.
先完成此消息的编辑!
想要评论请 注册