ILayoutStorage::EndMonitor method

The EndMonitor method ends monitoring of a compound file. Must be preceded by a call to ILayoutStorage::BeginMonitor.

Syntax


HRESULT EndMonitor();

Parameters

This method has no parameters.

Return value

This function supports the standard return values E_OUTOFMEMORY, E_UNEXPECTED, E_INVALIDARG, and E_FAIL, as well as all return values for CloseHandle.

Remarks

A call to EndMonitor is generally followed by a call to ILayoutStorage::RelayoutDocfile, which uses the access pattern detected by the monitoring to restructure the compound file.

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

See also

ILayoutStorage::BeginMonitor
ILayoutStorage::ReLayoutDocfile

 

 

Show: