.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH StgCreateDocfile 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBStgCreateDocfile\fR (OLE32.@) .SH SYNOPSIS HRESULT StgCreateDocfile ( LPCOLESTR \fIpwcsName\fR, DWORD \fIgrfMode\fR, DWORD \fIreserved\fR, IStorage** \fIppstgOpen\fR ) .SH DESCRIPTION .PP Creates a new compound file storage object. .SH PARAMS \fIpwcsName\fR \fB[ I]\fR Unicode string with filename (can be relative or \fBNULL\fR) .PP \fIgrfMode\fR \fB[ I]\fR Access mode for opening the new storage object (see \fBSTGM_\fR constants) .PP \fIreserved\fR \fB[ ?]\fR unused?, usually \fB0\fR .PP \fIppstgOpen\fR \fB[IO]\fR A pointer to IStorage pointer to the new onject. .PP .SH RETURNS .PP \fBS_OK\fR if the file was successfully created some \fBSTG_E_\fR value if error. .SH NOTES .PP if \fIpwcsName\fR is \fBNULL\fR, create file with new unique name the function can returns \fBSTG_S_CONVERTED\fR if the specified file was successfully converted to storage format (unrealized now) .SH IMPLEMENTATION .PP Declared in \fB"objbase.h"\fR. .PP Implemented in \fB"dlls/ole32/storage32.c"\fR. .PP Debug channel \fB"storage"\fR.