equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
541 newNode, hwnd, treeNodeItem, treeWnd); |
541 newNode, hwnd, treeNodeItem, treeWnd); |
542 } |
542 } |
543 } else { |
543 } else { |
544 char s[LINE_BUFSIZE]; |
544 char s[LINE_BUFSIZE]; |
545 sprintf( s, |
545 sprintf( s, |
546 "ERROR calling GetAccessibleContextInfo; vmID = %X, context = %X", |
546 "ERROR calling GetAccessibleContextInfo; vmID = %X, context = %p", |
547 vmID, context ); |
547 vmID, context ); |
548 |
548 |
549 TVITEM tvi; |
549 TVITEM tvi; |
550 tvi.mask = TVIF_PARAM | TVIF_TEXT; // text and lParam are only valid parts |
550 tvi.mask = TVIF_PARAM | TVIF_TEXT; // text and lParam are only valid parts |
551 tvi.pszText = (char *) s; |
551 tvi.pszText = (char *) s; |