Expand Minimize
This topic has not yet been rated - Rate this topic

ILSaveToStream function

Saves an ITEMIDLIST structure to a stream.

Syntax


HRESULT ILSaveToStream(
  _In_  IStream * pstm,
  _In_  PCUIDLIST_RELATIVE pidl
);

Parameters

pstm [in]

Type: IStream *

A pointer to the IStream interface where the ITEMIDLIST is saved.

pidl [in]

Type: PCUIDLIST_RELATIVE

A pointer to the ITEMIDLIST structure to be saved.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM error value otherwise.

Remarks

The stream must be opened for writing, or ILSaveToStream returns an error.

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

ILLoadFromStream

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.