Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function SaveDocumentWindowPositions ( _
dwReserved As UInteger, _
pStream As IStream _
) As Integer
int SaveDocumentWindowPositions(
uint dwReserved,
IStream pStream
)
int SaveDocumentWindowPositions(
[InAttribute] unsigned int dwReserved,
[InAttribute] IStream^ pStream
)
abstract SaveDocumentWindowPositions :
dwReserved:uint32 *
pStream:IStream -> int
function SaveDocumentWindowPositions(
dwReserved : uint,
pStream : IStream
) : int
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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUIShellDocumentWindowMgr::SaveDocumentWindowPositions(
[in] DWORD dwReserved,
[in] IStream * pStream
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.