.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SHCreateStreamOnFileEx 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSHCreateStreamOnFileEx\fR (SHLWAPI.@) .SH SYNOPSIS HRESULT SHCreateStreamOnFileEx ( LPCWSTR \fIlpszPath\fR, DWORD \fIdwMode\fR, DWORD \fIdwAttributes\fR, BOOL \fIbCreate\fR, IStream* \fIlpTemplate\fR, IStream** \fIlppStream\fR ) .SH DESCRIPTION .PP Create a stream on a file. .SH PARAMS \fIlpszPath\fR \fB[In]\fR Path of file to create stream on. .PP \fIdwMode\fR \fB[In]\fR Mode to create stream in. .PP \fIdwAttributes\fR \fB[In]\fR Attributes of the file. .PP \fIbCreate\fR \fB[In]\fR Whether to create the file if it doesn't exist. .PP \fIlpTemplate\fR \fB[In]\fR Reserved, must be \fBNULL\fR. .PP \fIlppStream\fR \fB[Out]\fR Destination for created stream. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. \fIlppStream\fR contains the new stream object .PP \fBFailure:\fR \fBE_INVALIDARG\fR if any parameter is invalid, or an \fBHRESULT\fR error code. .SH NOTES .PP This function is available in Unicode only. .SH IMPLEMENTATION .PP Declared in \fB"shlwapi.h"\fR. .PP Implemented in \fB"dlls/shlwapi/istream.c"\fR. .PP Debug channel \fB"shell"\fR.