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
static final java.lang.String INTERFACE_IDENTIFIER
- See Also:
- Constant Field Values
isDirty
Int32 isDirty()
load
void load(OleStr pszFileName,
StgMode dwMode)
throws ComException
- Parameters:
pszFileName
- [in]
dwMode
- [in]
- Throws:
ComException
save
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
void saveCompleted(OleStr pszFileName)
throws ComException
- Parameters:
pszFileName
- [in]
- Throws:
ComException
getCurFile
OleStr getCurFile()
throws ComException
- Throws:
ComException