Eclipse Platform
2.1

org.eclipse.swt.ole.win32
Class OLE

java.lang.Object
  |
  +--org.eclipse.swt.SWT
        |
        +--org.eclipse.swt.ole.win32.OLE

public class OLE
extends SWT

OLE contains all the constants used to create an ActiveX Control or an OLE Document.

Definitions for these constants can be found in MSDN.


Field Summary
static int CC_CDECL
           
static int CC_FASTCALL
           
static int CC_FPFASTCALL
           
static int CC_MACPASCAL
           
static int CC_MAX
           
static int CC_MPWCDECL
           
static int CC_MPWPASCAL
           
static int CC_MSCPASCAL
           
static int CC_PASCAL
           
static int CC_STDCALL
           
static int CC_SYSCALL
           
static int E_FAIL
           
static int E_INVALIDARG
           
static int E_NOINTERFACE
           
static int E_NOTIMPL
           
static int ERROR_ACTION_NOT_PERFORMED
          Error code for OleError - Action can not be performed
static int ERROR_APPLICATION_NOT_FOUND
          Error code for OleError - Unable to find Application
static int ERROR_CANNOT_ACCESS_CLASSFACTORY
          Error code for OleError - Failed to get the class factory for the specified classID
static int ERROR_CANNOT_CHANGE_VARIANT_TYPE
          Error code for OleError - Failed to change Variant type
static int ERROR_CANNOT_CREATE_FILE
          Error code for OleError - Failed to create file
static int ERROR_CANNOT_CREATE_LICENSED_OBJECT
          Error code for OleError - Failed to create Licensed instance
static int ERROR_CANNOT_CREATE_OBJECT
          Error code for OleError - Failed to create Ole Client
static int ERROR_CANNOT_OPEN_FILE
          Error code for OleError - File does not exist, is not accessible to user or does not have the correct format
static int ERROR_INTERFACE_NOT_FOUND
          Error code for OleError - Failed to find requested interface on OLE Object
static int ERROR_INVALID_CLASSID
          Error code for OleError - Class ID not found in registry
static int ERROR_INVALID_INTERFACE_ADDRESS
          Error code for OleError - Invalid address received for Ole Interface
static int ERROR_OUT_OF_MEMORY
          Error code for OleError - Out of Memory
static int FUNC_DISPATCH
           
static int FUNC_NONVIRTUAL
           
static int FUNC_PUREVIRTUAL
           
static int FUNC_STATIC
           
static int FUNC_VIRTUAL
           
static short FUNCFLAG_FBINDABLE
           
static short FUNCFLAG_FDEFAULTBIND
           
static short FUNCFLAG_FDEFAULTCOLLELEM
           
static short FUNCFLAG_FDISPLAYBIND
           
static short FUNCFLAG_FHIDDEN
           
static short FUNCFLAG_FIMMEDIATEBIND
           
static short FUNCFLAG_FNONBROWSABLE
           
static short FUNCFLAG_FREPLACEABLE
           
static short FUNCFLAG_FREQUESTEDIT
           
static short FUNCFLAG_FRESTRICTED
           
static short FUNCFLAG_FSOURCE
           
static short FUNCFLAG_FUIDEFAULT
           
static short FUNCFLAG_FUSESGETLASTERROR
           
static int HRESULT_UNSPECIFIED
          Error code for OleError - No specific error information available
static short IDLFLAG_FIN
           
static short IDLFLAG_FLCID
           
static short IDLFLAG_FOUT
           
static short IDLFLAG_FRETVAL
           
static short IDLFLAG_NONE
           
static String IID_IDISPATCH
           
static String IID_IUNKNOWN
           
static int INVOKE_FUNC
           
static int INVOKE_PROPERTYGET
           
static int INVOKE_PROPERTYPUT
           
static int INVOKE_PROPERTYPUTREF
           
static int OLECMDEXECOPT_DODEFAULT
           
