Compartilhar via


IVsUIShellDocumentWindowMgr.SaveDocumentWindowPositions Method

Definition

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

public:
 int SaveDocumentWindowPositions(System::UInt32 dwReserved, Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream);
public:
 int SaveDocumentWindowPositions(unsigned int dwReserved, Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream);
int SaveDocumentWindowPositions(unsigned int dwReserved, Microsoft::VisualStudio::OLE::Interop::IStream const & pStream);
public int SaveDocumentWindowPositions (uint dwReserved, Microsoft.VisualStudio.OLE.Interop.IStream pStream);
abstract member SaveDocumentWindowPositions : uint32 * Microsoft.VisualStudio.OLE.Interop.IStream -> int
Public Function SaveDocumentWindowPositions (dwReserved As UInteger, pStream As IStream) As Integer

Parameters

dwReserved
UInt32

[in] Reserved for future use.

pStream
IStream

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

Applies to