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 |
|
|
Library |
|
|
DLL |
|
See also