static int OLECMDEXECOPT_DONTPROMPTUSER
           
static int OLECMDEXECOPT_PROMPTUSER
           
static int OLECMDEXECOPT_SHOWHELP
           
static int OLECMDF_ENABLED
           
static int OLECMDF_LATCHED
           
static int OLECMDF_NINCHED
           
static int OLECMDF_SUPPORTED
           
static int OLECMDID_CLEARSELECTION
           
static int OLECMDID_COPY
           
static int OLECMDID_CUT
           
static int OLECMDID_GETZOOMRANGE
           
static int OLECMDID_HIDETOOLBARS
           
static int OLECMDID_NEW
           
static int OLECMDID_OPEN
           
static int OLECMDID_PAGESETUP
           
static int OLECMDID_PASTE
           
static int OLECMDID_PASTESPECIAL
           
static int OLECMDID_PRINT
           
static int OLECMDID_PRINTPREVIEW
           
static int OLECMDID_PROPERTIES
           
static int OLECMDID_REDO
           
static int OLECMDID_REFRESH
           
static int OLECMDID_SAVE
           
static int OLECMDID_SAVEAS
           
static int OLECMDID_SAVECOPYAS
           
static int OLECMDID_SELECTALL
           
static int OLECMDID_SETDOWNLOADSTATE
           
static int OLECMDID_SETPROGRESSMAX
           
static int OLECMDID_SETPROGRESSPOS
           
static int OLECMDID_SETPROGRESSTEXT
           
static int OLECMDID_SETTITLE
           
static int OLECMDID_SPELL
           
static int OLECMDID_STOP
           
static int OLECMDID_STOPDOWNLOAD
           
static int OLECMDID_UNDO
           
static int OLECMDID_UPDATECOMMANDS
           
static int OLECMDID_ZOOM
           
static int OLECMDTEXTF_NAME
           
static int OLECMDTEXTF_NONE
           
static int OLECMDTEXTF_STATUS
           
static int OLEIVERB_DISCARDUNDOSTATE
           
static int OLEIVERB_HIDE
           
static int OLEIVERB_INPLACEACTIVATE
           
static int OLEIVERB_OPEN
           
static int OLEIVERB_PRIMARY
           
static int OLEIVERB_PROPERTIES
           
static int OLEIVERB_SHOW
           
static int OLEIVERB_UIACTIVATE
           
static int PROPERTY_CHANGED
           
static int PROPERTY_CHANGING
           
static int S_FALSE
           
static int S_OK
           
static int VAR_CONST
           
static int VAR_DISPATCH
           
static int VAR_PERINSTANCE
           
static int VAR_STATIC
           
static int VARFLAG_FBINDABLE
           
static int VARFLAG_FDEFAULTBIND
           
static int VARFLAG_FDEFAULTCOLLELEM
           
static int VARFLAG_FDISPLAYBIND
           
static int VARFLAG_FHIDDEN
           
static int VARFLAG_FIMMEDIATEBIND
           
static int VARFLAG_FNONBROWSABLE
           
static int VARFLAG_FREADONLY
           
static int VARFLAG_FREPLACEABLE
           
static int VARFLAG_FREQUESTEDIT
           
static int VARFLAG_FRESTRICTED
           
static int VARFLAG_FSOURCE
           
static int VARFLAG_FUIDEFAULT
           
static short VT_ARRAY
           
static short VT_BLOB
           
static short VT_BLOB_OBJECT
           
static short VT_BOOL
           
static short VT_BSTR
           
static short VT_BSTR_BLOB
           
static short VT_BYREF
           
static short VT_CARRAY
           
static short VT_CF
           
static short VT_CLSID
           
static short VT_CY
           
static short VT_DATE
           
static short VT_DECIMAL
           
static short VT_DISPATCH
           
static short VT_EMPTY
           
static short VT_ERROR
           
static short VT_FILETIME
           
static short VT_HRESULT
           
static short VT_I1
           
