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
ce2bd9eb
Commit
ce2bd9eb
authored
Oct 17, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapi32: Forward WrapCompressedRTFStream to the registered provider, if any.
parent
7879326f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
mapi32.spec
dlls/mapi32/mapi32.spec
+2
-2
util.c
dlls/mapi32/util.c
+13
-0
util.h
dlls/mapi32/util.h
+1
-0
No files found.
dlls/mapi32/mapi32.spec
View file @
ce2bd9eb
...
...
@@ -122,8 +122,8 @@
182 stdcall FBadColumnSet@4(ptr) FBadColumnSet
183 stub RTFSync@12
184 stub RTFSync
185 st
ub WrapCompressedRTFStream@12
186 st
ub WrapCompressedRTFStream
185 st
dcall WrapCompressedRTFStream@12(ptr long ptr) WrapCompressedRTFStream
186 st
dcall WrapCompressedRTFStream(ptr long ptr)
187 stub __ValidateParameters@8
188 stub __CPPValidateParameters@8
189 stub FBadSortOrderSet@4
...
...
dlls/mapi32/util.c
View file @
ce2bd9eb
...
...
@@ -935,6 +935,18 @@ HRESULT WINAPI HrQueryAllRows(LPMAPITABLE lpTable, LPSPropTagArray lpPropTags,
return
MAPI_E_CALL_FAILED
;
}
/**************************************************************************
* WrapCompressedRTFStream (MAPI32.186)
*/
HRESULT
WINAPI
WrapCompressedRTFStream
(
LPSTREAM
compressed
,
ULONG
flags
,
LPSTREAM
*
uncompressed
)
{
if
(
mapiFunctions
.
WrapCompressedRTFStream
)
return
mapiFunctions
.
WrapCompressedRTFStream
(
compressed
,
flags
,
uncompressed
);
FIXME
(
"(%p, 0x%08x, %p): stub
\n
"
,
compressed
,
flags
,
uncompressed
);
return
MAPI_E_NO_SUPPORT
;
}
static
HMODULE
mapi_provider
;
static
HMODULE
mapi_ex_provider
;
...
...
@@ -1099,6 +1111,7 @@ void load_mapi_providers(void)
mapiFunctions
.
MAPIOpenLocalFormContainer
=
(
void
*
)
GetProcAddress
(
mapi_ex_provider
,
"MAPIOpenLocalFormContainer"
);
mapiFunctions
.
OpenStreamOnFile
=
(
void
*
)
GetProcAddress
(
mapi_ex_provider
,
"OpenStreamOnFile@24"
);
mapiFunctions
.
ScInitMapiUtil
=
(
void
*
)
GetProcAddress
(
mapi_ex_provider
,
"ScInitMapiUtil@4"
);
mapiFunctions
.
WrapCompressedRTFStream
=
(
void
*
)
GetProcAddress
(
mapi_ex_provider
,
"WrapCompressedRTFStream@12"
);
}
cleanUp:
...
...
dlls/mapi32/util.h
View file @
ce2bd9eb
...
...
@@ -59,6 +59,7 @@ typedef struct MAPI_FUNCTIONS {
HRESULT
(
WINAPI
*
HrQueryAllRows
)
(
LPMAPITABLE
,
LPSPropTagArray
,
LPSRestriction
,
LPSSortOrderSet
,
LONG
,
LPSRowSet
*
);
HRESULT
(
WINAPI
*
OpenStreamOnFile
)
(
LPALLOCATEBUFFER
,
LPFREEBUFFER
,
ULONG
,
LPWSTR
,
LPWSTR
,
LPSTREAM
*
);
SCODE
(
WINAPI
*
ScInitMapiUtil
)
(
ULONG
ulReserved
);
HRESULT
(
WINAPI
*
WrapCompressedRTFStream
)
(
LPSTREAM
,
ULONG
,
LPSTREAM
*
);
}
MAPI_FUNCTIONS
;
extern
MAPI_FUNCTIONS
mapiFunctions
DECLSPEC_HIDDEN
;
...
...
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