Changeset 211 for Include/objidl.sbp
- Timestamp:
- Apr 11, 2007, 9:49:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/objidl.sbp
r175 r211 165 165 TypeDef LPSTREAM = *IStream 166 166 167 ' IEnumSTATSTG 167 Interface IEnumSTATSTG 168 Inherits IUnknown 169 End Interface 170 171 #ifndef __IStorage_INTERFACE_DEFINED__ 172 #define __IStorage_INTERFACE_DEFINED__ 173 174 /* interface IStorage */ 175 /* [unique][uuid][object] */ 176 177 TypeDef LPSTORAGE = /* [unique] */ *IStorage 178 179 Type RemSNB 180 ulCntStr As DWord 181 ulCntChar As DWord 182 rgString[ELM(1)] As OLECHAR 183 End Type 184 185 TypeDef wireSNB /* [unique] */ = *RemSNB 186 187 TypeDef SNB = /* [wire_marshal] */ **OLECHAR 188 189 Dim IID_IStorage = [&h0000000b, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID 168 190 169 191 Interface IStorage 170 192 Inherits IUnknown 171 End Interface 193 194 Function CreateStream( 195 /* [string][in] */ pwcsName As *OLECHAR, 196 /* [in] */ grfMode As DWord, 197 /* [in] */ reserved1 As DWord, 198 /* [in] */ reserved2 As DWord, 199 /* [out] */ ByRef pstm As *IStream) As HRESULT 200 /* [local] */ Function OpenStream( 201 /* [string][in] */ pwcsName As *OLECHAR, 202 /* [unique][in] */ reserved1 As VoidPtr, 203 /* [in] */ grfMode As DWord, 204 /* [in] */ reserved2 As DWord, 205 /* [out] */ ByRef pstm As *IStream) As HRESULT 206 Function CreateStorage( 207 /* [string][in] */ pwcsName As *OLECHAR, 208 /* [in] */ grfMode As DWord, 209 /* [in] */ reserved1 As DWord, 210 /* [in] */ reserved2 As DWord, 211 /* [out] */ ByRef pstg As *IStorage) As HRESULT 212 Function OpenStorage( 213 /* [string][unique][in] */ pwcsName As *OLECHAR, 214 /* [unique][in] */ pstgPriority As IStorage, 215 /* [in] */ grfMode As DWord, 216 /* [unique][in] */ snbExclude As SNB, 217 /* [in] */ reserved As DWord, 218 /* [out] */ ByRef pstg As *IStorage) As HRESULT 219 /* [local] */ Function CopyTo( 220 /* [in] */ ciidExclude As DWord, 221 /* [size_is][unique][in] */ ByRef rgiidExclude As * /*Const*/ IID, 222 /* [unique][in] */ snbExclude As SNB, 223 /* [unique][in] */ pstgDest As *IStorage) As HRESULT 224 Function MoveElementTo( 225 /* [string][in] */ pwcsName As *OLECHAR, 226 /* [unique][in] */ pstgDest As *IStorage, 227 /* [string][in] */ pwcsNewName As *OLECHAR, 228 /* [in] */ grfFlags As DWord) As HRESULT 229 Function Commit( 230 /* [in] */ grfCommitFlags As DWord) As HRESULT 231 Function Revert() As HRESULT 232 /* [local] */ Function EnumElements( 233 /* [in] */ reserved1 As DWord, 234 /* [size_is][unique][in] */ reserved2 As VoidPtr, 235 /* [in] */ reserved3 As DWord, 236 /* [out] */ ByRef penum As *IEnumSTATSTG) As HRESULT 237 Function DestroyElement( 238 /* [string][in] */ pwcsName As *OLECHAR) As HRESULT 239 Function RenameElement( 240 /* [string][in] */ pwcsOldName As *OLECHAR, 241 /* [string][in] */ pwcsNewName As *OLECHAR) As HRESULT 242 Function SetElementTimes( 243 /* [string][unique][in] */ pwcsName As *OLECHAR, 244 /* [unique][in] */ ByRef ctime As /*Const*/ FILETIME, 245 /* [unique][in] */ ByRef atime As /*Const*/ FILETIME, 246 /* [unique][in] */ ByRef mtime As /*Const*/ FILETIME) As HRESULT 247 Function SetClass( 248 /* [in] */ ByRef clsid As CLSID) As HRESULT 249 Function SetStateBits( 250 /* [in] */ grfStateBits As DWord, 251 /* [in] */ grfMask As DWord) As HRESULT 252 Function Stat( 253 /* [out] */ ByRef statstg As STATSTG, 254 /* [in] */ grfStatFlag As DWord) As HRESULT 255 End Interface 256 257 #endif /* __IStorage_INTERFACE_DEFINED__ */ 172 258 173 259 Interface IPersistFile … … 175 261 176 262 Function IsDirty() As HRESULT 177 178 263 Function Load( 179 264 /* [in] */ pszFileName As LPCOLESTR, 180 265 /* [in] */ dwMode As DWord) As HRESULT 181 182 266 Function Save( 183 267 /* [unique][in] */ pszFileName As LPCOLESTR, 184 268 /* [in] */ fRemember As BOOL) As HRESULT 185 186 269 Function SaveCompleted( 187 270 /* [unique][in] */ pszFileName As LPCOLESTR) As HRESULT 188 189 271 Function GetCurFile( 190 272 /* [out] */ ByRef pszFileName As LPOLESTR) As HRESULT
Note:
See TracChangeset
for help on using the changeset viewer.