static short VT_I2
           
static short VT_I4
           
static short VT_I8
           
static short VT_INT
           
static short VT_LPSTR
           
static short VT_LPWSTR
           
static short VT_NULL
           
static short VT_PTR
           
static short VT_R4
           
static short VT_R8
           
static short VT_RECORD
           
static short VT_SAFEARRAY
           
static short VT_STORAGE
           
static short VT_STORED_OBJECT
           
static short VT_STREAM
           
static short VT_STREAMED_OBJECT
           
static short VT_UI1
           
static short VT_UI2
           
static short VT_UI4
           
static short VT_UI8
           
static short VT_UINT
           
static short VT_UNKNOWN
           
static short VT_USERDEFINED
           
static short VT_VARIANT
           
static short VT_VECTOR
           
static short VT_VERSIONED_STREAM
           
static short VT_VOID
           
 
Fields inherited from class org.eclipse.swt.SWT
ABORT, Activate, ALPHA, ALT, APPLICATION_MODAL, Arm, ARROW, ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, BAR, BITMAP, BOLD, BORDER, BOTTOM, BS, BUTTON_MASK, BUTTON1, BUTTON2, BUTTON3, CANCEL, CASCADE, CENTER, CHECK, CLIP_CHILDREN, CLIP_SIBLINGS, Close, CLOSE, Collapse, COLOR_BLACK, COLOR_BLUE, COLOR_CYAN, COLOR_DARK_BLUE, COLOR_DARK_CYAN, COLOR_DARK_GRAY, COLOR_DARK_GREEN, COLOR_DARK_MAGENTA, COLOR_DARK_RED, COLOR_DARK_YELLOW, COLOR_GRAY, COLOR_GREEN, COLOR_INFO_BACKGROUND, COLOR_INFO_FOREGROUND, COLOR_LIST_BACKGROUND, COLOR_LIST_FOREGROUND, COLOR_LIST_SELECTION, COLOR_LIST_SELECTION_TEXT, COLOR_MAGENTA, COLOR_RED, COLOR_TITLE_BACKGROUND, COLOR_TITLE_BACKGROUND_GRADIENT, COLOR_TITLE_FOREGROUND, COLOR_TITLE_INACTIVE_BACKGROUND, COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT, COLOR_TITLE_INACTIVE_FOREGROUND, COLOR_WHITE, COLOR_WIDGET_BACKGROUND, COLOR_WIDGET_BORDER, COLOR_WIDGET_DARK_SHADOW, COLOR_WIDGET_FOREGROUND, COLOR_WIDGET_HIGHLIGHT_SHADOW, COLOR_WIDGET_LIGHT_SHADOW, COLOR_WIDGET_NORMAL_SHADOW, COLOR_YELLOW, COMMAND, CONTROL, CR, CTRL, CURSOR_APPSTARTING, CURSOR_ARROW, CURSOR_CROSS, CURSOR_HAND, CURSOR_HELP, CURSOR_IBEAM, CURSOR_NO, CURSOR_SIZEALL, CURSOR_SIZEE, CURSOR_SIZEN, CURSOR_SIZENE, CURSOR_SIZENESW, CURSOR_SIZENS, CURSOR_SIZENW, CURSOR_SIZENWSE, CURSOR_SIZES, CURSOR_SIZESE, CURSOR_SIZESW, CURSOR_SIZEW, CURSOR_SIZEWE, CURSOR_UPARROW, CURSOR_WAIT, DBCS, Deactivate, DEFAULT, DefaultSelection, Deiconify, DEL, DIALOG_TRIM, Dispose, DM_FILL_BACKGROUND, DM_FILL_NONE, DM_FILL_PREVIOUS, DM_UNSPECIFIED, DOWN, DRAG, DragDetect, DRAW_DELIMITER, DRAW_MNEMONIC, DRAW_TAB, DRAW_TRANSPARENT, DROP_DOWN, END, ERROR_CANNOT_BE_ZERO, ERROR_CANNOT_GET_COUNT, ERROR_CANNOT_GET_ENABLED, ERROR_CANNOT_GET_ITEM, ERROR_CANNOT_GET_ITEM_HEIGHT, ERROR_CANNOT_GET_SELECTION, ERROR_CANNOT_GET_TEXT, ERROR_CANNOT_SET_ENABLED, ERROR_CANNOT_SET_MENU, ERROR_CANNOT_SET_SELECTION, ERROR_CANNOT_SET_TEXT, ERROR_DEVICE_DISPOSED, ERROR_FAILED_EXEC, ERROR_FAILED_LOAD_LIBRARY, ERROR_GRAPHIC_DISPOSED, ERROR_INVALID_ARGUMENT, ERROR_INVALID_IMAGE, ERROR_INVALID_PARENT, ERROR_INVALID_RANGE, ERROR_INVALID_SUBCLASS, ERROR_IO, ERROR_ITEM_NOT_ADDED, ERROR_ITEM_NOT_REMOVED, ERROR_MENU_NOT_BAR, ERROR_MENU_NOT_DROP_DOWN, ERROR_MENU_NOT_POP_UP, ERROR_MENUITEM_NOT_CASCADE, ERROR_NO_HANDLES, ERROR_NO_MORE_CALLBACKS, ERROR_NOT_IMPLEMENTED, ERROR_NULL_ARGUMENT, ERROR_THREAD_INVALID_ACCESS, ERROR_UNSPECIFIED, ERROR_UNSUPPORTED_DEPTH, ERROR_UNSUPPORTED_FORMAT, ERROR_WIDGET_DISPOSED, ESC, Expand, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, FLAT, FocusIn, FocusOut, FULL_SELECTION, H_SCROLL, HardKeyDown, HardKeyUp, Help, Hide, HIDE_SELECTION, HOME, HORIZONTAL, ICON, ICON_ERROR, ICON_INFORMATION, ICON_QUESTION, ICON_WARNING, ICON_WORKING, Iconify, IGNORE, IMAGE_BMP, IMAGE_BMP_RLE, IMAGE_COPY, IMAGE_DISABLE, IMAGE_GIF, IMAGE_GRAY, IMAGE_ICO, IMAGE_JPEG, IMAGE_PNG, IMAGE_UNDEFINED, INDETERMINATE, INSERT, ITALIC, KEY_MASK, KEYCODE_BIT, KeyDown, KeyUp, LEAD, LEFT, LEFT_TO_RIGHT, LF, LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID, MAX, MENU, MIN, MIRRORED, MOD1, MOD2, MOD3, MOD4, MODELESS, MODIFIER_MASK, Modify, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseMove, MouseUp, Move, MULTI, NATIVE, NO, NO_BACKGROUND, NO_FOCUS, NO_MERGE_PAINTS, NO_RADIO_GROUP, NO_REDRAW_RESIZE, NO_TRIM, NONE, NORMAL, NULL, OK, ON_TOP, OPEN, PAGE_DOWN, PAGE_UP, Paint, PHONETIC, POP_UP, PRIMARY_MODAL, PUSH, RADIO, READ_ONLY, Resize, RESIZE, RETRY, RIGHT, RIGHT_TO_LEFT, ROMAN, SAVE, Selection, SEPARATOR, SHADOW_ETCHED_IN, SHADOW_ETCHED_OUT, SHADOW_IN, SHADOW_NONE, SHADOW_OUT, SHELL_TRIM, SHIFT, Show, SIMPLE, SINGLE, SMOOTH, SYSTEM_MODAL, TAB, TITLE, TOGGLE, TOOL, TOP, TRAIL, TRANSPARENCY_ALPHA, TRANSPARENCY_MASK, TRANSPARENCY_NONE, TRANSPARENCY_PIXEL, Traverse, TRAVERSE_ARROW_NEXT, TRAVERSE_ARROW_PREVIOUS, TRAVERSE_ESCAPE, TRAVERSE_MNEMONIC, TRAVERSE_NONE, TRAVERSE_PAGE_NEXT, TRAVERSE_PAGE_PREVIOUS, TRAVERSE_RETURN, TRAVERSE_TAB_NEXT, TRAVERSE_TAB_PREVIOUS, UP, V_SCROLL, Verify, VERTICAL, WRAP, YES
 
