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. |
|
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 |
|
|
|
|
|
|
Creates an instance of the IShellImageData interface based on a given file stream.
Type: IStream*
A pointer to the image stream.
Type: IShellImageData**
The address of a pointer to an instance of IShellImageData.
Type: HRESULT
Returns S_OK if successful, or an error value otherwise, including the following:
Return code | Description |
---|---|
|
The internal object cannot be instantiated. |
|
The internal object does not support the IShellImageData or IPersistFile interfaces. |
|
The ppshimg parameter is NULL. |
If pStream is NULL or an invalid pointer, later calls to Decode will cause an access violation.