.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SHCreateStreamWrapper 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSHCreateStreamWrapper\fR (SHLWAPI.@) .SH SYNOPSIS HRESULT SHCreateStreamWrapper ( LPBYTE \fIlpbData\fR, DWORD \fIdwDataLen\fR, DWORD \fIdwReserved\fR, IStream** \fIlppStream\fR ) .SH DESCRIPTION .PP Create an \fBIStream\fR object on a block of memory. .SH PARAMS \fIlpbData\fR \fB[In]\fR Memory block to create the \fBIStream\fR object on. .PP \fIdwDataLen\fR \fB[In]\fR Length of data block. .PP \fIdwReserved\fR \fB[In]\fR Reserved, Must be \fB0.\fR .PP \fIlppStream\fR \fB[Out]\fR Destination for \fBIStream\fR object. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. \fIlppStream\fR contains the new \fBIStream\fR object. .PP \fBFailure:\fR \fBE_INVALIDARG\fR, if any parameters are invalid, \fBE_OUTOFMEMORY\fR if memory allocation fails. .SH NOTES .PP The stream assumes ownership of the memory passed to it. .SH IMPLEMENTATION .PP Declared in \fB"shlwapi.h"\fR. .PP Implemented in \fB"dlls/shlwapi/regstream.c"\fR. .PP Debug channel \fB"shell"\fR.