Constructor Summary
OLE()
           
 
Method Summary
static void error(int code)
          Throws an appropriate exception based on the passed in error code.
static void error(int code, int hresult)
           
static String findProgramID(String extension)
           
static boolean isOleFile(File file)
          Returns true if the specified file has an OLE Storage format.
 
Methods inherited from class org.eclipse.swt.SWT
error, getMessage, getPlatform, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

S_FALSE

public static final int S_FALSE

S_OK

public static final int S_OK

E_FAIL

public static final int E_FAIL

E_INVALIDARG

public static final int E_INVALIDARG

E_NOINTERFACE

public static final int E_NOINTERFACE

E_NOTIMPL

public static final int E_NOTIMPL

IID_IUNKNOWN

public static final String IID_IUNKNOWN

IID_IDISPATCH

public static final String IID_IDISPATCH

OLEIVERB_DISCARDUNDOSTATE

public static final int OLEIVERB_DISCARDUNDOSTATE

OLEIVERB_HIDE

public static final int OLEIVERB_HIDE

OLEIVERB_INPLACEACTIVATE

public static final int OLEIVERB_INPLACEACTIVATE

OLEIVERB_OPEN

public static final int OLEIVERB_OPEN

OLEIVERB_PRIMARY

public static final int OLEIVERB_PRIMARY

