ILLoadFromStreamEx function

[ILLoadFromStreamEx(IStream*, PIDLIST_ABSOLUTE*) is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Loads an absolute ITEMIDLIST from an IStream.

Syntax

SHSTDAPI ILLoadFromStreamEx(
  IStream          *pstm,
  PIDLIST_RELATIVE *pidl
);

Parameters

pstm

Type: IStream*

A pointer to the IStream interface from which the absolute ITEMIDLIST loads.

pidl

Type: PIDLIST_ABSOLUTE*

When this method returns and succeeds, contains the resulting absolute ITEMIDLIST. If it fails, contains NULL.

Return Value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For use where STRICT_TYPED_ITEMIDS is defined.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)