IPhotoAcquireItem::GetStream method (photoacquire.h)

The GetStream method retrieves a read-only stream containing the contents of an item.

Syntax

HRESULT GetStream(
  [out] IStream **ppStream
);

Parameters

[out] ppStream

Returns a stream object with the file contents.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

IPhotoAcquireItem Interface