OLEIVERB_PROPERTIES

public static final int OLEIVERB_PROPERTIES

OLEIVERB_SHOW

public static final int OLEIVERB_SHOW

OLEIVERB_UIACTIVATE

public static final int OLEIVERB_UIACTIVATE

PROPERTY_CHANGING

public static final int PROPERTY_CHANGING

PROPERTY_CHANGED

public static final int PROPERTY_CHANGED

HRESULT_UNSPECIFIED

public static final int HRESULT_UNSPECIFIED
Error code for OleError - No specific error information available

ERROR_CANNOT_CREATE_FILE

public static final int ERROR_CANNOT_CREATE_FILE
Error code for OleError - Failed to create file

ERROR_CANNOT_CREATE_OBJECT

public static final int ERROR_CANNOT_CREATE_OBJECT
Error code for OleError - Failed to create Ole Client

ERROR_CANNOT_OPEN_FILE

public static final int ERROR_CANNOT_OPEN_FILE
Error code for OleError - File does not exist, is not accessible to user or does not have the correct format

ERROR_INTERFACE_NOT_FOUND

public static final int ERROR_INTERFACE_NOT_FOUND
Error code for OleError - Failed to find requested interface on OLE Object

ERROR_INVALID_CLASSID

public static final int ERROR_INVALID_CLASSID
Error code for OleError - Class ID not found in registry

ERROR_CANNOT_ACCESS_CLASSFACTORY

public static final int ERROR_CANNOT_ACCESS_CLASSFACTORY
Error code for OleError - Failed to get the class factory for the specified classID

ERROR_CANNOT_CREATE_LICENSED_OBJECT

public static final int ERROR_CANNOT_CREATE_LICENSED_OBJECT
Error code for OleError - Failed to create Licensed instance

ERROR_OUT_OF_MEMORY

public static final int ERROR_OUT_OF_MEMORY
Error code for OleError - Out of Memory

ERROR_CANNOT_CHANGE_VARIANT_TYPE

public static final int ERROR_CANNOT_CHANGE_VARIANT_TYPE
Error code for OleError - Failed to change Variant type

ERROR_INVALID_INTERFACE_ADDRESS

