1 11 package org.eclipse.swt.internal.ole.win32; 12 13 import org.eclipse.swt.internal.win32.*; 14 15 public class COM extends OS { 16 17 public static final GUID IIDJavaBeansBridge = COM.IIDFromString("{8AD9C840-044E-11D1-B3E9-00805F499D93}"); public static final GUID IIDShockwaveActiveXControl = COM.IIDFromString("{166B1BCA-3F9C-11CF-8075-444553540000}"); public static final GUID IIDIEditorSiteTime = IIDFromString("{6BD2AEFE-7876-45e6-A6E7-3BFCDF6540AA}"); public static final GUID IIDIEditorSiteProperty = IIDFromString("{D381A1F4-2326-4f3c-AFB9-B7537DB9E238}"); public static final GUID IIDIEditorBaseProperty = IIDFromString("{61E55B0B-2647-47c4-8C89-E736EF15D636}"); public static final GUID IIDIEditorSite = IIDFromString("{CDD88AB9-B01D-426E-B0F0-30973E9A074B}"); public static final GUID IIDIEditorService = IIDFromString("{BEE283FE-7B42-4FF3-8232-0F07D43ABCF1}"); public static final GUID IIDIEditorManager = IIDFromString("{EFDE08C4-BE87-4B1A-BF84-15FC30207180}"); public static final GUID IIDIAccessible = IIDFromString("{618736E0-3C3D-11CF-810C-00AA00389B71}"); public static final GUID IIDIAdviseSink = IIDFromString("{0000010F-0000-0000-C000-000000000046}"); public static final GUID IIDIClassFactory2 = IIDFromString("{B196B28F-BAB4-101A-B69C-00AA00341D07}"); public static final GUID IIDIConnectionPoint = IIDFromString("{B196B286-BAB4-101A-B69C-00AA00341D07}"); public static final GUID IIDIConnectionPointContainer = IIDFromString("{B196B284-BAB4-101A-B69C-00AA00341D07}"); public static final GUID IIDIDataObject = IIDFromString("{0000010E-0000-0000-C000-000000000046}"); public static final GUID IIDIDispatch = IIDFromString("{00020400-0000-0000-C000-000000000046}"); public static final GUID IIDIDocHostUIHandler = IIDFromString("{BD3F23C0-D43E-11CF-893B-00AA00BDCE1A}"); public static final GUID IIDIDocHostShowUI = IIDFromString("{C4D244B0-D43E-11CF-893B-00AA00BDCE1A}"); public static final GUID IIDIDropSource = IIDFromString("{00000121-0000-0000-C000-000000000046}"); public static final GUID IIDIDropTarget = IIDFromString("{00000122-0000-0000-C000-000000000046}"); public static final GUID IIDIEnumFORMATETC = IIDFromString("{00000103-0000-0000-C000-000000000046}"); public static final GUID IIDIEnumVARIANT = IIDFromString("{00020404-0000-0000-C000-000000000046}"); public static final GUID IIDIFont = IIDFromString("{BEF6E002-A874-101A-8BBA-00AA00300CAB}"); public static final String IIDIHTMLDocumentEvents2 = "{3050F613-98B5-11CF-BB82-00AA00BDCE0B}"; 61 public static final GUID IIDIInternetSecurityManager = IIDFromString("{79eac9ee-baf9-11ce-8c82-00aa004ba90b}"); public static final GUID IIDIOleClientSite = IIDFromString("{00000118-0000-0000-C000-000000000046}"); public static final GUID IIDIOleCommandTarget = IIDFromString("{B722BCCB-4E68-101B-A2BC-00AA00404770}"); public static final GUID IIDIOleContainer = IIDFromString("{0000011B-0000-0000-C000-000000000046}"); public static final GUID IIDIOleControl = IIDFromString("{B196B288-BAB4-101A-B69C-00AA00341D07}"); public static final GUID IIDIOleControlSite = IIDFromString("{B196B289-BAB4-101A-B69C-00AA00341D07}"); public static final GUID IIDIOleDocument = IIDFromString("{B722BCC5-4E68-101B-A2BC-00AA00404770}"); public static final GUID IIDIOleDocumentSite = IIDFromString("{B722BCC7-4E68-101B-A2BC-00AA00404770}"); public static final GUID IIDIOleInPlaceActiveObject = IIDFromString("{00000117-0000-0000-C000-000000000046}"); public static final GUID IIDIOleInPlaceFrame = IIDFromString("{00000116-0000-0000-C000-000000000046}"); public static final GUID IIDIOleInPlaceObject = IIDFromString("{00000113-0000-0000-C000-000000000046}"); public static final GUID IIDIOleInPlaceSite = IIDFromString("{00000119-0000-0000-C000-000000000046}"); public static final GUID IIDIOleInPlaceUIWindow = IIDFromString("{00000115-0000-0000-C000-000000000046}"); public static final GUID IIDIOleLink = IIDFromString("{0000011D-0000-0000-C000-000000000046}"); public static final GUID IIDIOleObject = IIDFromString("{00000112-0000-0000-C000-000000000046}"); public static final GUID IIDIOleWindow = IIDFromString("{00000114-0000-0000-C000-000000000046}"); public static final GUID IIDIPersist = IIDFromString("{0000010C-0000-0000-C000-000000000046}"); public static final GUID IIDIPersistFile = IIDFromString("{0000010B-0000-0000-C000-000000000046}"); public static final GUID IIDIPersistStorage = IIDFromString("{0000010A-0000-0000-C000-000000000046}"); public static final GUID IIDIPersistStream = IIDFromString("{00000109-0000-0000-C000-000000000046}"); public static final GUID IIDIPersistStreamInit = IIDFromString("{7FD52380-4E07-101B-AE2D-08002B2EC713}"); public static final GUID IIDIPropertyNotifySink = IIDFromString("{9BFBBC02-EFF1-101A-84ED-00AA00341D07}"); public static final GUID IIDIProvideClassInfo = IIDFromString("{B196B283-BAB4-101A-B69C-00AA00341D07}"); public static final GUID IIDIProvideClassInfo2 = IIDFromString("{A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851}"); public static final GUID IIDIServiceProvider = IIDFromString("{6d5140c1-7436-11ce-8034-00aa006009fa}"); public static final GUID IIDISpecifyPropertyPages = IIDFromString("{B196B28B-BAB4-101A-B69C-00AA00341D07}"); public static final GUID IIDIStorage = IIDFromString("{0000000B-0000-0000-C000-000000000046}"); public static final GUID IIDIStream = IIDFromString("{0000000C-0000-0000-C000-000000000046}"); public static final GUID IIDIUnknown = IIDFromString("{00000000-0000-0000-C000-000000000046}"); public static final GUID IIDIViewObject2 = IIDFromString("{00000127-0000-0000-C000-000000000046}"); public static final GUID CGID_DocHostCommandHandler = IIDFromString("{f38bc242-b950-11d1-8918-00c04fc2c836}"); public static final GUID CGID_Explorer = IIDFromString("{000214D0-0000-0000-C000-000000000046}"); 129 130 131 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 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_BACKCOLOR = -701; 172 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_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_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_HTMLDOCUMENTEVENTS_ONDBLCLICK = 0xFFFFFDA7; 205 public static final int DISPID_HTMLDOCUMENTEVENTS_ONDRAGSTART = 0x8001000B; 206 public static final int DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOUT = 0x80010009; 207 public static final int DISPID_HTMLDOCUMENTEVENTS_ONMOUSEOVER = 0x80010008; 208 public static final int DISPID_HTMLDOCUMENTEVENTS_ONMOUSEMOVE = 0xFFFFFDA2; 209 public static final int DISPID_HTMLDOCUMENTEVENTS_ONMOUSEDOWN = 0xFFFFFDA3; 210 public static final int DISPID_HTMLDOCUMENTEVENTS_ONMOUSEUP = 0xFFFFFDA1; 211 212 public static final int DRAGDROP_S_DROP = 0x00040100; 215 public static final int DRAGDROP_S_CANCEL = 0x00040101; 216 public static final int DRAGDROP_S_USEDEFAULTCURSORS = 0x00040102; 217 public static final int DROPEFFECT_NONE = 0; 218 public static final int DROPEFFECT_COPY = 1; 219 public static final int DROPEFFECT_MOVE = 2; 220 public static final int DROPEFFECT_LINK = 4; 221 public static final int DROPEFFECT_SCROLL = 0x80000000; 222 public static final int DV_E_FORMATETC = -2147221404; 223 public static final int DV_E_STGMEDIUM = -2147221402; 224 public static final int DV_E_TYMED = -2147221399; 225 public static final int DVASPECT_CONTENT = 1; 226 public static final int E_FAIL = -2147467259; 230 public static final int E_INVALIDARG = -2147024809; 231 public static final int E_NOINTERFACE = -2147467262; 232 public static final int E_NOTIMPL = -2147467263; 233 public static final int E_NOTSUPPORTED = 0x80040100; 234 public static final int E_OUTOFMEMORY = -2147024882; 236 public static final int GMEM_FIXED = 0; 238 public static final int GMEM_ZEROINIT = 64; 241 public static final int GUIDKIND_DEFAULT_SOURCE_DISP_IID = 1; 242 public static final int IMPLTYPEFLAG_FDEFAULT = 1; 243 public static final int IMPLTYPEFLAG_FRESTRICTED = 4; 245 public static final int IMPLTYPEFLAG_FSOURCE = 2; 246 public static final int LOCALE_SYSTEM_DEFAULT = 1024; 247 public static final int LOCALE_USER_DEFAULT = 2048; 248 public static final int OLECLOSE_NOSAVE = 1; 256 public static final int OLECLOSE_SAVEIFDIRTY = 0; 258 public static final int OLEEMBEDDED = 1; 274 public static final int OLEIVERB_DISCARDUNDOSTATE = -6; 276 public static final int OLEIVERB_INPLACEACTIVATE = -5; 278 public static final int OLEIVERB_PRIMARY = 0; 280 public static final int OLELINKED = 0; 284 public static final int OLERENDER_DRAW = 1; 311 public static final int S_FALSE = 1; 322 public static final int S_OK = 0; 323 public static final int STG_E_FILENOTFOUND = 0x80030002; 324 public static final int STG_S_CONVERTED = 0x00030200; 325 public static final int STGC_DEFAULT = 0; 328 public static final int STGM_CONVERT = 0x00020000; 331 public static final int STGM_CREATE = 0x00001000; 332 public static final int STGM_DELETEONRELEASE = 0x04000000; 333 public static final int STGM_DIRECT = 0x00000000; 334 public static final int STGM_DIRECT_SWMR = 0x00400000; 335 public static final int STGM_FAILIFTHERE = 0x00000000; 336 public static final int STGM_NOSCRATCH = 0x00100000; 337 public static final int STGM_NOSNAPSHOT = 0x00200000; 338 public static final int STGM_PRIORITY = 0x00040000; 339 public static final int STGM_READ = 0x00000000; 340 public static final int STGM_READWRITE = 0x00000002; 341 public static final int STGM_SHARE_DENY_NONE = 0x00000040; 342 public static final int STGM_SHARE_DENY_READ = 0x00000030; 343 public static final int STGM_SHARE_DENY_WRITE = 0x00000020; 344 public static final int STGM_SHARE_EXCLUSIVE = 0x00000010; 345 public static final int STGM_SIMPLE = 0x08000000; 346 public static final int STGM_TRANSACTED = 0x00010000; 347 public static final int STGM_WRITE = 0x00000001; 348 public static final int STGTY_STORAGE = 1; 349 public static final int STGTY_STREAM = 2; 350 public static final int STGTY_LOCKBYTES = 3; 351 public static final int STGTY_PROPERTY = 4; 352 public static final int TYMED_HGLOBAL = 1; 356 public static final short DISPATCH_METHOD = 0x1; 361 public static final short DISPATCH_PROPERTYGET = 0x2; 362 public static final short DISPATCH_PROPERTYPUT = 0x4; 363 public static final short DISPATCH_PROPERTYPUTREF = 0x8; 364 public static final short DISPID_PROPERTYPUT = -3; 369 public static final short VT_BOOL = 11; 372 public static final short VT_BSTR = 8; 373 public static final short VT_BYREF = 16384; 374 public static final short VT_CY = 6; 375 public static final short VT_DATE = 7; 376 public static final short VT_DISPATCH = 9; 377 public static final short VT_EMPTY = 0; 378 public static final short VT_ERROR = 10; 379 public static final short VT_I1 = 16; 380 public static final short VT_I2 = 2; 381 public static final short VT_I4 = 3; 382 public static final short VT_I8 = 20; 383 public static final short VT_NULL = 1; 384 public static final short VT_R4 = 4; 385 public static final short VT_R8 = 5; 386 public static final short VT_UI1 = 17; 387 public static final short VT_UI2 = 18; 388 public static final short VT_UI4 = 19; 389 public static final short VT_UNKNOWN = 13; 390 public static final short VT_VARIANT = 12; 391 public static final short VARIANT_TRUE = -1; 392 public static final short VARIANT_FALSE = 0; 393 394 private static GUID IIDFromString(String lpsz) { 395 int length = lpsz.length(); 396 char[] buffer = new char[length + 1]; 397 lpsz.getChars(0, length, buffer, 0); 398 GUID lpiid = new GUID(); 399 if (COM.IIDFromString(buffer, lpiid) == COM.S_OK) return lpiid; 400 return null; 401 } 402 403 404 public static final native int CLSIDFromProgID(char[] lpszProgID, GUID pclsid); 405 public static final native int CLSIDFromString(char[] lpsz, GUID pclsid); 406 public static final native int CoCreateInstance(GUID rclsid, int pUnkOuter, int dwClsContext, GUID riid, int [] ppv); 407 public static final native void CoFreeUnusedLibraries(); 408 public static final native int CoGetClassObject(GUID rclsid, int dwClsContext, int pServerInfo, GUID riid, int [] ppv); 409 public static final native int CoLockObjectExternal(int pUnk, boolean fLock, boolean fLastUnlockReleases); 410 public static final native int CoTaskMemAlloc(int cb); 411 public static final native void CoTaskMemFree(int pv); 412 public static final native int DoDragDrop(int pDataObject, int pDropSource, int dwOKEffect, int[] pdwEffect); 413 public static final native int GetClassFile(char[] szFileName, GUID clsid); 414 public static final native int IIDFromString(char[] lpsz, GUID lpiid); 415 public static final native boolean IsEqualGUID(GUID rguid1, GUID rguid2); 416 public static final native void MoveMemory(int Destination, FORMATETC Source, int Length); 417 public static final native void MoveMemory(int DestinationPtr, GUID Source, int Length); 418 public static final native void MoveMemory(int DestinationPtr, OLEINPLACEFRAMEINFO Source, int Length); 419 public static final native void MoveMemory(int Destination, STATSTG Source, int Length); 420 public static final native void MoveMemory(int Destination, STGMEDIUM Source, int Length); 421 public static final native void MoveMemory(STGMEDIUM Destination, int SourcePtr, int Length); 422 public static final native void MoveMemory(DISPPARAMS Destination, int SourcePtr, int Length); 423 public static final native void MoveMemory(FORMATETC Destination, int Source, int Length); 424 public static final native void MoveMemory(GUID Destination, int SourcePtr, int Length); 425 public static final native void MoveMemory(STATSTG Destination, int Source, int Length); 426 public static final native void MoveMemory(TYPEATTR Destination, int SourcePtr, int Length); 427 public static final native void MoveMemory(RECT Destination, int Source, int Length); 428 public static final native void MoveMemory(FUNCDESC Destination, int Source, int Length); 429 public static final native void MoveMemory(VARDESC Destination, int Source, int Length); 430 public static final native void MoveMemory(VARIANT Destination, int Source, int Length); 431 public static final native int OleCreate(GUID rclsid, GUID riid, int renderopt, FORMATETC pFormatEtc, int pClientSite, int pStg, int [] ppvObject); 432 public static final native int OleCreateFromFile(GUID rclsid, char[] lpszFileName, GUID riid, int renderopt, FORMATETC pFormatEtc, int pClientSite, int pStg, int [] ppvObj); 433 public static final native int OleCreatePropertyFrame(int hwndOwner,int x, int y, char[] lpszCaption, int cObjects, int [] lplpUnk, int cPages, int lpPageClsID, int lcid, int dwReserved, int lpvReserved); 434 public static final native int OleDraw(int pUnk, int dwAspect, int hdcDraw, int lprcBounds); 435 public static final native int OleFlushClipboard(); 436 public static final native int OleGetClipboard(int [] ppDataObject); 437 public static final native int OleIsCurrentClipboard(int pDataObject); 438 public static final native boolean OleIsRunning(int pObject); 439 public static final native int OleLoad(int pStg, GUID riid, int pClientSite, int [] ppvObj); 440 public static final native int OleRun(int pUnknown); 441 public static final native int OleSave(int pPS, int pStg, boolean fSameAsLoad); 442 public static final native int OleSetClipboard(int pDataObject); 443 public static final native int OleSetContainedObject(int pUnk, boolean fContained); 444 public static final native int OleSetMenuDescriptor(int holemenu, int hwndFrame, int hwndActiveObject, int lpFrame, int lpActiveObj); 445 public static final native int OleTranslateColor(int clr, int hpal, int[] pcolorref); 446 public static final native int ProgIDFromCLSID(GUID clsid, int [] lplpszProgID); 447 public static final native int RegisterDragDrop(int hwnd, int pDropTarget); 448 public static final native void ReleaseStgMedium(int pmedium); 449 public static final native int RevokeDragDrop(int hwnd); 450 public static final native int StgCreateDocfile(char[] pwcsName, int grfMode, int reserved, int [] ppstgOpen); 451 public static final native int StgIsStorageFile(char[] pwcsName); 452 public static final native int StgOpenStorage(char[] pwcsName, int pstgPriority, int grfMode, int snbExclude, int reserved, int [] ppstgOpen); 453 public static final native int StringFromCLSID(GUID rclsid, int [] ppsz); 454 public static final native int SysAllocString(char [] sz); 455 public static final native void SysFreeString(int bstr); 456 public static final native int SysStringByteLen(int bstr); 457 public static final native int VariantChangeType(int pvargDest, int pvarSrc, short wFlags, short vt); 458 public static final native int VariantClear(int pvarg); 459 public static final native void VariantInit(int pvarg); 460 461 public static final native int VtblCall(int fnNumber, int ppVtbl, char[] arg0); 462 public static final native int VtblCall(int fnNumber, int ppVtbl, char[] arg0, char[] arg1); 463 464 public static final native int VtblCall(int fnNumber, int ppVtbl, char[] arg0, int arg1); 465 466 public static final native int VtblCall(int fnNumber, int ppVtbl, char[] arg0, int arg1, int arg2, int arg3, int[] arg4); 467 public static final native int VtblCall(int fnNumber, int ppVtbl, char[] arg0, int arg1, int arg2, int arg3, long[] arg4); 468 public static final native int VtblCall(int fnNumber, int ppVtbl, char[] arg0, long arg1, int arg2, int arg3, long[] arg4); 469 470 public static final native int VtblCall(int fnNumber, int ppVtbl, char[] arg0, int arg1, int arg2, int arg3, int arg4, int [] arg5); 471 472 public static final native int VtblCall(int fnNumber, int ppVtbl, int[] arg0); 473 public static final native int VtblCall(int fnNumber, int ppVtbl, long[] arg0); 474 475 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int[] arg1); 476 public static final native int VtblCall(int fnNumber, int ppVtbl, long arg0, int[] arg1); 477 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, long[] arg1); 478 479 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1); 480 481 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1, int[] arg2); 482 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1, long[] arg2); 483 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, long arg1, int[] arg2); 484 public static final native int VtblCall(int fnNumber, int ppVtbl, long arg0, int arg1, int[] arg2); 485 486 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1, int arg2); 487 488 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1, DVTARGETDEVICE arg2, SIZE arg3); 489 490 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1, GUID arg2, int arg3, int [] arg4); 491 492 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, FORMATETC arg1, int [] arg2); 493 494 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, GUID arg1); 495 496 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, GUID arg1, int arg2, int arg3); 497 498 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, GUID arg1, int arg2, int arg3, DISPPARAMS arg4, int arg5, EXCEPINFO arg6, int[] arg7); 499 500 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, STATSTG arg1, int [] arg2); 501 502 public static final native int VtblCall(int fnNumber, int ppVtbl, MSG arg0); 503 504 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, MSG arg1, int arg2, int arg3, int arg4, RECT arg5); 505 506 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, SIZE arg1); 507 508 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, boolean arg1); 509 510 public static final native int VtblCall (int fnNumber, int ppVtbl, boolean arg0); 511 512 public static final native int VtblCall(int fnNumber, int ppVtbl, CAUUID arg0); 513 public static final native int VtblCall(int fnNumber, int ppVtbl, CONTROLINFO arg0); 514 public static final native int VtblCall(int fnNumber, int ppVtbl, FORMATETC arg0); 515 public static final native int VtblCall(int fnNumber, int ppVtbl, FORMATETC arg0, STGMEDIUM arg1); 516 public static final native int VtblCall(int fnNumber, int ppVtbl, FORMATETC arg0, STGMEDIUM arg1, boolean arg2); 517 public static final native int VtblCall(int fnNumber, int ppVtbl, GUID arg0); 518 519 public static final native int VtblCall(int fnNumber, int ppVtbl, GUID arg0, int [] arg1); 520 521 public static final native int VtblCall(int fnNumber, int ppVtbl, GUID arg0, GUID arg1, int [] arg2); 522 523 public static final native int VtblCall(int fnNumber, int ppVtbl, GUID arg0, int arg1, int arg2, int arg3, int[] arg4); 524 525 public static final native int VtblCall(int fnNumber, int ppVtbl, GUID arg0, int arg1, int arg2, int arg3, int arg4); 526 527 public static final native int VtblCall(int fnNumber, int ppVtbl, GUID arg0, int arg1, OLECMD arg2, OLECMDTEXT arg3); 528 529 public static final native int VtblCall(int fnNumber, int ppVtbl, LICINFO arg0); 530 531 public static final native int VtblCall(int fnNumber, int ppVtbl, RECT arg0, int arg1, boolean arg2); 532 533 public static final native int VtblCall(int fnNumber, int ppVtbl, RECT arg0, RECT arg1); 534 public static final native int VtblCall(int fnNumber, int ppVtbl, RECT arg0); 535 536 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int [] arg1, int [] arg2, int[] arg3, int [] arg4); 537 538 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int [] arg1, int arg2, int[] arg3); 539 540 public static final native int WriteClassStg(int pStg, GUID rclsid); 541 542 543 public static final int CHILDID_SELF = 0; 544 public static final int CO_E_OBJNOTCONNECTED = 0x800401FD; 545 public static final int ROLE_SYSTEM_MENUBAR = 0x2; 547 public static final int ROLE_SYSTEM_SCROLLBAR = 0x3; 548 public static final int ROLE_SYSTEM_WINDOW = 0x9; 554 public static final int ROLE_SYSTEM_CLIENT = 0xa; 555 public static final int ROLE_SYSTEM_MENUPOPUP = 0xb; 556 public static final int ROLE_SYSTEM_MENUITEM = 0xc; 557 public static final int ROLE_SYSTEM_TOOLTIP = 0xd; 558 public static final int ROLE_SYSTEM_DIALOG = 0x12; 563 public static final int ROLE_SYSTEM_SEPARATOR = 0x15; 566 public static final int ROLE_SYSTEM_TOOLBAR = 0x16; 567 public static final int ROLE_SYSTEM_TABLE = 0x18; 569 public static final int ROLE_SYSTEM_COLUMNHEADER = 0x19; 570 public static final int ROLE_SYSTEM_ROWHEADER = 0x1a; 571 public static final int ROLE_SYSTEM_CELL = 0x1d; 574 public static final int ROLE_SYSTEM_LINK = 0x1e; 575 public static final int ROLE_SYSTEM_LIST = 0x21; 578 public static final int ROLE_SYSTEM_LISTITEM = 0x22; 579 public static final int ROLE_SYSTEM_OUTLINE = 0x23; 580 public static final int ROLE_SYSTEM_OUTLINEITEM = 0x24; 581 public static final int ROLE_SYSTEM_PAGETAB = 0x25; 582 public static final int ROLE_SYSTEM_STATICTEXT = 0x29; 586 public static final int ROLE_SYSTEM_TEXT = 0x2a; 587 public static final int ROLE_SYSTEM_PUSHBUTTON = 0x2b; 588 public static final int ROLE_SYSTEM_CHECKBUTTON = 0x2c; 589 public static final int ROLE_SYSTEM_RADIOBUTTON = 0x2d; 590 public static final int ROLE_SYSTEM_COMBOBOX = 0x2e; 591 public static final int ROLE_SYSTEM_PROGRESSBAR = 0x30; 593 public static final int ROLE_SYSTEM_SLIDER = 0x33; 596 public static final int ROLE_SYSTEM_PAGETABLIST = 0x3c; 605 public static final int STATE_SYSTEM_NORMAL = 0; 607 public static final int STATE_SYSTEM_SELECTED = 0x2; 609 public static final int STATE_SYSTEM_FOCUSED = 0x4; 610 public static final int STATE_SYSTEM_PRESSED = 0x8; 611 public static final int STATE_SYSTEM_CHECKED = 0x10; 612 public static final int STATE_SYSTEM_READONLY = 0x40; 615 public static final int STATE_SYSTEM_HOTTRACKED = 0x80; 616 public static final int STATE_SYSTEM_EXPANDED = 0x200; 618 public static final int STATE_SYSTEM_COLLAPSED = 0x400; 619 public static final int STATE_SYSTEM_BUSY = 0x800; 620 public static final int STATE_SYSTEM_INVISIBLE = 0x8000; 624 public static final int STATE_SYSTEM_OFFSCREEN = 0x10000; 625 public static final int STATE_SYSTEM_SIZEABLE = 0x20000; 626 public static final int STATE_SYSTEM_FOCUSABLE = 0x100000; 629 public static final int STATE_SYSTEM_SELECTABLE = 0x200000; 630 public static final int STATE_SYSTEM_LINKED = 0x400000; 631 public static final int STATE_SYSTEM_MULTISELECTABLE = 0x1000000; 633 640 641 public static final native int AccessibleObjectFromWindow (int hwnd, int dwObjectID, GUID riid, int [] ppvObject); 642 public static final native int CreateStdAccessibleObject (int hwnd, int idObject, GUID riidInterface, int [] ppvObject); 643 public static final native int LresultFromObject (GUID riid, int wParam, int pAcc); 644 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1, int arg2, int arg3); 645 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1, int arg2, int arg3, int arg4); 646 public static final native int VtblCall(int fnNumber, long ppVtbl, int arg0, int arg1, int arg2, int arg3, long arg4); 647 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1, int arg2, int arg3, int arg4, int arg5); 648 public static final native int VtblCall(int fnNumber, long ppVtbl, long arg0, int arg1, int arg2, int arg3, int arg4, int arg5); 649 public static final native int VtblCall(int fnNumber, int ppVtbl, int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7); 650 651 652 public static final native int VtblCall_VARIANT(int fnNumber, int ppVtbl, int arg0); 653 public static final native int VtblCall_VARIANTP(int fnNumber, int ppVtbl, int arg0, int arg1); 654 public static final native int VtblCall_IVARIANT(int fnNumber, int ppVtbl, int arg0, int arg1); 655 public static final native int VtblCall_IVARIANTP(int fnNumber, int ppVtbl, int arg0, int arg1, int arg2); 656 public static final native int VtblCall_PVARIANTP(int fnNumber, int ppVtbl, int arg0, int arg1, int arg2); 657 public static final native int VtblCall_PPPPVARIANT(int fnNumber, int ppVtbl, int arg0, int arg1, int arg2, int arg3, int arg4); 658 public static final native int get_accChild_CALLBACK(int func); 659 public static final native int get_accName_CALLBACK(int func); 660 public static final native int get_accValue_CALLBACK(int func); 661 public static final native int get_accDescription_CALLBACK(int func); 662 public static final native int get_accRole_CALLBACK(int func); 663 public static final native int get_accState_CALLBACK(int func); 664 public static final native int get_accHelp_CALLBACK(int func); 665 public static final native int get_accHelpTopic_CALLBACK(int func); 666 public static final native int get_accKeyboardShortcut_CALLBACK(int func); 667 public static final native int get_accDefaultAction_CALLBACK(int func); 668 public static final native int accSelect_CALLBACK(int func); 669 public static final native int accLocation_CALLBACK(int func); 670 public static final native int accNavigate_CALLBACK(int func); 671 public static final native int accDoDefaultAction_CALLBACK(int func); 672 public static final native int put_accName_CALLBACK(int func); 673 public static final native int put_accValue_CALLBACK(int func); 674 675 676 public static final native int CAUUID_sizeof(); 677 public static final native int CONTROLINFO_sizeof(); 678 public static final native int COSERVERINFO_sizeof(); 679 public static final native int DISPPARAMS_sizeof(); 680 public static final native int DVTARGETDEVICE_sizeof(); 681 public static final native int EXCEPINFO_sizeof(); 682 public static final native int FORMATETC_sizeof(); 683 public static final native int FUNCDESC_sizeof(); 684 public static final native int GUID_sizeof(); 685 public static final native int LICINFO_sizeof(); 686 public static final native int OLECMD_sizeof(); 687 public static final native int OLEINPLACEFRAMEINFO_sizeof(); 688 public static final native int STATSTG_sizeof(); 689 public static final native int STGMEDIUM_sizeof(); 690 public static final native int TYPEATTR_sizeof(); 691 public static final native int VARDESC_sizeof(); 692 public static final native int VARIANT_sizeof(); 693 } 694 | Popular Tags |