StgCreateDocfile(3w)

NAME

StgCreateDocfile (OLE32.@)

SYNOPSIS

HRESULT StgCreateDocfile
 (
  LPCOLESTR  pwcsName,
  DWORD      grfMode,
  DWORD      reserved,
  IStorage** ppstgOpen
 )

DESCRIPTION

Creates a new compound file storage object.

PARAMS

pwcsName [ I] Unicode string with filename (can be relative or NULL)

grfMode [ I] Access mode for opening the new storage object (see STGM_ constants)

reserved [ ?] unused?, usually 0

ppstgOpen [IO] A pointer to IStorage pointer to the new onject.

RETURNS

S_OK if the file was successfully created some STG_E_ value if error.

NOTES

if pwcsName is NULL, create file with new unique name the function can returns STG_S_CONVERTED if the specified file was successfully converted to storage format (unrealized now)

IMPLEMENTATION

Defined in "objbase.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ole32/storage32.c".

Debug channel "storage".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout