Skip to content

Latest commit

 

History

History
69 lines (58 loc) · 2.81 KB

nf-objidl-ilayoutstorage-relayoutdocfile.md

File metadata and controls

69 lines (58 loc) · 2.81 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:objidl.ILayoutStorage.ReLayoutDocfile
ILayoutStorage::ReLayoutDocfile (objidl.h)
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 interface [Structured Storage]
ReLayoutDocfile method
ILayoutStorage.ReLayoutDocfile
ILayoutStorage::ReLayoutDocfile
ReLayoutDocfile
ReLayoutDocfile method [Structured Storage]
ReLayoutDocfile method [Structured Storage]
ILayoutStorage interface
_stg_ilayoutstorage_relayoutdocfile
objidl/ILayoutStorage::ReLayoutDocfile
stg.ilayoutstorage_relayoutdocfile
stg\ilayoutstorage_relayoutdocfile.htm
Stg
5db3a26c-595a-4c9b-bb6d-b170eb9864df
12/05/2018
ILayoutStorage interface [Structured Storage],ReLayoutDocfile method, ILayoutStorage.ReLayoutDocfile, ILayoutStorage::ReLayoutDocfile, ReLayoutDocfile, ReLayoutDocfile method [Structured Storage], ReLayoutDocfile method [Structured Storage],ILayoutStorage interface, _stg_ilayoutstorage_relayoutdocfile, objidl/ILayoutStorage::ReLayoutDocfile, stg.ilayoutstorage_relayoutdocfile
objidl.h
Windows
Windows 2000 Professional [desktop apps \| UWP apps]
Windows 2000 Server [desktop apps \| UWP apps]
Objidl.idl
Uuid.lib
Ole32.dll
Windows
19H1
ILayoutStorage::ReLayoutDocfile
objidl/ILayoutStorage::ReLayoutDocfile
c++
APIRef
kbSyntax
COM
Ole32.dll
ILayoutStorage.ReLayoutDocfile

ILayoutStorage::ReLayoutDocfile

-description

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.

-parameters

-param pwcsNewDfName [in]

Pointer to the name of the compound file to be rewritten. This name must be a valid filename, distinct from the name of the original compound file. The original compound file will be optimized and written to the new pwcsNewDfName.

-returns

This function supports the standard return values E_OUTOFMEMORY, E_UNEXPECTED, E_INVALIDARG, and E_FAIL, as well as the following:

Return code Description
STG_E_INVALIDNAME The name passed to this function is not a valid file name.
STG_E_UNKNOWN The layout information has been corrupted and cannot be processed.