Export (0) Print
Expand All
Expand Minimize

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft