IProjectStorage::OpenItem

 

Gets a stream for the item named bstrItemName.

Syntax

HRESULT OpenItem( BSTR bstrItemName, VARIANT_BOOL fWriteAccess, IStream **ppItemStream);

Parameters

bstrItemName

[in] The item to open or create.

fWriteAccess

[in] VARIANT_TRUE to create a new item; VARIANT_FALSE to open an existing item.

ppItemStream

[out] The IStream for the item.

Return Value

One of the standard HRESULT values.

Requirements

Type Library

VstaCore.tlb

Header

VstaCore.h

See Also

IProjectStorage Interface