Source Code Cross Referenced for COM.java in  » Ajax » GWT » org » eclipse » swt » internal » ole » win32 » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » GWT » org.eclipse.swt.internal.ole.win32 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*******************************************************************************
002:         * Copyright (c) 2000, 2006 IBM Corporation and others.
003:         * All rights reserved. This program and the accompanying materials
004:         * are made available under the terms of the Eclipse Public License v1.0
005:         * which accompanies this distribution, and is available at
006:         * http://www.eclipse.org/legal/epl-v10.html
007:         *
008:         * Contributors:
009:         *     IBM Corporation - initial API and implementation
010:         *******************************************************************************/package org.eclipse.swt.internal.ole.win32;
011:
012:        import org.eclipse.swt.internal.win32.*;
013:
014:        public class COM extends OS {
015:            /** GUID Constants */
016:            public static final GUID IIDJavaBeansBridge = COM
017:                    .IIDFromString("{8AD9C840-044E-11D1-B3E9-00805F499D93}"); //$NON-NLS-1$
018:            public static final GUID IIDShockwaveActiveXControl = COM
019:                    .IIDFromString("{166B1BCA-3F9C-11CF-8075-444553540000}"); //$NON-NLS-1$
020:            public static final GUID IIDIEditorSiteTime = IIDFromString("{6BD2AEFE-7876-45e6-A6E7-3BFCDF6540AA}"); //$NON-NLS-1$
021:            public static final GUID IIDIEditorSiteProperty = IIDFromString("{D381A1F4-2326-4f3c-AFB9-B7537DB9E238}"); //$NON-NLS-1$
022:            public static final GUID IIDIEditorBaseProperty = IIDFromString("{61E55B0B-2647-47c4-8C89-E736EF15D636}"); //$NON-NLS-1$
023:            public static final GUID IIDIEditorSite = IIDFromString("{CDD88AB9-B01D-426E-B0F0-30973E9A074B}"); //$NON-NLS-1$
024:            public static final GUID IIDIEditorService = IIDFromString("{BEE283FE-7B42-4FF3-8232-0F07D43ABCF1}"); //$NON-NLS-1$
025:            public static final GUID IIDIEditorManager = IIDFromString("{EFDE08C4-BE87-4B1A-BF84-15FC30207180}"); //$NON-NLS-1$
026:            public static final GUID IIDIAccessible = IIDFromString("{618736E0-3C3D-11CF-810C-00AA00389B71}"); //$NON-NLS-1$
027:            //public static final GUID IIDIAccessibleHandler = IIDFromString("{03022430-ABC4-11D0-BDE2-00AA001A1953}"); //$NON-NLS-1$
028:            //public static final GUID IIDIAccessor = IIDFromString("{0C733A8C-2A1C-11CE-ADE5-00AA0044773D}"); //$NON-NLS-1$
029:            public static final GUID IIDIAdviseSink = IIDFromString("{0000010F-0000-0000-C000-000000000046}"); //$NON-NLS-1$
030:            //public static final GUID IIDIAdviseSink2 = IIDFromString("{00000125-0000-0000-C000-000000000046}"); //$NON-NLS-1$
031:            //public static final GUID IIDIBindCtx = IIDFromString("{0000000E-0000-0000-C000-000000000046}"); //$NON-NLS-1$
032:            //public static final GUID IIDIClassFactory = IIDFromString("{00000001-0000-0000-C000-000000000046}"); //$NON-NLS-1$
033:            public static final GUID IIDIClassFactory2 = IIDFromString("{B196B28F-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
034:            public static final GUID IIDIConnectionPoint = IIDFromString("{B196B286-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
035:            public static final GUID IIDIConnectionPointContainer = IIDFromString("{B196B284-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
036:            //public static final GUID IIDICreateErrorInfo = IIDFromString("{22F03340-547D-101B-8E65-08002B2BD119}"); //$NON-NLS-1$
037:            //public static final GUID IIDICreateTypeInfo = IIDFromString("{00020405-0000-0000-C000-000000000046}"); //$NON-NLS-1$
038:            //public static final GUID IIDICreateTypeLib = IIDFromString("{00020406-0000-0000-C000-000000000046}"); //$NON-NLS-1$
039:            //public static final GUID IIDIDataAdviseHolder = IIDFromString("{00000110-0000-0000-C000-000000000046}"); //$NON-NLS-1$
040:            public static final GUID IIDIDataObject = IIDFromString("{0000010E-0000-0000-C000-000000000046}"); //$NON-NLS-1$
041:            public static final GUID IIDIDispatch = IIDFromString("{00020400-0000-0000-C000-000000000046}"); //$NON-NLS-1$
042:            public static final GUID IIDIDocHostUIHandler = IIDFromString("{BD3F23C0-D43E-11CF-893B-00AA00BDCE1A}"); //$NON-NLS-1$	
043:            public static final GUID IIDIDocHostShowUI = IIDFromString("{C4D244B0-D43E-11CF-893B-00AA00BDCE1A}"); //$NON-NLS-1$	
044:            public static final GUID IIDIDropSource = IIDFromString("{00000121-0000-0000-C000-000000000046}"); //$NON-NLS-1$
045:            public static final GUID IIDIDropTarget = IIDFromString("{00000122-0000-0000-C000-000000000046}"); //$NON-NLS-1$
046:            //public static final GUID IIDIEnumConnectionPoints = IIDFromString("{B196B285-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
047:            //public static final GUID IIDIEnumConnections = IIDFromString("{B196B287-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
048:            public static final GUID IIDIEnumFORMATETC = IIDFromString("{00000103-0000-0000-C000-000000000046}"); //$NON-NLS-1$
049:            //public static final GUID IIDIEnumMoniker = IIDFromString("{00000102-0000-0000-C000-000000000046}"); //$NON-NLS-1$
050:            //public static final GUID IIDIEnumOLEVERB = IIDFromString("{00000104-0000-0000-C000-000000000046}"); //$NON-NLS-1$
051:            //public static final GUID IIDIEnumSTATDATA = IIDFromString("{00000105-0000-0000-C000-000000000046}"); //$NON-NLS-1$
052:            //public static final GUID IIDIEnumSTATSTG = IIDFromString("{0000000D-0000-0000-C000-000000000046}"); //$NON-NLS-1$
053:            //public static final GUID IIDIEnumString = IIDFromString("{00000101-0000-0000-C000-000000000046}"); //$NON-NLS-1$
054:            //public static final GUID IIDIEnumUnknown = IIDFromString("{00000100-0000-0000-C000-000000000046}"); //$NON-NLS-1$
055:            public static final GUID IIDIEnumVARIANT = IIDFromString("{00020404-0000-0000-C000-000000000046}"); //$NON-NLS-1$
056:            //public static final GUID IIDIErrorInfo = IIDFromString("{1CF2B120-547D-101B-8E65-08002B2BD119}"); //$NON-NLS-1$
057:            //public static final GUID IIDIErrorLog = IIDFromString("{3127CA40-446E-11CE-8135-00AA004BB851}"); //$NON-NLS-1$
058:            //public static final GUID IIDIExternalConnection = IIDFromString("{00000019-0000-0000-C000-000000000046}"); //$NON-NLS-1$
059:            public static final GUID IIDIFont = IIDFromString("{BEF6E002-A874-101A-8BBA-00AA00300CAB}"); //$NON-NLS-1$
060:            //public static final GUID IIDIFontDisp = IIDFromString("{BEF6E003-A874-101A-8BBA-00AA00300CAB}"); //$NON-NLS-1$
061:            public static final GUID IIDIInternetSecurityManager = IIDFromString("{79eac9ee-baf9-11ce-8c82-00aa004ba90b}"); //$NON-NLS-1$
062:            //public static final GUID IIDILockBytes = IIDFromString("{0000000A-0000-0000-C000-000000000046}"); //$NON-NLS-1$
063:            //public static final GUID IIDIMalloc = IIDFromString("{00000002-0000-0000-C000-000000000046}"); //$NON-NLS-1$
064:            //public static final GUID IIDIMallocSpy = IIDFromString("{0000001D-0000-0000-C000-000000000046}"); //$NON-NLS-1$
065:            //public static final GUID IIDIMarshal = IIDFromString("{00000003-0000-0000-C000-000000000046}"); //$NON-NLS-1$
066:            //public static final GUID IIDIMessageFilter = IIDFromString("{00000016-0000-0000-C000-000000000046}"); //$NON-NLS-1$
067:            //public static final GUID IIDIMoniker = IIDFromString("{0000000F-0000-0000-C000-000000000046}"); //$NON-NLS-1$
068:            public static final GUID IIDIObjectWithSite = IIDFromString("{FC4801A3-2BA9-11CF-A229-00AA003D7352}"); //$NON-NLS-1$ // GOOGLE
069:            //public static final GUID IIDIOleAdviseHolder = IIDFromString("{00000111-0000-0000-C000-000000000046}"); //$NON-NLS-1$
070:            //public static final GUID IIDIOleCache = IIDFromString("{0000011E-0000-0000-C000-000000000046}"); //$NON-NLS-1$
071:            //public static final GUID IIDIOleCache2 = IIDFromString("{00000128-0000-0000-C000-000000000046}"); //$NON-NLS-1$
072:            //public static final GUID IIDIOleCacheControl = IIDFromString("{00000129-0000-0000-C000-000000000046}"); //$NON-NLS-1$
073:            public static final GUID IIDIOleClientSite = IIDFromString("{00000118-0000-0000-C000-000000000046}"); //$NON-NLS-1$
074:            public static final GUID IIDIOleCommandTarget = IIDFromString("{B722BCCB-4E68-101B-A2BC-00AA00404770}"); //$NON-NLS-1$
075:            public static final GUID IIDIOleContainer = IIDFromString("{0000011B-0000-0000-C000-000000000046}"); //$NON-NLS-1$
076:            public static final GUID IIDIOleControl = IIDFromString("{B196B288-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
077:            public static final GUID IIDIOleControlSite = IIDFromString("{B196B289-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
078:            public static final GUID IIDIOleDocument = IIDFromString("{B722BCC5-4E68-101B-A2BC-00AA00404770}"); //$NON-NLS-1$
079:            public static final GUID IIDIOleDocumentSite = IIDFromString("{B722BCC7-4E68-101B-A2BC-00AA00404770}"); //$NON-NLS-1$
080:            public static final GUID IIDIOleInPlaceActiveObject = IIDFromString("{00000117-0000-0000-C000-000000000046}"); //$NON-NLS-1$
081:            public static final GUID IIDIOleInPlaceFrame = IIDFromString("{00000116-0000-0000-C000-000000000046}"); //$NON-NLS-1$
082:            public static final GUID IIDIOleInPlaceObject = IIDFromString("{00000113-0000-0000-C000-000000000046}"); //$NON-NLS-1$
083:            public static final GUID IIDIOleInPlaceSite = IIDFromString("{00000119-0000-0000-C000-000000000046}"); //$NON-NLS-1$
084:            public static final GUID IIDIOleInPlaceUIWindow = IIDFromString("{00000115-0000-0000-C000-000000000046}"); //$NON-NLS-1$
085:            //public static final GUID IIDIOleItemContainer = IIDFromString("{0000011C-0000-0000-C000-000000000046}"); //$NON-NLS-1$
086:            public static final GUID IIDIOleLink = IIDFromString("{0000011D-0000-0000-C000-000000000046}"); //$NON-NLS-1$
087:            public static final GUID IIDIOleObject = IIDFromString("{00000112-0000-0000-C000-000000000046}"); //$NON-NLS-1$
088:            public static final GUID IIDIOleWindow = IIDFromString("{00000114-0000-0000-C000-000000000046}"); //$NON-NLS-1$
089:            //public static final GUID IIDIParseDisplayName = IIDFromString("{0000011A-0000-0000-C000-000000000046}"); //$NON-NLS-1$
090:            //public static final GUID IIDIPerPropertyBrowsing = IIDFromString("{376BD3AA-3845-101B-84ED-08002B2EC713}"); //$NON-NLS-1$
091:            public static final GUID IIDIPersist = IIDFromString("{0000010C-0000-0000-C000-000000000046}"); //$NON-NLS-1$
092:            public static final GUID IIDIPersistFile = IIDFromString("{0000010B-0000-0000-C000-000000000046}"); //$NON-NLS-1$
093:            //public static final GUID IIDIPersistMemory = IIDFromString("{BD1AE5E0-A6AE-11CE-BD37-504200C10000}"); //$NON-NLS-1$
094:            //public static final GUID IIDIPersistPropertyBag = IIDFromString("{37D84F60-42CB-11CE-8135-00AA004BB851}"); //$NON-NLS-1$
095:            public static final GUID IIDIPersistStorage = IIDFromString("{0000010A-0000-0000-C000-000000000046}"); //$NON-NLS-1$
096:            public static final GUID IIDIPersistStream = IIDFromString("{00000109-0000-0000-C000-000000000046}"); //$NON-NLS-1$
097:            public static final GUID IIDIPersistStreamInit = IIDFromString("{7FD52380-4E07-101B-AE2D-08002B2EC713}"); //$NON-NLS-1$
098:            //public static final GUID IIDIPicture = IIDFromString("{7BF80980-BF32-101A-8BBB-00AA00300CAB}"); //$NON-NLS-1$
099:            //public static final GUID IIDIPictureDisp = IIDFromString("{7BF80981-BF32-101A-8BBB-00AA00300CAB}"); //$NON-NLS-1$
100:            //public static final GUID IIDIPropertyBag = IIDFromString("{55272A00-42CB-11CE-8135-00AA004BB851}"); //$NON-NLS-1$
101:            public static final GUID IIDIPropertyNotifySink = IIDFromString("{9BFBBC02-EFF1-101A-84ED-00AA00341D07}"); //$NON-NLS-1$
102:            //public static final GUID IIDIPropertyPage = IIDFromString("{B196B28D-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
103:            //public static final GUID IIDIPropertyPage2 = IIDFromString("{01E44665-24AC-101B-84ED-08002B2EC713}"); //$NON-NLS-1$
104:            //public static final GUID IIDIPropertyPageSite = IIDFromString("{B196B28C-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
105:            public static final GUID IIDIProvideClassInfo = IIDFromString("{B196B283-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
106:            public static final GUID IIDIProvideClassInfo2 = IIDFromString("{A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851}"); //$NON-NLS-1$
107:            //public static final GUID IIDIPSFactoryBuffer = IIDFromString("{D5F569D0-593B-101A-B569-08002B2DBF7A}"); //$NON-NLS-1$
108:            //public static final GUID IIDIRootStorage = IIDFromString("{00000012-0000-0000-C000-000000000046}"); //$NON-NLS-1$
109:            //public static final GUID IIDIROTData = IIDFromString("{F29F6BC0-5021-11CE-AA15-00006901293F}"); //$NON-NLS-1$
110:            //public static final GUID IIDIRpcChannelBuffer = IIDFromString("{D5F56B60-593B-101A-B569-08002B2DBF7A}"); //$NON-NLS-1$
111:            //public static final GUID IIDIRpcProxyBuffer = IIDFromString("{D5F56A34-593B-101A-B569-08002B2DBF7A}"); //$NON-NLS-1$
112:            //public static final GUID IIDIRpcStubBuffer = IIDFromString("{D5F56AFC-593B-101A-B569-08002B2DBF7A}"); //$NON-NLS-1$
113:            //public static final GUID IIDIRunnableObject = IIDFromString("{00000126-0000-0000-C000-000000000046}"); //$NON-NLS-1$
114:            //public static final GUID IIDIRunningObjectTable = IIDFromString("{00000010-0000-0000-C000-000000000046}"); //$NON-NLS-1$
115:            //public static final GUID IIDISimpleFrameSite = IIDFromString("{742B0E01-14E6-101B-914E-00AA00300CAB}"); //$NON-NLS-1$
116:            public static final GUID IIDIServiceProvider = IIDFromString("{6d5140c1-7436-11ce-8034-00aa006009fa}"); //$NON-NLS-1$
117:            public static final GUID IIDISpecifyPropertyPages = IIDFromString("{B196B28B-BAB4-101A-B69C-00AA00341D07}"); //$NON-NLS-1$
118:            //public static final GUID IIDIStdMarshalInfo = IIDFromString("{00000018-0000-0000-C000-000000000046}"); //$NON-NLS-1$
119:            public static final GUID IIDIStorage = IIDFromString("{0000000B-0000-0000-C000-000000000046}"); //$NON-NLS-1$
120:            public static final GUID IIDIStream = IIDFromString("{0000000C-0000-0000-C000-000000000046}"); //$NON-NLS-1$
121:            //public static final GUID IIDISupportErrorInfo = IIDFromString("{DF0B3D60-548F-101B-8E65-08002B2BD119}"); //$NON-NLS-1$
122:            //public static final GUID IIDITypeComp = IIDFromString("{00020403-0000-0000-C000-000000000046}"); //$NON-NLS-1$
123:            //public static final GUID IIDITypeLib = IIDFromString("{00020402-0000-0000-C000-000000000046}"); //$NON-NLS-1$
124:            public static final GUID IIDIUnknown = IIDFromString("{00000000-0000-0000-C000-000000000046}"); //$NON-NLS-1$
125:            //public static final GUID IIDIViewObject = IIDFromString("{0000010D-0000-0000-C000-000000000046}"); //$NON-NLS-1$
126:            public static final GUID IIDIViewObject2 = IIDFromString("{00000127-0000-0000-C000-000000000046}"); //$NON-NLS-1$
127:            public static final GUID CGID_DocHostCommandHandler = IIDFromString("{f38bc242-b950-11d1-8918-00c04fc2c836}"); //$NON-NLS-1$
128:            public static final GUID CGID_Explorer = IIDFromString("{000214D0-0000-0000-C000-000000000046}"); //$NON-NLS-1$
129:
130:            /** Constants */
131:            //public static final int ADVF_DATAONSTOP = 64;
132:            //public static final int ADVF_NODATA = 1;
133:            //public static final int ADVF_ONLYONCE = 2;
134:            //public static final int ADVF_PRIMEFIRST = 4;
135:            //public static final int ADVFCACHE_FORCEBUILTIN = 16;
136:            //public static final int ADVFCACHE_NOHANDLER = 8;
137:            //public static final int ADVFCACHE_ONSAVE = 32;
138:            public static final int CF_TEXT = 1;
139:            public static final int CF_BITMAP = 2;
140:            public static final int CF_METAFILEPICT = 3;
141:            public static final int CF_SYLK = 4;
142:            public static final int CF_DIF = 5;
143:            public static final int CF_TIFF = 6;
144:            public static final int CF_OEMTEXT = 7;
145:            public static final int CF_DIB = 8;
146:            public static final int CF_PALETTE = 9;
147:            public static final int CF_PENDATA = 10;
148:            public static final int CF_RIFF = 11;
149:            public static final int CF_WAVE = 12;
150:            public static final int CF_UNICODETEXT = 13;
151:            public static final int CF_ENHMETAFILE = 14;
152:            public static final int CF_HDROP = 15;
153:            public static final int CF_LOCALE = 16;
154:            public static final int CF_MAX = 17;
155:            public static final int CLSCTX_INPROC_HANDLER = 2;
156:            public static final int CLSCTX_INPROC_SERVER = 1;
157:            public static final int CLSCTX_LOCAL_SERVER = 4;
158:            public static final int CLSCTX_REMOTE_SERVER = 16;
159:            public static final int CO_E_CLASSSTRING = -2147221005;
160:            //public static final int COINIT_APARTMENTTHREADED = 2;
161:            //public static final int COINIT_DISABLE_OLE1DDE = 4;
162:            //public static final int COINIT_MULTITHREADED = 0;
163:            //public static final int COINIT_SPEED_OVER_MEMORY = 8;
164:            public static final int DATADIR_GET = 1;
165:            public static final int DATADIR_SET = 2;
166:            public static final int DISP_E_EXCEPTION = 0x80020009;
167:            public static final int DISP_E_MEMBERNOTFOUND = -2147352573;
168:            public static final int DISP_E_UNKNOWNINTERFACE = 0x80020001;
169:            //public static final int DISPID_AMBIENT_APPEARANCE = -716;
170:            //public static final int DISPID_AMBIENT_AUTOCLIP = -715;
171:            public static final int DISPID_AMBIENT_BACKCOLOR = -701;
172:            //public static final int DISPID_AMBIENT_CHARSET = -727;
173:            //public static final int DISPID_AMBIENT_CODEPAGE = -725;
174:            //public static final int DISPID_AMBIENT_DISPLAYASDEFAULT = -713;
175:            //public static final int DISPID_AMBIENT_DISPLAYNAME = -702;
176:            public static final int DISPID_AMBIENT_FONT = -703;
177:            public static final int DISPID_AMBIENT_FORECOLOR = -704;
178:            public static final int DISPID_AMBIENT_LOCALEID = -705;
179:            public static final int DISPID_AMBIENT_MESSAGEREFLECT = -706;
180:            public static final int DISPID_AMBIENT_OFFLINEIFNOTCONNECTED = -5501;
181:            //public static final int DISPID_AMBIENT_PALETTE = -726;
182:            //public static final int DISPID_AMBIENT_RIGHTTOLEFT = -732;
183:            //public static final int DISPID_AMBIENT_SCALEUNITS = -707;
184:            public static final int DISPID_AMBIENT_SHOWGRABHANDLES = -711;
185:            public static final int DISPID_AMBIENT_SHOWHATCHING = -712;
186:            public static final int DISPID_AMBIENT_SILENT = -5502;
187:            public static final int DISPID_AMBIENT_SUPPORTSMNEMONICS = -714;
188:            //public static final int DISPID_AMBIENT_TEXTALIGN = -708;
189:            //public static final int DISPID_AMBIENT_TOPTOBOTTOM = -733;
190:            //public static final int DISPID_AMBIENT_TRANSFERPRIORITY = -728;
191:            public static final int DISPID_AMBIENT_UIDEAD = -710;
192:            public static final int DISPID_AMBIENT_USERMODE = -709;
193:            public static final int DISPID_BACKCOLOR = -501;
194:            public static final int DISPID_FONT = -512;
195:            public static final int DISPID_FONT_BOLD = 3;
196:            public static final int DISPID_FONT_CHARSET = 8;
197:            public static final int DISPID_FONT_ITALIC = 4;
198:            public static final int DISPID_FONT_NAME = 0;
199:            public static final int DISPID_FONT_SIZE = 2;
200:            public static final int DISPID_FONT_STRIKE = 6;
201:            public static final int DISPID_FONT_UNDER = 5;
202:            public static final int DISPID_FONT_WEIGHT = 7;
203:            public static final int DISPID_FORECOLOR = -513;
204:            //public static final int DISPID_READYSTATE = -525;
205:            //public static final int DISPID_READYSTATECHANGE = -609;
206:            public static final int DRAGDROP_S_DROP = 0x00040100;
207:            public static final int DRAGDROP_S_CANCEL = 0x00040101;
208:            public static final int DRAGDROP_S_USEDEFAULTCURSORS = 0x00040102;
209:            public static final int DROPEFFECT_NONE = 0;
210:            public static final int DROPEFFECT_COPY = 1;
211:            public static final int DROPEFFECT_MOVE = 2;
212:            public static final int DROPEFFECT_LINK = 4;
213:            public static final int DROPEFFECT_SCROLL = 0x80000000;
214:            public static final int DV_E_FORMATETC = -2147221404;
215:            public static final int DV_E_STGMEDIUM = -2147221402;
216:            public static final int DV_E_TYMED = -2147221399;
217:            public static final int DVASPECT_CONTENT = 1;
218:            //public static final int DVASPECT_DOCPRINT = 8;
219:            //public static final int DVASPECT_ICON = 4;
220:            //public static final int DVASPECT_THUMBNAIL = 2;
221:            public static final int E_FAIL = -2147467259;
222:            public static final int E_INVALIDARG = -2147024809;
223:            public static final int E_NOINTERFACE = -2147467262;
224:            public static final int E_NOTIMPL = -2147467263;
225:            public static final int E_NOTSUPPORTED = 0x80040100;
226:            //public static final int E_NOTLICENSED = -2147221230;
227:            //public static final int E_OUTOFMEMORY = -2147024882;
228:            //public static final int E_POINTER = -2147467261;
229:            public static final int GMEM_FIXED = 0;
230:            //public static final int GMEM_MOVABLE = 2;
231:            //public static final int GMEM_NODISCARD = 32;
232:            public static final int GMEM_ZEROINIT = 64;
233:            public static final int GUIDKIND_DEFAULT_SOURCE_DISP_IID = 1;
234:            public static final int IMPLTYPEFLAG_FDEFAULT = 1;
235:            //public static final int IMPLTYPEFLAG_FDEFAULTVTABLE = 2048;
236:            public static final int IMPLTYPEFLAG_FRESTRICTED = 4;
237:            public static final int IMPLTYPEFLAG_FSOURCE = 2;
238:            public static final int LOCALE_SYSTEM_DEFAULT = 1024;
239:            public static final int LOCALE_USER_DEFAULT = 2048;
240:            //public static final int MEMCTX_TASK = 1;
241:            //public static final int OLEACTIVATEAUTO = 3; 
242:            //public static final int OLEACTIVATEDOUBLECLICK = 2; 
243:            //public static final int OLEACTIVATEGETFOCUS = 1; 
244:            //public static final int OLEACTIVATEMANUAL = 0; 
245:            //public static final int OLEAUTOMATIC = 0; 
246:            //public static final int OLECHANGED = 0; 
247:            public static final int OLECLOSE_NOSAVE = 1;
248:            //public static final int OLECLOSE_PROMPTSAVE = 2;
249:            public static final int OLECLOSE_SAVEIFDIRTY = 0;
250:            //public static final int OLECLOSED = 2; 
251:            //public static final int OLECONTF_EMBEDDINGS = 1;
252:            //public static final int OLECONTF_LINKS = 2;
253:            //public static final int OLECONTF_ONLYIFRUNNING = 16;
254:            //public static final int OLECONTF_ONLYUSER = 8;
255:            //public static final int OLECONTF_OTHERS = 4;
256:            //public static final int OLEDEACTIVATEMANUAL = 1;
257:            //public static final int OLEDEACTIVATEONLOSEFOCUS = 0; 
258:            //public static final int OLEDECBORDER = 1;
259:            //public static final int OLEDECBORDERANDNIBS = 3;
260:            //public static final int OLEDECNIBS = 2;
261:            //public static final int OLEDECNONE = 0;
262:            //public static final int OLEDISPLAYCONTENT = 0; 
263:            //public static final int OLEDISPLAYICON = 1; 
264:            //public static final int OLEEITHER = 2; 
265:            public static final int OLEEMBEDDED = 1;
266:            //public static final int OLEFROZEN = 1; 
267:            public static final int OLEIVERB_DISCARDUNDOSTATE = -6;
268:            //public static final int OLEIVERB_HIDE = -3;
269:            public static final int OLEIVERB_INPLACEACTIVATE = -5;
270:            //public static final int OLEIVERB_OPEN = -2;
271:            public static final int OLEIVERB_PRIMARY = 0;
272:            //public static final int OLEIVERB_PROPERTIES = -7;
273:            //public static final int OLEIVERB_SHOW = -1;
274:            //public static final int OLEIVERB_UIACTIVATE = -4; 
275:            public static final int OLELINKED = 0;
276:            //public static final int OLEMANUAL = 2; 
277:            //public static final int OLEMISC_ACTIVATEWHENVISIBLE = 256;
278:            //public static final int OLEMISC_ACTSLIKEBUTTON = 4096;
279:            //public static final int OLEMISC_ACTSLIKELABEL = 8192;
280:            //public static final int OLEMISC_ALIGNABLE = 32768;
281:            //public static final int OLEMISC_ALWAYSRUN = 2048;
282:            //public static final int OLEMISC_CANLINKBYOLE1 = 32;
283:            //public static final int OLEMISC_CANTLINKINSIDE = 16;
284:            //public static final int OLEMISC_IGNOREACTIVATEWHENVISIBLE = 524288;
285:            //public static final int OLEMISC_IMEMODE = 262144;
286:            //public static final int OLEMISC_INSERTNOTREPLACE = 4;
287:            //public static final int OLEMISC_INSIDEOUT = 128;
288:            //public static final int OLEMISC_INVISIBLEATRUNTIME = 1024;
289:            //public static final int OLEMISC_ISLINKOBJECT = 64;
290:            //public static final int OLEMISC_NOUIACTIVATE = 16384;
291:            //public static final int OLEMISC_ONLYICONIC = 2;
292:            //public static final int OLEMISC_RECOMPOSEONRESIZE = 1;
293:            //public static final int OLEMISC_RENDERINGISDEVICEINDEPENDENT = 512;
294:            //public static final int OLEMISC_SETCLIENTSITEFIRST = 131072;
295:            //public static final int OLEMISC_SIMPLEFRAME = 65536;
296:            //public static final int OLEMISC_STATIC = 8;
297:            //public static final int OLEMISC_SUPPORTSMULTILEVELUNDO = 2097152;
298:            //public static final int OLEMISC_WANTSTOMENUMERGE = 1048576;
299:            //public static final int OLENONE = 3; 
300:            //public static final int OLERENAMED = 3; 
301:            //public static final int OLERENDER_ASIS = 3;
302:            public static final int OLERENDER_DRAW = 1;
303:            //public static final int OLERENDER_FORMAT = 2;
304:            //public static final int OLERENDER_NONE = 0;
305:            //public static final int OLESAVED = 1; 
306:            //public static final int OLESIZEAUTOSIZE = 2; 
307:            //public static final int OLESIZECLIP = 0; 
308:            //public static final int OLESIZESTRETCH = 1; 
309:            //public static final int OLESIZEZOOM = 3; 
310:            //public static final int OLEWHICHMK_CONTAINER = 1;
311:            //public static final int OLEWHICHMK_OBJFULL = 3;
312:            //public static final int OLEWHICHMK_OBJREL = 2;
313:            public static final int S_FALSE = 1;
314:            public static final int S_OK = 0;
315:            public static final int STG_E_FILENOTFOUND = 0x80030002;
316:            public static final int STG_S_CONVERTED = 0x00030200;
317:            //public static final int STGC_CONSOLIDATE = 8;
318:            //public static final int STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE = 4;
319:            public static final int STGC_DEFAULT = 0;
320:            //public static final int STGC_ONLYIFCURRENT = 2;
321:            //public static final int STGC_OVERWRITE = 1;
322:            public static final int STGM_CONVERT = 0x00020000;
323:            public static final int STGM_CREATE = 0x00001000;
324:            public static final int STGM_DELETEONRELEASE = 0x04000000;
325:            public static final int STGM_DIRECT = 0x00000000;
326:            public static final int STGM_DIRECT_SWMR = 0x00400000;
327:            public static final int STGM_FAILIFTHERE = 0x00000000;
328:            public static final int STGM_NOSCRATCH = 0x00100000;
329:            public static final int STGM_NOSNAPSHOT = 0x00200000;
330:            public static final int STGM_PRIORITY = 0x00040000;
331:            public static final int STGM_READ = 0x00000000;
332:            public static final int STGM_READWRITE = 0x00000002;
333:            public static final int STGM_SHARE_DENY_NONE = 0x00000040;
334:            public static final int STGM_SHARE_DENY_READ = 0x00000030;
335:            public static final int STGM_SHARE_DENY_WRITE = 0x00000020;
336:            public static final int STGM_SHARE_EXCLUSIVE = 0x00000010;
337:            public static final int STGM_SIMPLE = 0x08000000;
338:            public static final int STGM_TRANSACTED = 0x00010000;
339:            public static final int STGM_WRITE = 0x00000001;
340:            public static final int STGTY_STORAGE = 1;
341:            public static final int STGTY_STREAM = 2;
342:            public static final int STGTY_LOCKBYTES = 3;
343:            public static final int STGTY_PROPERTY = 4;
344:            //public static final int TYMED_ENHMF = 64;
345:            //public static final int TYMED_FILE = 2;
346:            //public static final int TYMED_GDI = 16;
347:            public static final int TYMED_HGLOBAL = 1;
348:            //public static final int TYMED_ISTORAGE = 8;
349:            //public static final int TYMED_ISTREAM = 4;
350:            //public static final int TYMED_MFPICT = 32;
351:            //public static final int TYMED_NULL = 0;
352:            public static final short DISPATCH_METHOD = 0x1;
353:            public static final short DISPATCH_PROPERTYGET = 0x2;
354:            public static final short DISPATCH_PROPERTYPUT = 0x4;
355:            public static final short DISPATCH_PROPERTYPUTREF = 0x8;
356:            //public static final short DISPID_CONSTRUCTOR = -6;
357:            //public static final short DISPID_DESTRUCTOR = -7;
358:            //public static final short DISPID_EVALUATE = -5;
359:            //public static final short DISPID_NEWENUM = -4;
360:            public static final short DISPID_PROPERTYPUT = -3;
361:            //public static final short DISPID_UNKNOWN = -1;
362:            //public static final short DISPID_VALUE = 0;
363:            public static final short VT_BOOL = 11;
364:            public static final short VT_BSTR = 8;
365:            public static final short VT_BYREF = 16384;
366:            public static final short VT_CY = 6;
367:            public static final short VT_DATE = 7;
368:            public static final short VT_DISPATCH = 9;
369:            public static final short VT_EMPTY = 0;
370:            public static final short VT_ERROR = 10;
371:            public static final short VT_I1 = 16;
372:            public static final short VT_I2 = 2;
373:            public static final short VT_I4 = 3;
374:            public static final short VT_I8 = 20;
375:            public static final short VT_NULL = 1;
376:            public static final short VT_R4 = 4;
377:            public static final short VT_R8 = 5;
378:            public static final short VT_UI1 = 17;
379:            public static final short VT_UI2 = 18;
380:            public static final short VT_UI4 = 19;
381:            public static final short VT_UNKNOWN = 13;
382:            public static final short VT_VARIANT = 12;
383:            /*
384:             * GOOGLE: IE7 returns a variant of type 130 from the name field
385:             * of a JavaScript exception, and we can't find documentation of it
386:             * anywhere.  It appears to contain a pointer to a string constant
387:             * that behaves like a VT_BSTR, so we are treating it the same way.
388:             * Note that this is a gross hack using a totally undocumented
389:             * feature, and Microsoft may break these assumptions at any time.
390:             */
391:            public static final short VT_WEIRD_IE7_BSTR = 130;
392:            public static final short VARIANT_TRUE = -1;
393:            public static final short VARIANT_FALSE = 0;
394:
395:            private static GUID IIDFromString(String lpsz) {
396:                int length = lpsz.length();
397:                char[] buffer = new char[length + 1];
398:                lpsz.getChars(0, length, buffer, 0);
399:                GUID lpiid = new GUID();
400:                if (COM.IIDFromString(buffer, lpiid) == COM.S_OK)
401:                    return lpiid;
402:                return null;
403:            }
404:
405:            /** Natives */
406:            public static final native int CLSIDFromProgID(char[] lpszProgID,
407:                    GUID pclsid);
408:
409:            public static final native int CLSIDFromString(char[] lpsz,
410:                    GUID pclsid);
411:
412:            public static final native int CoCreateInstance(GUID rclsid,
413:                    int pUnkOuter, int dwClsContext, GUID riid, int[] ppv);
414:
415:            public static final native void CoFreeUnusedLibraries();
416:
417:            public static final native int CoGetClassObject(GUID rclsid,
418:                    int dwClsContext, int pServerInfo, GUID riid, int[] ppv);
419:
420:            public static final native int CoLockObjectExternal(int pUnk,
421:                    boolean fLock, boolean fLastUnlockReleases);
422:
423:            public static final native int CoTaskMemAlloc(int cb);
424:
425:            public static final native void CoTaskMemFree(int pv);
426:
427:            public static final native int DoDragDrop(int pDataObject,
428:                    int pDropSource, int dwOKEffect, int[] pdwEffect);
429:
430:            public static final native int GetClassFile(char[] szFileName,
431:                    GUID clsid);
432:
433:            public static final native int IIDFromString(char[] lpsz, GUID lpiid);
434:
435:            public static final native boolean IsEqualGUID(GUID rguid1,
436:                    GUID rguid2);
437:
438:            public static final native void MoveMemory(int Destination,
439:                    FORMATETC Source, int Length);
440:
441:            public static final native void MoveMemory(int DestinationPtr,
442:                    GUID Source, int Length);
443:
444:            public static final native void MoveMemory(int DestinationPtr,
445:                    OLEINPLACEFRAMEINFO Source, int Length);
446:
447:            public static final native void MoveMemory(int Destination,
448:                    STATSTG Source, int Length);
449:
450:            public static final native void MoveMemory(int Destination,
451:                    STGMEDIUM Source, int Length);
452:
453:            public static final native void MoveMemory(STGMEDIUM Destination,
454:                    int SourcePtr, int Length);
455:
456:            public static final native void MoveMemory(DISPPARAMS Destination,
457:                    int SourcePtr, int Length);
458:
459:            public static final native void MoveMemory(FORMATETC Destination,
460:                    int Source, int Length);
461:
462:            public static final native void MoveMemory(GUID Destination,
463:                    int SourcePtr, int Length);
464:
465:            public static final native void MoveMemory(STATSTG Destination,
466:                    int Source, int Length);
467:
468:            public static final native void MoveMemory(TYPEATTR Destination,
469:                    int SourcePtr, int Length);
470:
471:            public static final native void MoveMemory(RECT Destination,
472:                    int Source, int Length);
473:
474:            public static final native void MoveMemory(FUNCDESC Destination,
475:                    int Source, int Length);
476:
477:            public static final native void MoveMemory(VARDESC Destination,
478:                    int Source, int Length);
479:
480:            public static final native int OleCreate(GUID rclsid, GUID riid,
481:                    int renderopt, FORMATETC pFormatEtc, int pClientSite,
482:                    int pStg, int[] ppvObject);
483:
484:            public static final native int OleCreateFromFile(GUID rclsid,
485:                    char[] lpszFileName, GUID riid, int renderopt,
486:                    FORMATETC pFormatEtc, int pClientSite, int pStg,
487:                    int[] ppvObj);
488:
489:            public static final native int OleCreatePropertyFrame(
490:                    int hwndOwner, int x, int y, char[] lpszCaption,
491:                    int cObjects, int[] lplpUnk, int cPages, int lpPageClsID,
492:                    int lcid, int dwReserved, int lpvReserved);
493:
494:            public static final native int OleDraw(int pUnk, int dwAspect,
495:                    int hdcDraw, int lprcBounds);
496:
497:            public static final native int OleFlushClipboard();
498:
499:            public static final native int OleGetClipboard(int[] ppDataObject);
500:
501:            public static final native int OleIsCurrentClipboard(int pDataObject);
502:
503:            public static final native boolean OleIsRunning(int pObject);
504:
505:            public static final native int OleLoad(int pStg, GUID riid,
506:                    int pClientSite, int[] ppvObj);
507:
508:            public static final native int OleRun(int pUnknown);
509:
510:            public static final native int OleSave(int pPS, int pStg,
511:                    boolean fSameAsLoad);
512:
513:            public static final native int OleSetClipboard(int pDataObject);
514:
515:            public static final native int OleSetContainedObject(int pUnk,
516:                    boolean fContained);
517:
518:            public static final native int OleSetMenuDescriptor(int holemenu,
519:                    int hwndFrame, int hwndActiveObject, int lpFrame,
520:                    int lpActiveObj);
521:
522:            public static final native int OleTranslateColor(int clr, int hpal,
523:                    int[] pcolorref);
524:
525:            public static final native int ProgIDFromCLSID(GUID clsid,
526:                    int[] lplpszProgID);
527:
528:            public static final native int RegisterDragDrop(int hwnd,
529:                    int pDropTarget);
530:
531:            public static final native void ReleaseStgMedium(int pmedium);
532:
533:            public static final native int RevokeDragDrop(int hwnd);
534:
535:            public static final native int StgCreateDocfile(char[] pwcsName,
536:                    int grfMode, int reserved, int[] ppstgOpen);
537:
538:            public static final native int StgIsStorageFile(char[] pwcsName);
539:
540:            public static final native int StgOpenStorage(char[] pwcsName,
541:                    int pstgPriority, int grfMode, int snbExclude,
542:                    int reserved, int[] ppstgOpen);
543:
544:            public static final native int StringFromCLSID(GUID rclsid,
545:                    int[] ppsz);
546:
547:            public static final native int SysAllocString(char[] sz);
548:
549:            public static final native int SysAllocStringLen(char[] sz, int len); // GOOGLE
550:
551:            public static final native void SysFreeString(int bstr);
552:
553:            public static final native int SysStringByteLen(int bstr);
554:
555:            public static final native int VariantChangeType(int pvargDest,
556:                    int pvarSrc, short wFlags, short vt);
557:
558:            public static final native int VariantClear(int pvarg);
559:
560:            public static final native void VariantInit(int pvarg);
561:
562:            public static final native int VtblCall(int fnNumber, int ppVtbl,
563:                    char[] arg0);
564:
565:            public static final native int VtblCall(int fnNumber, int ppVtbl,
566:                    char[] arg0, char[] arg1);
567:
568:            public static final native int VtblCall(int fnNumber, int ppVtbl,
569:                    char[] arg0, int arg1);
570:
571:            public static final native int VtblCall(int fnNumber, int ppVtbl,
572:                    char[] arg0, int arg1, int arg2, int arg3, int[] arg4);
573:
574:            public static final native int VtblCall(int fnNumber, int ppVtbl,
575:                    char[] arg0, int arg1, int arg2, int arg3, int arg4,
576:                    int[] arg5);
577:
578:            public static final native int VtblCall(int fnNumber, int ppVtbl,
579:                    int[] arg0);
580:
581:            public static final native int VtblCall(int fnNumber, int ppVtbl,
582:                    int arg0, int[] arg1);
583:
584:            public static final native int VtblCall(int fnNumber, int ppVtbl,
585:                    int arg0, int arg1);
586:
587:            public static final native int VtblCall(int fnNumber, int ppVtbl,
588:                    int arg0, int arg1, int[] arg2);
589:
590:            public static final native int VtblCall(int fnNumber, int ppVtbl,
591:                    int arg0, int arg1, int arg2);
592:
593:            public static final native int VtblCall(int fnNumber, int ppVtbl,
594:                    int arg0, int arg1, DVTARGETDEVICE arg2, SIZE arg3);
595:
596:            public static final native int VtblCall(int fnNumber, int ppVtbl,
597:                    int arg0, int arg1, GUID arg2, int arg3, int[] arg4);
598:
599:            public static final native int VtblCall(int fnNumber, int ppVtbl,
600:                    int arg0, FORMATETC arg1, int[] arg2);
601:
602:            public static final native int VtblCall(int fnNumber, int ppVtbl,
603:                    int arg0, GUID arg1);
604:
605:            public static final native int VtblCall(int fnNumber, int ppVtbl,
606:                    int arg0, GUID arg1, int arg2, int arg3);
607:
608:            public static final native int VtblCall(int fnNumber, int ppVtbl,
609:                    int arg0, GUID arg1, int arg2, int arg3, DISPPARAMS arg4,
610:                    int arg5, EXCEPINFO arg6, int[] arg7);
611:
612:            public static final native int VtblCall(int fnNumber, int ppVtbl,
613:                    int arg0, STATSTG arg1, int[] arg2);
614:
615:            public static final native int VtblCall(int fnNumber, int ppVtbl,
616:                    MSG arg0);
617:
618:            public static final native int VtblCall(int fnNumber, int ppVtbl,
619:                    int arg0, MSG arg1, int arg2, int arg3, int arg4, RECT arg5);
620:
621:            public static final native int VtblCall(int fnNumber, int ppVtbl,
622:                    int arg0, SIZE arg1);
623:
624:            public static final native int VtblCall(int fnNumber, int ppVtbl,
625:                    int arg0, boolean arg1);
626:
627:            public static final native int VtblCall(int fnNumber, int ppVtbl,
628:                    CAUUID arg0);
629:
630:            public static final native int VtblCall(int fnNumber, int ppVtbl,
631:                    CONTROLINFO arg0);
632:
633:            public static final native int VtblCall(int fnNumber, int ppVtbl,
634:                    FORMATETC arg0);
635:
636:            public static final native int VtblCall(int fnNumber, int ppVtbl,
637:                    FORMATETC arg0, STGMEDIUM arg1);
638:
639:            public static final native int VtblCall(int fnNumber, int ppVtbl,
640:                    FORMATETC arg0, STGMEDIUM arg1, boolean arg2);
641:
642:            public static final native int VtblCall(int fnNumber, int ppVtbl,
643:                    GUID arg0);
644:
645:            public static final native int VtblCall(int fnNumber, int ppVtbl,
646:                    GUID arg0, int[] arg1);
647:
648:            public static final native int VtblCall(int fnNumber, int ppVtbl,
649:                    GUID arg0, int arg1, int arg2, int arg3, int[] arg4);
650:
651:            public static final native int VtblCall(int fnNumber, int ppVtbl,
652:                    GUID arg0, int arg1, int arg2, int arg3, int arg4);
653:
654:            public static final native int VtblCall(int fnNumber, int ppVtbl,
655:                    GUID arg0, int arg1, OLECMD arg2, OLECMDTEXT arg3);
656:
657:            public static final native int VtblCall(int fnNumber, int ppVtbl,
658:                    LICINFO arg0);
659:
660:            public static final native int VtblCall(int fnNumber, int ppVtbl,
661:                    RECT arg0, int arg1, boolean arg2);
662:
663:            public static final native int VtblCall(int fnNumber, int ppVtbl,
664:                    RECT arg0, RECT arg1);
665:
666:            public static final native int VtblCall(int fnNumber, int ppVtbl,
667:                    RECT arg0);
668:
669:            public static final native int VtblCall(int fnNumber, int ppVtbl,
670:                    int arg0, int[] arg1, int[] arg2, int[] arg3, int[] arg4);
671:
672:            public static final native int VtblCall(int fnNumber, int ppVtbl,
673:                    int arg0, int[] arg1, int arg2, int[] arg3);
674:
675:            public static final native int WriteClassStg(int pStg, GUID rclsid);
676:
677:            /** Accessibility constants */
678:            public static final int CHILDID_SELF = 0;
679:            public static final int CO_E_OBJNOTCONNECTED = 0x800401FD;
680:            //public static final int ROLE_SYSTEM_TITLEBAR = 0x1;
681:            public static final int ROLE_SYSTEM_MENUBAR = 0x2;
682:            public static final int ROLE_SYSTEM_SCROLLBAR = 0x3;
683:            //public static final int ROLE_SYSTEM_GRIP = 0x4;
684:            //public static final int ROLE_SYSTEM_SOUND = 0x5;
685:            //public static final int ROLE_SYSTEM_CURSOR = 0x6;
686:            //public static final int ROLE_SYSTEM_CARET = 0x7;
687:            //public static final int ROLE_SYSTEM_ALERT = 0x8;
688:            public static final int ROLE_SYSTEM_WINDOW = 0x9;
689:            public static final int ROLE_SYSTEM_CLIENT = 0xa;
690:            public static final int ROLE_SYSTEM_MENUPOPUP = 0xb;
691:            public static final int ROLE_SYSTEM_MENUITEM = 0xc;
692:            public static final int ROLE_SYSTEM_TOOLTIP = 0xd;
693:            //public static final int ROLE_SYSTEM_APPLICATION = 0xe;
694:            //public static final int ROLE_SYSTEM_DOCUMENT = 0xf;
695:            //public static final int ROLE_SYSTEM_PANE = 0x10;
696:            //public static final int ROLE_SYSTEM_CHART = 0x11;
697:            public static final int ROLE_SYSTEM_DIALOG = 0x12;
698:            //public static final int ROLE_SYSTEM_BORDER = 0x13;
699:            //public static final int ROLE_SYSTEM_GROUPING = 0x14;
700:            public static final int ROLE_SYSTEM_SEPARATOR = 0x15;
701:            public static final int ROLE_SYSTEM_TOOLBAR = 0x16;
702:            //public static final int ROLE_SYSTEM_STATUSBAR = 0x17;
703:            public static final int ROLE_SYSTEM_TABLE = 0x18;
704:            public static final int ROLE_SYSTEM_COLUMNHEADER = 0x19;
705:            public static final int ROLE_SYSTEM_ROWHEADER = 0x1a;
706:            //public static final int ROLE_SYSTEM_COLUMN = 0x1b;
707:            //public static final int ROLE_SYSTEM_ROW = 0x1c;
708:            public static final int ROLE_SYSTEM_CELL = 0x1d;
709:            public static final int ROLE_SYSTEM_LINK = 0x1e;
710:            //public static final int ROLE_SYSTEM_HELPBALLOON = 0x1f;
711:            //public static final int ROLE_SYSTEM_CHARACTER = 0x20;
712:            public static final int ROLE_SYSTEM_LIST = 0x21;
713:            public static final int ROLE_SYSTEM_LISTITEM = 0x22;
714:            public static final int ROLE_SYSTEM_OUTLINE = 0x23;
715:            public static final int ROLE_SYSTEM_OUTLINEITEM = 0x24;
716:            public static final int ROLE_SYSTEM_PAGETAB = 0x25;
717:            //public static final int ROLE_SYSTEM_PROPERTYPAGE = 0x26;
718:            //public static final int ROLE_SYSTEM_INDICATOR = 0x27;
719:            //public static final int ROLE_SYSTEM_GRAPHIC = 0x28;
720:            public static final int ROLE_SYSTEM_STATICTEXT = 0x29;
721:            public static final int ROLE_SYSTEM_TEXT = 0x2a;
722:            public static final int ROLE_SYSTEM_PUSHBUTTON = 0x2b;
723:            public static final int ROLE_SYSTEM_CHECKBUTTON = 0x2c;
724:            public static final int ROLE_SYSTEM_RADIOBUTTON = 0x2d;
725:            public static final int ROLE_SYSTEM_COMBOBOX = 0x2e;
726:            //public static final int ROLE_SYSTEM_DROPLIST = 0x2f;
727:            public static final int ROLE_SYSTEM_PROGRESSBAR = 0x30;
728:            //public static final int ROLE_SYSTEM_DIAL = 0x31;
729:            //public static final int ROLE_SYSTEM_HOTKEYFIELD = 0x32;
730:            public static final int ROLE_SYSTEM_SLIDER = 0x33;
731:            //public static final int ROLE_SYSTEM_SPINBUTTON = 0x34;
732:            //public static final int ROLE_SYSTEM_DIAGRAM = 0x35;
733:            //public static final int ROLE_SYSTEM_ANIMATION = 0x36;
734:            //public static final int ROLE_SYSTEM_EQUATION = 0x37;
735:            //public static final int ROLE_SYSTEM_BUTTONDROPDOWN = 0x38;
736:            //public static final int ROLE_SYSTEM_BUTTONMENU = 0x39;
737:            //public static final int ROLE_SYSTEM_BUTTONDROPDOWNGRID = 0x3a;
738:            //public static final int ROLE_SYSTEM_WHITESPACE = 0x3b;
739:            public static final int ROLE_SYSTEM_PAGETABLIST = 0x3c;
740:            //public static final int ROLE_SYSTEM_CLOCK = 0x3d;
741:            public static final int STATE_SYSTEM_NORMAL = 0;
742:            //public static final int STATE_SYSTEM_UNAVAILABLE = 0x1;
743:            public static final int STATE_SYSTEM_SELECTED = 0x2;
744:            public static final int STATE_SYSTEM_FOCUSED = 0x4;
745:            public static final int STATE_SYSTEM_PRESSED = 0x8;
746:            public static final int STATE_SYSTEM_CHECKED = 0x10;
747:            //public static final int STATE_SYSTEM_MIXED = 0x20;
748:            //public static final int STATE_SYSTEM_INDETERMINATE = STATE_SYSTEM_MIXED;
749:            public static final int STATE_SYSTEM_READONLY = 0x40;
750:            public static final int STATE_SYSTEM_HOTTRACKED = 0x80;
751:            //public static final int STATE_SYSTEM_DEFAULT = 0x100;
752:            public static final int STATE_SYSTEM_EXPANDED = 0x200;
753:            public static final int STATE_SYSTEM_COLLAPSED = 0x400;
754:            public static final int STATE_SYSTEM_BUSY = 0x800;
755:            //public static final int STATE_SYSTEM_FLOATING = 0x1000;
756:            //public static final int STATE_SYSTEM_MARQUEED = 0x2000;
757:            //public static final int STATE_SYSTEM_ANIMATED = 0x4000;
758:            public static final int STATE_SYSTEM_INVISIBLE = 0x8000;
759:            public static final int STATE_SYSTEM_OFFSCREEN = 0x10000;
760:            public static final int STATE_SYSTEM_SIZEABLE = 0x20000;
761:            //public static final int STATE_SYSTEM_MOVEABLE = 0x40000;
762:            //public static final int STATE_SYSTEM_SELFVOICING = 0x80000;
763:            public static final int STATE_SYSTEM_FOCUSABLE = 0x100000;
764:            public static final int STATE_SYSTEM_SELECTABLE = 0x200000;
765:            public static final int STATE_SYSTEM_LINKED = 0x400000;
766:            //public static final int STATE_SYSTEM_TRAVERSED = 0x800000;
767:            public static final int STATE_SYSTEM_MULTISELECTABLE = 0x1000000;
768:
769:            //public static final int STATE_SYSTEM_EXTSELECTABLE = 0x2000000;
770:            //public static final int STATE_SYSTEM_ALERT_LOW = 0x4000000;
771:            //public static final int STATE_SYSTEM_ALERT_MEDIUM = 0x8000000;
772:            //public static final int STATE_SYSTEM_ALERT_HIGH = 0x10000000;
773:            //public static final int STATE_SYSTEM_PROTECTED = 0x20000000;
774:            //public static final int STATE_SYSTEM_VALID = 0x3fffffff;
775:
776:            /** Accessibility natives */
777:            public static final native int CreateStdAccessibleObject(int hwnd,
778:                    int idObject, GUID riidInterface, int[] ppvObject);
779:
780:            public static final native int LresultFromObject(GUID riid,
781:                    int wParam, int pAcc);
782:
783:            public static final native int VtblCall(int fnNumber, int ppVtbl,
784:                    int arg0, int arg1, int arg2, int arg3);
785:
786:            public static final native int VtblCall(int fnNumber, int ppVtbl,
787:                    int arg0, int arg1, int arg2, int arg3, int arg4);
788:
789:            public static final native int VtblCall(int fnNumber, int ppVtbl,
790:                    int arg0, int arg1, int arg2, int arg3, int arg4, int arg5);
791:
792:            public static final native int VtblCall(int fnNumber, int ppVtbl,
793:                    int arg0, int arg1, int arg2, int arg3, int arg4, int arg5,
794:                    int arg6, int arg7);
795:
796:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.