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

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

setUpdateOptions

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

getUpdateOptions

public OleUpdate getUpdateOptions()
                           throws ComException
Throws:
ComException

setSourceMoniker

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

getSourceMoniker

public IMoniker getSourceMoniker()
                          throws ComException
Throws:
ComException

setSourceDisplayName

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

getSourceDisplayName

public OleStr getSourceDisplayName()
                            throws ComException
Throws:
ComException

bindToSource

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

bindIfRunning

public void bindIfRunning()
                   throws ComException
Throws:
ComException

getBoundSource

public IUnknown getBoundSource()
                        throws ComException
Throws:
ComException

unbindSource

public void unbindSource()
                  throws ComException
Throws:
ComException

update

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