com.jniwrapper.win32.ole
Interface IOleLink

All Superinterfaces:
AutoDeleteParameter, IUnknown
All Known Implementing Classes:
IOleLinkImpl

public interface IOleLink
extends IUnknown

This interface allows containers to contain linked objects.

See Also:
Microsoft COM SDK documentation

Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Method Summary
 void bindIfRunning()
           
 void bindToSource(OleLinkBind bindflags, IBindCtx pbc)
           
 IUnknown getBoundSource()
           
 OleStr getSourceDisplayName()
           
 IMoniker getSourceMoniker()
           
 OleUpdate getUpdateOptions()
           
 void setSourceDisplayName(OleStr pszStatusText)
           
 void setSourceMoniker(IMoniker pmk, CLSID rclsid)
           
 void setUpdateOptions(OleUpdate dwUpdateOpt)
           
 void unbindSource()
           
 void update(IBindCtx pbc)
           
 
Methods inherited from interface com.jniwrapper.win32.com.IUnknown
addRef, isNull, queryInterface, release, setNull
 
Methods inherited from interface com.jniwrapper.AutoDeleteParameter
isAutoDelete, setAutoDelete
 

Field Detail

INTERFACE_IDENTIFIER

static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values
Method Detail

setUpdateOptions

void setUpdateOptions(OleUpdate dwUpdateOpt)
                      throws ComException
Parameters:
dwUpdateOpt - [in]
Throws:
ComException

getUpdateOptions

OleUpdate getUpdateOptions()
                           throws ComException
Throws:
ComException

setSourceMoniker

void setSourceMoniker(IMoniker pmk,
                      CLSID rclsid)
                      throws ComException
Parameters:
pmk - [in]
rclsid - [in]
Throws:
ComException

getSourceMoniker

IMoniker getSourceMoniker()
                          throws ComException
Throws:
ComException

setSourceDisplayName

void setSourceDisplayName(OleStr pszStatusText)
                          throws ComException
Parameters:
pszStatusText - [in]
Throws:
ComException

getSourceDisplayName

OleStr getSourceDisplayName()
                            throws ComException
Throws:
ComException

bindToSource

void bindToSource(OleLinkBind bindflags,
                  IBindCtx pbc)
                  throws ComException
Parameters:
bindflags - [in]
pbc - [in]
Throws:
ComException

bindIfRunning

void bindIfRunning()
                   throws ComException
Throws:
ComException

getBoundSource

IUnknown getBoundSource()
                        throws ComException
Throws:
ComException

unbindSource

void unbindSource()
                  throws ComException
Throws:
ComException

update

void update(IBindCtx pbc)
            throws ComException
Parameters:
pbc - [in]
Throws:
ComException