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
cc4a6693
Commit
cc4a6693
authored
Sep 30, 2009
by
Owen Rudge
Committed by
Alexandre Julliard
Oct 01, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapi32: Pass DllGetClassObject through to Extended MAPI provider.
parent
ce4d4909
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
mapi32_main.c
dlls/mapi32/mapi32_main.c
+10
-1
util.c
dlls/mapi32/util.c
+2
-0
util.h
dlls/mapi32/util.h
+2
-0
No files found.
dlls/mapi32/mapi32_main.c
View file @
cc4a6693
...
...
@@ -61,8 +61,17 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
iid
,
LPVOID
*
ppv
)
{
*
ppv
=
NULL
;
if
(
mapiFunctions
.
DllGetClassObject
)
{
HRESULT
ret
=
mapiFunctions
.
DllGetClassObject
(
rclsid
,
iid
,
ppv
);
TRACE
(
"ret: %x
\n
"
,
ret
);
return
ret
;
}
FIXME
(
"
\n\t
CLSID:
\t
%s,
\n\t
IID:
\t
%s
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
iid
));
*
ppv
=
NULL
;
return
CLASS_E_CLASSNOTAVAILABLE
;
}
...
...
dlls/mapi32/util.c
View file @
cc4a6693
...
...
@@ -1056,6 +1056,8 @@ void load_mapi_providers(void)
mapiFunctions
.
MAPIInitialize
=
(
void
*
)
GetProcAddress
(
mapi_ex_provider
,
"MAPIInitialize"
);
mapiFunctions
.
MAPILogonEx
=
(
void
*
)
GetProcAddress
(
mapi_ex_provider
,
"MAPILogonEx"
);
mapiFunctions
.
MAPIUninitialize
=
(
void
*
)
GetProcAddress
(
mapi_ex_provider
,
"MAPIUninitialize"
);
mapiFunctions
.
DllGetClassObject
=
(
void
*
)
GetProcAddress
(
mapi_ex_provider
,
"DllGetClassObject"
);
}
cleanUp:
...
...
dlls/mapi32/util.h
View file @
cc4a6693
...
...
@@ -43,6 +43,8 @@ typedef struct MAPI_FUNCTIONS {
LPMAPISENDMAIL
MAPISendMail
;
LPMAPISENDDOCUMENTS
MAPISendDocuments
;
LPMAPIUNINITIALIZE
MAPIUninitialize
;
HRESULT
(
WINAPI
*
DllGetClassObject
)(
REFCLSID
,
REFIID
,
LPVOID
*
);
}
MAPI_FUNCTIONS
;
extern
MAPI_FUNCTIONS
mapiFunctions
;
...
...
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