Export (0) Print
Expand All

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft