Expand Minimize

ILayoutStorage interface

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.

When to implement

You do not need to implement this interface. A special implementation of Compound Files exposes ILayoutStorage on the root storage object.

When to use

Use ILayoutStorage to optimize your application's compound files.

Members

The ILayoutStorage interface inherits from the IUnknown interface. ILayoutStorage also has these types of members:

Methods

The ILayoutStorage interface has these methods.

MethodDescription
BeginMonitor

Monitors data access to a file.

(Inherited from ILayoutStorage)
EndMonitor

Ends monitoring of data access.

(Inherited from ILayoutStorage)
LayoutScript

Provides explicit layout instructions.

(Inherited from ILayoutStorage)
ReLayoutDocfile

Rewrites file using layout information.

(Inherited from ILayoutStorage)

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Objidl.h

IDL

Objidl.idl

Library

Uuid.lib

DLL

Ole32.dll

IID

IID_ILayoutStorage is defined as 0E6D4D90-6738-11CF-9608-00AA00680DB4

 

 

Community Additions

ADD
Show:
© 2014 Microsoft