public static final int ERROR_INVALID_INTERFACE_ADDRESS
Error code for OleError - Invalid address received for Ole Interface

ERROR_APPLICATION_NOT_FOUND

public static final int ERROR_APPLICATION_NOT_FOUND
Error code for OleError - Unable to find Application

ERROR_ACTION_NOT_PERFORMED

public static final int ERROR_ACTION_NOT_PERFORMED
Error code for OleError - Action can not be performed

OLECMDF_SUPPORTED

public static final int OLECMDF_SUPPORTED

OLECMDF_ENABLED

public static final int OLECMDF_ENABLED

OLECMDF_LATCHED

public static final int OLECMDF_LATCHED

OLECMDF_NINCHED

public static final int OLECMDF_NINCHED

OLECMDTEXTF_NONE

public static final int OLECMDTEXTF_NONE

OLECMDTEXTF_NAME

public static final int OLECMDTEXTF_NAME

OLECMDTEXTF_STATUS

public static final int OLECMDTEXTF_STATUS

OLECMDEXECOPT_DODEFAULT

public static final int OLECMDEXECOPT_DODEFAULT

OLECMDEXECOPT_PROMPTUSER

public static final int OLECMDEXECOPT_PROMPTUSER

OLECMDEXECOPT_DONTPROMPTUSER

public static final int OLECMDEXECOPT_DONTPROMPTUSER

OLECMDEXECOPT_SHOWHELP

public static final int OLECMDEXECOPT_SHOWHELP

OLECMDID_OPEN

public static final int OLECMDID_OPEN

OLECMDID_NEW

public static final int OLECMDID_NEW

OLECMDID_SAVE

public static final int OLECMDID_SAVE

OLECMDID_SAVEAS

public static final int OLECMDID_SAVEAS

OLECMDID_SAVECOPYAS

public static final int OLECMDID_SAVECOPYAS

OLECMDID_PRINT

public static final int OLECMDID_PRINT

OLECMDID_PRINTPREVIEW

public static final int OLECMDID_PRINTPREVIEW

OLECMDID_PAGESETUP

public static final int OLECMDID_PAGESETUP

OLECMDID_SPELL

public static final int OLECMDID_SPELL

OLECMDID_PROPERTIES

public static final int OLECMDID_PROPERTIES

OLECMDID_CUT

public static final int OLECMDID_CUT

OLECMDID_COPY

public static final int OLECMDID_COPY

OLECMDID_PASTE

public static final int OLECMDID_PASTE

OLECMDID_PASTESPECIAL

public static final int OLECMDID_PASTESPECIAL

OLECMDID_UNDO

public static final int OLECMDID_UNDO

OLECMDID_REDO

public static final int OLECMDID_REDO

OLECMDID_SELECTALL

public static final int OLECMDID_SELECTALL

OLECMDID_CLEARSELECTION

public static final int OLECMDID_CLEARSELECTION

OLECMDID_ZOOM

public static final int OLECMDID_ZOOM

OLECMDID_GETZOOMRANGE

public static final int OLECMDID_GETZOOMRANGE

OLECMDID_UPDATECOMMANDS

public static final int OLECMDID_UPDATECOMMANDS

OLECMDID_REFRESH

public static final int OLECMDID_REFRESH

OLECMDID_STOP

public static final int OLECMDID_STOP

OLECMDID_HIDETOOLBARS

public static final int OLECMDID_HIDETOOLBARS

OLECMDID_SETPROGRESSMAX

public static final int OLECMDID_SETPROGRESSMAX

OLECMDID_SETPROGRESSPOS

public static final int OLECMDID_SETPROGRESSPOS

OLECMDID_SETPROGRESSTEXT

public static final int OLECMDID_SETPROGRESSTEXT

OLECMDID_SETTITLE

public static final int OLECMDID_SETTITLE

OLECMDID_SETDOWNLOADSTATE

