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

IStream_Reset function

Moves the seek position in a specified stream to the beginning of the stream.

Syntax


HRESULT IStream_Reset(
  _In_  IStream *pstm
);

Parameters

pstm [in]

Type: IStream*

A pointer to the IStream interface of the stream whose position is to be reset.

Return value

Type: HRESULT

Returns S_OK on success or a COM failure code otherwise. See IStream::Seek for further discussion of possible error codes.

Remarks

This function calls IStream::Seek to move the stream's seek position to the beginning of the stream.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server, Windows Server 2003 [desktop apps only]

Header

Shlwapi.h

DLL

Shlwapi.dll (version 5.0 or later)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.