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 |
|
|
DLL |
|