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

IStream_ReadStr function

Reads from a stream and writes into a string.

Syntax


HRESULT IStream_ReadStr(
  _In_   IStream *pstm,
  _Out_  PWSTR *ppsz
);

Parameters

pstm [in]

Type: IStream*

A pointer to the stream from which to read.

ppsz [out]

Type: PWSTR*

A pointer to the null-terminated, Unicode string into which the stream is written.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shlwapi.h

DLL

Shlwapi.dll

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.