com.jniwrapper.win32.com
Interface IPersistFile
- All Superinterfaces:
- AutoDeleteParameter, IPersist, IUnknown
- All Known Implementing Classes:
- IPersistFileImpl
- public interface IPersistFile
- extends IPersist
This interface provides a method for loading and saving files to a disk.
- See Also:
- Microsoft
COM SDK documentation
INTERFACE_IDENTIFIER
public static final java.lang.String INTERFACE_IDENTIFIER
- See Also:
- Constant Field Values
isDirty
public Int32 isDirty()
load
public void load(OleStr pszFileName,
StgMode dwMode)
throws ComException
- Parameters:
pszFileName
- [in]
dwMode
- [in]
- Throws:
ComException
save
public HResult save(OleStr pszFileName,
VariantBool fRemember)
throws ComException
- 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
- Parameters:
pszFileName
- [in]
- Throws:
ComException
getCurFile
public OleStr getCurFile()
throws ComException
- Throws:
ComException