public static final int OLECMDID_SETDOWNLOADSTATE

OLECMDID_STOPDOWNLOAD

public static final int OLECMDID_STOPDOWNLOAD

VARFLAG_FREADONLY

public static int VARFLAG_FREADONLY

VARFLAG_FSOURCE

public static int VARFLAG_FSOURCE

VARFLAG_FBINDABLE

public static int VARFLAG_FBINDABLE

VARFLAG_FREQUESTEDIT

public static int VARFLAG_FREQUESTEDIT

VARFLAG_FDISPLAYBIND

public static int VARFLAG_FDISPLAYBIND

VARFLAG_FDEFAULTBIND

public static int VARFLAG_FDEFAULTBIND

VARFLAG_FHIDDEN

public static int VARFLAG_FHIDDEN

VARFLAG_FRESTRICTED

public static int VARFLAG_FRESTRICTED

VARFLAG_FDEFAULTCOLLELEM

public static int VARFLAG_FDEFAULTCOLLELEM

VARFLAG_FUIDEFAULT

public static int VARFLAG_FUIDEFAULT

VARFLAG_FNONBROWSABLE

public static int VARFLAG_FNONBROWSABLE

VARFLAG_FREPLACEABLE

public static int VARFLAG_FREPLACEABLE

VARFLAG_FIMMEDIATEBIND

public static int VARFLAG_FIMMEDIATEBIND

VAR_PERINSTANCE

public static int VAR_PERINSTANCE

VAR_STATIC

public static int VAR_STATIC

VAR_CONST

public static int VAR_CONST

VAR_DISPATCH

public static int VAR_DISPATCH

IDLFLAG_NONE

public static short IDLFLAG_NONE

IDLFLAG_FIN

public static short IDLFLAG_FIN

IDLFLAG_FOUT

public static short IDLFLAG_FOUT

IDLFLAG_FLCID

public static short IDLFLAG_FLCID

IDLFLAG_FRETVAL

public static short IDLFLAG_FRETVAL

VT_BOOL

public static final short VT_BOOL

VT_BSTR

public static final short VT_BSTR

VT_BYREF

public static final short VT_BYREF

VT_CY

public static final short VT_CY

VT_DATE

public static final short VT_DATE

VT_DISPATCH

public static final short VT_DISPATCH

VT_EMPTY

public static final short VT_EMPTY

VT_ERROR

public static final short VT_ERROR

VT_I2

public static final short VT_I2

VT_I4

public static final short VT_I4

VT_NULL

public static final short VT_NULL

VT_R4

public static final short VT_R4

VT_R8

public static final short VT_R8

VT_UI1

public static final short VT_UI1

VT_UI4

public static final short VT_UI4

VT_UNKNOWN

public static final short VT_UNKNOWN

VT_VARIANT

public static final short VT_VARIANT

VT_PTR

public static final short VT_PTR

VT_USERDEFINED

public static final short VT_USERDEFINED

VT_HRESULT

public static final short VT_HRESULT

VT_DECIMAL

public static final short VT_DECIMAL

VT_I1

public static final short VT_I1

VT_UI2

public static final short VT_UI2

VT_I8

public static final short VT_I8

VT_UI8

public static final short VT_UI8

VT_INT

public static final short VT_INT

VT_UINT

public static final short VT_UINT

VT_VOID

public static final short VT_VOID

VT_SAFEARRAY

public static final short VT_SAFEARRAY

VT_CARRAY

public static final short VT_CARRAY

VT_LPSTR

public static final short VT_LPSTR

VT_LPWSTR

public static final short VT_LPWSTR

VT_RECORD

public static final short VT_RECORD

VT_FILETIME

public static final short VT_FILETIME

VT_BLOB

public static final short VT_BLOB

VT_STREAM

public static final short VT_STREAM

VT_STORAGE

public static final short VT_STORAGE

VT_STREAMED_OBJECT

public static final short VT_STREAMED_OBJECT

