This topic has not yet been rated - Rate this topic

IStream_WriteStr function

Reads from a string and writes into a stream.

Syntax


HRESULT IStream_WriteStr(
  _In_  IStream *pstm,
  _In_  PCWSTR psz
);

Parameters

pstm [in]

Type: IStream*

A pointer to the stream in which to write.

psz [in]

Type: PCWSTR

A pointer to a null-terminated, Unicode string from which to read.

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.