Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
7a58c6ec
Commit
7a58c6ec
authored
Apr 30, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a stub for StgCreateStorageEx(). Returns
STG_E_UNIMPLEMENTEDFUNCTION as per MSDN. Fixes an error saving files in Word XP.
parent
07ddc60c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
ole32.spec
dlls/ole32/ole32.spec
+1
-1
storage32.c
dlls/ole32/storage32.c
+7
-0
objbase.h
include/objbase.h
+9
-0
No files found.
dlls/ole32/ole32.spec
View file @
7a58c6ec
...
...
@@ -233,7 +233,7 @@
@ stub SNB_UserUnmarshal
@ stdcall StgCreateDocfile(wstr long long ptr)
@ stdcall StgCreateDocfileOnILockBytes(ptr long long ptr)
@ st
ub StgCreateStorageEx
@ st
dcall StgCreateStorageEx(wstr long long long ptr ptr ptr ptr)
@ stub StgGetIFillLockBytesOnFile
@ stub StgGetIFillLockBytesOnILockBytes
@ stdcall StgIsStorageFile(wstr)
...
...
dlls/ole32/storage32.c
View file @
7a58c6ec
...
...
@@ -5536,6 +5536,13 @@ HRESULT WINAPI StgCreateDocfile(
return
hr
;
}
HRESULT
WINAPI
StgCreateStorageEx
(
const
WCHAR
*
pwcsName
,
DWORD
grfMode
,
DWORD
stgfmt
,
DWORD
grfAttrs
,
STGOPTIONS
*
pStgOptions
,
void
*
reserved
,
REFIID
riid
,
void
**
ppObjectOpen
)
{
TRACE
(
"(%s, %lx, %lx, %lx, %p, %p, %p, %p)
\n
"
,
debugstr_w
(
pwcsName
),
grfMode
,
stgfmt
,
grfAttrs
,
pStgOptions
,
reserved
,
riid
,
ppObjectOpen
);
return
STG_E_UNIMPLEMENTEDFUNCTION
;
}
/******************************************************************************
* StgOpenStorage [OLE32.@]
*/
...
...
include/objbase.h
View file @
7a58c6ec
...
...
@@ -495,7 +495,16 @@ HRESULT WINAPI GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot
#define STGM_NOSCRATCH 0x00100000
#define STGM_NOSNAPSHOT 0x00200000
typedef
struct
tagSTGOPTIONS
{
USHORT
usVersion
;
USHORT
reserved
;
ULONG
ulSectorSize
;
const
WCHAR
*
pwcsTemplateFile
;
}
STGOPTIONS
;
HRESULT
WINAPI
StgCreateDocfile
(
LPCOLESTR
pwcsName
,
DWORD
grfMode
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
HRESULT
WINAPI
StgCreateStorageEx
(
const
WCHAR
*
,
DWORD
,
DWORD
,
DWORD
,
STGOPTIONS
*
,
void
*
,
REFIID
,
void
**
);
HRESULT
WINAPI
StgIsStorageFile
(
LPCOLESTR
fn
);
HRESULT
WINAPI
StgIsStorageILockBytes
(
ILockBytes
*
plkbyt
);
HRESULT
WINAPI
StgOpenStorage
(
const
OLECHAR
*
pwcsName
,
IStorage
*
pstgPriority
,
DWORD
grfMode
,
SNB
snbExclude
,
DWORD
reserved
,
IStorage
**
ppstgOpen
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment