Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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:
© 2014 Microsoft. All rights reserved.