Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reads from a string and writes into a stream.
Syntax
LWSTDAPI IStream_WriteStr(
[in] IStream *pstm,
[in] PCWSTR psz
);
Parameters
[in] pstm
Type: IStream*
A pointer to the stream in which to write.
[in] psz
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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | shlwapi.h |
| DLL | Shlwapi.dll |