Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ILLoadFromStream function

[This function is available through Windows XP Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows.]

Deprecated. Loads an ITEMIDLIST structure from a stream.

Syntax


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

Parameters

pstm [in]

Type: IStream*

A pointer that indicates the IStream interface that the ITEMIDLIST loads from.

pidl [out]

Type: PIDLIST_RELATIVE*

Address of a pointer to an ITEMIDLIST structure. ILLoadFromStream allocates the necessary memory for the structure, and assigns the address to this parameter.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM error-code otherwise.

Remarks

When you are finished with the ITEMIDLIST structure, you must free it by calling ILFree.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

See also

ILSaveToStream

 

 

Community Additions

ADD
Show:
© 2015 Microsoft