diff options
author | Luke Dunstan <infidel@users.sourceforge.net> | 2004-04-18 07:29:39 +0000 |
---|---|---|
committer | Luke Dunstan <infidel@users.sourceforge.net> | 2004-04-18 07:29:39 +0000 |
commit | a05a34ef1e31710fe8f84796a1ac2ba86ee784c2 (patch) | |
tree | 3e562408d4593be22490cf58a4efca24dd0f9551 /winsup/w32api/include/objbase.h | |
parent | 08ed58a0237aa6266ad332cc8168f80a495ae838 (diff) | |
download | cygnal-a05a34ef1e31710fe8f84796a1ac2ba86ee784c2.tar.gz cygnal-a05a34ef1e31710fe8f84796a1ac2ba86ee784c2.tar.bz2 cygnal-a05a34ef1e31710fe8f84796a1ac2ba86ee784c2.zip |
2004-01-09 Stuart Cunningham <stuart_hc@users.sourceforge.net>
* include/objbase.h (STGFMT): Declare enum.
(STGOPTIONS): Declare structure.
(StgCreateStorageEx, StgOpenStorageEx): Declare.
(STGOPTIONS_VERSION): Define.
* lib/ole32.def (StgCreateStorageEx, StgOpenStorageEx): Add stubs.
Diffstat (limited to 'winsup/w32api/include/objbase.h')
-rw-r--r-- | winsup/w32api/include/objbase.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/winsup/w32api/include/objbase.h b/winsup/w32api/include/objbase.h index 144d52dae..a18235e31 100644 --- a/winsup/w32api/include/objbase.h +++ b/winsup/w32api/include/objbase.h @@ -50,6 +50,19 @@ #define STG_LAYOUT_INTERLEAVED 1 #define COM_RIGHTS_EXECUTE 1 #define COM_RIGHTS_SAFE_FOR_SCRIPTING 2 +#define STGOPTIONS_VERSION 2 +typedef enum tagSTGFMT { + STGFMT_STORAGE = 0, + STGFMT_FILE = 3, + STGFMT_ANY = 4, + STGFMT_DOCFILE = 5 +} STGFMT; +typedef struct tagSTGOPTIONS { + USHORT usVersion; + USHORT reserved; + ULONG ulSectorSize; + const WCHAR pwcsTemplateFile; +} STGOPTIONS; typedef enum tagREGCLS { REGCLS_SINGLEUSE = 0, REGCLS_MULTIPLEUSE = 1, @@ -152,6 +165,8 @@ WINOLEAPI StgOpenStorageOnILockBytes(ILockBytes*,IStorage*,DWORD,SNB,DWORD,IStor WINOLEAPI StgIsStorageFile(const OLECHAR*); WINOLEAPI StgIsStorageILockBytes(ILockBytes*); WINOLEAPI StgSetTimes(OLECHAR const*,FILETIME const*,FILETIME const*,FILETIME const*); +WINOLEAPI StgCreateStorageEx(const WCHAR*,DWORD,DWORD,DWORD,STGOPTIONS*,void*,REFIID,void**); +WINOLEAPI StgOpenStorageEx(const WCHAR*,DWORD,DWORD,DWORD,STGOPTIONS*,void*,REFIID,void**); WINOLEAPI BindMoniker(LPMONIKER,DWORD,REFIID,PVOID*); WINOLEAPI CoGetObject(LPCWSTR,BIND_OPTS*,REFIID,void**); WINOLEAPI MkParseDisplayName(LPBC,LPCOLESTR,ULONG*,LPMONIKER*); |