Share via


ILLoadFromStreamEx(IStream*, PIDLIST_RELATIVE*) function

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

Loads an ITEMIDLIST from an IStream.

Syntax

HRESULT ILLoadFromStreamEx(
  _In_  IStream          *pstm,
  _Out_ PIDLIST_RELATIVE *pidl
);

Parameters

  • pstm [in]
    Type: IStream*

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

  • pidl [out]
    Type: PIDLIST_RELATIVE*

    When this method returns and succeeds, contains the resulting relative 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.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP with SP2

End of server support

Windows Server 2003

Header

Shlobj.h

DLL

Shell32.dll