|
Imports System
Imports System.Runtime.InteropServices
Namespace ShellDll
<ComImportAttribute(), _
InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown), _
Guid("0000010B-0000-0000-C000-000000000046")> _
Public Interface IPersistFile
'Inheirited from Ipersist
Sub GetClassID( _
<Out()> ByRef pClassID As Guid)
'IPersistFile Interfaces
<PreserveSig()> _
Function IsDirty() As Integer
Function Load( _
<MarshalAs(UnmanagedType.LPWStr)> ByVal pszFileName As String, _
ByVal dwMode As Integer) As Integer
Function Save( _
<MarshalAs(UnmanagedType.LPWStr)> ByVal pszFileName As String, _
<MarshalAs(UnmanagedType.Bool)> ByVal fRemember As Boolean) As Integer
Function SaveCompleted( _
<MarshalAs(UnmanagedType.LPWStr)> ByVal pszFileName As String) As Integer
Function GetCurFile( _
<Out(), MarshalAs(UnmanagedType.LPWStr)> ByRef ppszFileName As String) As Integer
End Interface
End Namespace
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
After 30+ years working in the IT field, mostly managing SysAdmins, I have retired. One of my hobbies returns me to programming, basically just to keep my hand in.