VT_STORED_OBJECT

public static final short VT_STORED_OBJECT

VT_BLOB_OBJECT

public static final short VT_BLOB_OBJECT

VT_CF

public static final short VT_CF

VT_CLSID

public static final short VT_CLSID

VT_VERSIONED_STREAM

public static final short VT_VERSIONED_STREAM

VT_BSTR_BLOB

public static final short VT_BSTR_BLOB

VT_VECTOR

public static final short VT_VECTOR

VT_ARRAY

public static final short VT_ARRAY

INVOKE_FUNC

public static final int INVOKE_FUNC

INVOKE_PROPERTYGET

public static final int INVOKE_PROPERTYGET

INVOKE_PROPERTYPUT

public static final int INVOKE_PROPERTYPUT

INVOKE_PROPERTYPUTREF

public static final int INVOKE_PROPERTYPUTREF

FUNC_VIRTUAL

public static final int FUNC_VIRTUAL

FUNC_PUREVIRTUAL

public static final int FUNC_PUREVIRTUAL

FUNC_NONVIRTUAL

public static final int FUNC_NONVIRTUAL

FUNC_STATIC

public static final int FUNC_STATIC

FUNC_DISPATCH

public static final int FUNC_DISPATCH

FUNCFLAG_FRESTRICTED

public static final short FUNCFLAG_FRESTRICTED

FUNCFLAG_FSOURCE

public static final short FUNCFLAG_FSOURCE

FUNCFLAG_FBINDABLE

public static final short FUNCFLAG_FBINDABLE

FUNCFLAG_FREQUESTEDIT

public static final short FUNCFLAG_FREQUESTEDIT

FUNCFLAG_FDISPLAYBIND

public static final short FUNCFLAG_FDISPLAYBIND

FUNCFLAG_FDEFAULTBIND

public static final short FUNCFLAG_FDEFAULTBIND

FUNCFLAG_FHIDDEN

public static final short FUNCFLAG_FHIDDEN

FUNCFLAG_FUSESGETLASTERROR

public static final short FUNCFLAG_FUSESGETLASTERROR

FUNCFLAG_FDEFAULTCOLLELEM

public static final short FUNCFLAG_FDEFAULTCOLLELEM

FUNCFLAG_FUIDEFAULT

public static final short FUNCFLAG_FUIDEFAULT

FUNCFLAG_FNONBROWSABLE

public static final short FUNCFLAG_FNONBROWSABLE

FUNCFLAG_FREPLACEABLE

public static final short FUNCFLAG_FREPLACEABLE

FUNCFLAG_FIMMEDIATEBIND

public static final short FUNCFLAG_FIMMEDIATEBIND

CC_FASTCALL

public static final int CC_FASTCALL

CC_CDECL

public static final int CC_CDECL

CC_MSCPASCAL

public static final int CC_MSCPASCAL

CC_PASCAL

public static final int CC_PASCAL

CC_MACPASCAL

public static final int CC_MACPASCAL

CC_STDCALL

public static final int CC_STDCALL

CC_FPFASTCALL

public static final int CC_FPFASTCALL

CC_SYSCALL

public static final int CC_SYSCALL

CC_MPWCDECL

public static final int CC_MPWCDECL

CC_MPWPASCAL

public static final int CC_MPWPASCAL

CC_MAX

public static final int CC_MAX
Constructor Detail

OLE

public OLE()
Method Detail

error

public static void error(int code)
Description copied from class: SWT
Throws an appropriate exception based on the passed in error code.
Following copied from class: org.eclipse.swt.SWT
Parameters:
code - the SWT error code

error

public static void error(int code,
                         int hresult)

findProgramID

public static String findProgramID(String extension)

isOleFile

public static boolean isOleFile(File file)
Returns true if the specified file has an OLE Storage format. Note all empty files (regardless of extension) will return false.
Parameters:
file - the file to be checked
Returns:
true if this file has an OLE Storage format

Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.