ILayoutStorage::EndMonitor

Ends monitoring of a compound file. Must be preceded by a call to ILayoutStorage::BeginMonitor.

HRESULT EndMonitor(void);
 

Return Values

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.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in objidl.h.

See Also

ILayoutStorage::BeginMonitor, ILayoutStorage::ReLayoutDocfile