Click or drag to resize

Ole32FuncStgOpenStorage Method

Opens an existing structured storage object.

Namespace: Altaxo.UnmanagedApi.Ole32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static int StgOpenStorage(
	string pwcsName,
	IStorage? pstgPriority,
	STGM grfmode,
	IntPtr snbExclude,
	uint researved,
	out IStorage ppstgOpen
)

Parameters

pwcsName  String
The path of the storage object to open.
pstgPriority  IStorage
A priority storage object, or .
grfmode  STGM
The access mode to use when opening the storage.
snbExclude  IntPtr
A block of names to exclude, or Zero.
researved  UInt32
Reserved. Must be zero.
ppstgOpen  IStorage
When this method returns, contains the opened storage object.

Return Value

Int32
The HRESULT returned by OLE.
See Also