com.jniwrapper.win32.com.impl
Class IPersistFileImpl
java.lang.Object
com.jniwrapper.Parameter
com.jniwrapper.win32.com.impl.IUnknownImpl
com.jniwrapper.win32.com.impl.IPersistImpl
com.jniwrapper.win32.com.impl.IPersistFileImpl
- All Implemented Interfaces:
- AutoDeleteParameter, IPersist, IPersistFile, IUnknown, PointerParameter
- public class IPersistFileImpl
- extends IPersistImpl
- implements IPersistFile
Represents COM interface IPersistFile.
Fields inherited from class com.jniwrapper.Parameter |
V |
Methods inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl |
acceptIOPerformer, addRef, asVoidPointer, dumpVTBL, equals, fromVoidPointer, getDebugInfo, getInterfaceIdentifier, getLength, hashCode, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, isAutoDelete, isNull, isSameObject, queryInterface, queryInterface, read, release, setAutoDelete, setNull, setValue, write |
Methods inherited from class com.jniwrapper.Parameter |
, a, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
INTERFACE_IDENTIFIER
public static final java.lang.String INTERFACE_IDENTIFIER
- See Also:
- Constant Field Values
IPersistFileImpl
public IPersistFileImpl()
IPersistFileImpl
protected IPersistFileImpl(IUnknownImpl that)
throws ComException
IPersistFileImpl
public IPersistFileImpl(IUnknown that)
IPersistFileImpl
public IPersistFileImpl(CLSID clsid,
ClsCtx dwClsContext)
throws ComException
IPersistFileImpl
public IPersistFileImpl(CLSID clsid,
IUnknown pUnkOuter,
ClsCtx dwClsContext)
throws ComException
isDirty
public Int32 isDirty()
- Specified by:
isDirty
in interface IPersistFile
load
public void load(OleStr pszFileName,
StgMode dwMode)
throws ComException
- Specified by:
load
in interface IPersistFile
- Parameters:
pszFileName
- [in]
dwMode
- [in]
- Throws:
ComException
save
public HResult save(OleStr pszFileName,
VariantBool fRemember)
throws ComException
- Specified by:
save
in interface IPersistFile
- Parameters:
pszFileName
- [in]
fRemember
- [in]
- Returns:
- returns non-negative result of native method. Can be used to determine user choise in overwrite dialog.
- Throws:
ComException
saveCompleted
public void saveCompleted(OleStr pszFileName)
throws ComException
- Specified by:
saveCompleted
in interface IPersistFile
- Parameters:
pszFileName
- [in]
- Throws:
ComException
getCurFile
public OleStr getCurFile()
throws ComException
- Specified by:
getCurFile
in interface IPersistFile
- Throws:
ComException
getIID
public IID getIID()
- Overrides:
getIID
in class IPersistImpl
clone
public java.lang.Object clone()
- Overrides:
clone
in class IPersistImpl