IStream_Reset function (shlwapi.h)
Moves the seek position in a specified stream to the beginning of the stream.
Syntax
LWSTDAPI IStream_Reset(
[in] IStream *pstm
);
Parameters
[in] pstm
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server, Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
DLL | Shlwapi.dll (version 5.0 or later) |