Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ILayoutStorage interface enables an application to optimize the layout of its compound files for efficient downloading across a slow link. The goal is to enable a browser or other application to download data in the order in which it will actually be required.
To optimize a compound file, an application calls CopyTo to layout a docfile, thus improving performance in most scenarios.
Inheritance
The ILayoutStorage interface inherits from the IUnknown interface. ILayoutStorage also has these types of members:
Methods
The ILayoutStorage interface has these methods.
ILayoutStorage::BeginMonitor The BeginMonitor method is used to begin monitoring when a loading operation is started. When the operation is complete, the application must call ILayoutStorage::EndMonitor. |
ILayoutStorage::EndMonitor The EndMonitor method ends monitoring of a compound file. Must be preceded by a call to ILayoutStorage::BeginMonitor. |
ILayoutStorage::LayoutScript The LayoutScript method provides explicit directions for reordering the storages, streams, and controls in a compound file to match the order in which they are accessed during the download. |
ILayoutStorage::ReLayoutDocfile The ReLayoutDocfile method rewrites the compound file, using the layout script obtained through monitoring, or provided through explicit layout scripting, to create a new compound file. |
ILayoutStorage::ReLayoutDocfileOnILockBytes Is not implemented. If called, it returns STG_E_UNIMPLEMENTEDFUNCTION. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | objidl.h |