IVsUIShellDocumentWindowMgr::SaveDocumentWindowPositions Method (UInt32, IStream^)

 

Saves the window positions and guidEditorType/pszPhysicalView for each open document window into a stream.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int SaveDocumentWindowPositions(
	unsigned int dwReserved,
	IStream^ pStream
)

Parameters

dwReserved
Type: System::UInt32

[in] Reserved for future use.

pStream
Type: Microsoft.VisualStudio.OLE.Interop::IStream^

[in] A pointer to an object of type IStream.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsUIShellDocumentWindowMgr::SaveDocumentWindowPositions(
   [in] DWORD dwReserved, 
   [in] IStream * pStream
);
Return to top
Show: