Skip to content

Latest commit

 

History

History
117 lines (97 loc) · 3.7 KB

nf-shimgdata-ishellimagedatafactory-createimagefromstream.md

File metadata and controls

117 lines (97 loc) · 3.7 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shimgdata.IShellImageDataFactory.CreateImageFromStream
IShellImageDataFactory::CreateImageFromStream (shimgdata.h)
Creates an instance of the IShellImageData interface based on a given file stream.
CreateImageFromStream
CreateImageFromStream method [Windows Shell]
CreateImageFromStream method [Windows Shell]
IShellImageDataFactory interface
IShellImageDataFactory interface [Windows Shell]
CreateImageFromStream method
IShellImageDataFactory.CreateImageFromStream
IShellImageDataFactory::CreateImageFromStream
_shell_IShellImageDataFactory_CreateImageFromStream
shell.IShellImageDataFactory_CreateImageFromStream
shimgdata/IShellImageDataFactory::CreateImageFromStream
shell\IShellImageDataFactory_CreateImageFromStream.htm
shell
009c4b46-0f2c-43ee-84be-017bf12b28e5
12/05/2018
CreateImageFromStream, CreateImageFromStream method [Windows Shell], CreateImageFromStream method [Windows Shell],IShellImageDataFactory interface, IShellImageDataFactory interface [Windows Shell],CreateImageFromStream method, IShellImageDataFactory.CreateImageFromStream, IShellImageDataFactory::CreateImageFromStream, _shell_IShellImageDataFactory_CreateImageFromStream, shell.IShellImageDataFactory_CreateImageFromStream, shimgdata/IShellImageDataFactory::CreateImageFromStream
shimgdata.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Shimgdata.idl
Shell32.dll
Windows
19H1
IShellImageDataFactory::CreateImageFromStream
shimgdata/IShellImageDataFactory::CreateImageFromStream
c++
APIRef
kbSyntax
COM
Shell32.dll
IShellImageDataFactory.CreateImageFromStream

IShellImageDataFactory::CreateImageFromStream

-description

Creates an instance of the IShellImageData interface based on a given file stream.

-parameters

-param pStream [in]

Type: IStream*

A pointer to the image stream.

-param ppshimg [out]

Type: IShellImageData**

The address of a pointer to an instance of IShellImageData.

-returns

Type: HRESULT

Returns S_OK if successful, or an error value otherwise, including the following:

Return code Description
E_OUTOFMEMORY
The internal object cannot be instantiated.
E_NOINTERFACE
The internal object does not support the IShellImageData or IPersistFile interfaces.
E_POINTER
The ppshimg parameter is NULL.

-remarks

If pStream is NULL or an invalid pointer, later calls to Decode will cause an access violation.