Commit 13a9c037 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

mapistub: Add new stubbed dll mapistub.dll.

parent 31cb9cfa
......@@ -15345,6 +15345,14 @@ dlls/mapi32/tests/Makefile: dlls/mapi32/tests/Makefile.in dlls/Maketest.rules"
ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/mapistub/Makefile"
test "x$enable_mapistub" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
mapistub"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
dlls/mapistub/Makefile: dlls/mapistub/Makefile.in dlls/Makedll.rules"
ac_config_files="$ac_config_files dlls/mapistub/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/mciavi32/Makefile"
test "x$enable_mciavi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
mciavi32"
......@@ -19056,6 +19064,7 @@ do
"dlls/lzexpand.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lzexpand.dll16/Makefile" ;;
"dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
"dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
"dlls/mapistub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapistub/Makefile" ;;
"dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
"dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
"dlls/mciqtz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciqtz32/Makefile" ;;
......
......@@ -2303,6 +2303,7 @@ WINE_CONFIG_MAKEFILE([dlls/lz32/tests/Makefile],[dlls/Maketest.rules],[dlls],[AL
WINE_CONFIG_MAKEFILE([dlls/lzexpand.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
WINE_CONFIG_MAKEFILE([dlls/mapi32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/mapi32/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
WINE_CONFIG_MAKEFILE([dlls/mapistub/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/mciavi32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/mcicda/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/mciqtz32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
......
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = mapistub.dll
IMPORTS = kernel32
C_SRCS = \
main.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
/*
* Copyright 2009 Louis Lenders
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(mapistub);
/*****************************************************
* DllMain
*/
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
switch(reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinst );
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
8 stub @
10 stdcall MAPILogonEx(long ptr ptr long ptr) mapi32.MAPILogonEx
11 stdcall MAPILogonEx@20(long ptr ptr long ptr) mapi32.MAPILogonEx
12 stdcall MAPIAllocateBuffer(long ptr) mapi32.MAPIAllocateBuffer
13 stdcall MAPIAllocateBuffer@8(long ptr) mapi32.MAPIAllocateBuffer
14 stdcall MAPIAllocateMore(long ptr ptr) mapi32.MAPIAllocateMore
15 stdcall MAPIAllocateMore@12(long ptr ptr) mapi32.MAPIAllocateMore
16 stdcall MAPIFreeBuffer(ptr) mapi32.MAPIFreeBuffer
17 stdcall MAPIFreeBuffer@4(ptr) mapi32.MAPIFreeBuffer
18 stdcall MAPIAdminProfiles(long ptr) mapi32.MAPIAdminProfiles
19 stdcall MAPIAdminProfiles@8(long ptr) mapi32.MAPIAdminProfiles
20 stdcall MAPIInitialize(ptr) mapi32.MAPIInitialize
21 stdcall MAPIInitialize@4(ptr) mapi32.MAPIInitialize
22 stdcall MAPIUninitialize() mapi32.MAPIUninitialize
23 stdcall MAPIUninitialize@0() mapi32.MAPIUninitialize
24 stub PRProviderInit
25 stub LAUNCHWIZARD
26 stub LaunchWizard@20
27 stub DllGetClassObject
28 stub DllCanUnloadNow
29 stub MAPIOpenFormMgr
30 stub MAPIOpenFormMgr@8
31 stdcall MAPIOpenLocalFormContainer(ptr) mapi32.MAPIOpenLocalFormContainer
32 stdcall MAPIOpenLocalFormContainer@4(ptr) mapi32.MAPIOpenLocalFormContainer
33 stdcall ScInitMapiUtil@4(long) mapi32.ScInitMapiUtil
34 stdcall DeinitMapiUtil@0() mapi32.DeinitMapiUtil
35 stub ScGenerateMuid@4
36 stub HrAllocAdviseSink@12
41 stdcall WrapProgress@20(ptr ptr ptr ptr ptr) mapi32.WrapProgress
42 stdcall HrThisThreadAdviseSink@8(ptr ptr) mapi32.HrThisThreadAdviseSink
43 stub ScBinFromHexBounded@12
44 stdcall FBinFromHex@8(ptr ptr) mapi32.FBinFromHex
45 stdcall HexFromBin@12(ptr long ptr) mapi32.HexFromBin
46 stub BuildDisplayTable@40
47 stdcall SwapPlong@8(ptr long) mapi32.SwapPlong
48 stdcall SwapPword@8(ptr long) mapi32.SwapPword
49 stub MAPIInitIdle@4
50 stub MAPIDeinitIdle@0
51 stub InstallFilterHook@4
52 stub FtgRegisterIdleRoutine@20
53 stub EnableIdleRoutine@8
54 stub DeregisterIdleRoutine@4
55 stub ChangeIdleRoutine@28
59 stdcall MAPIGetDefaultMalloc@0() mapi32.MAPIGetDefaultMalloc
60 stdcall CreateIProp@24(ptr ptr ptr ptr ptr ptr) mapi32.CreateIProp
61 stub CreateTable@36
62 stdcall MNLS_lstrlenW@4(wstr) mapi32.MNLS_lstrlenW
63 stdcall MNLS_lstrcmpW@8(wstr wstr) mapi32.MNLS_lstrcmpW
64 stdcall MNLS_lstrcpyW@8(ptr wstr) mapi32.MNLS_lstrcpyW
65 stdcall MNLS_CompareStringW@24(long wstr wstr) mapi32.MNLS_CompareStringW
66 stdcall MNLS_MultiByteToWideChar@24(long long str long ptr long) kernel32.MultiByteToWideChar
67 stdcall MNLS_WideCharToMultiByte@32(long long wstr long ptr long ptr ptr) kernel32.WideCharToMultiByte
68 stdcall MNLS_IsBadStringPtrW@8(ptr long) kernel32.IsBadStringPtrW
72 stdcall FEqualNames@8(ptr ptr) mapi32.FEqualNames
73 stub WrapStoreEntryID@24
74 stdcall IsBadBoundedStringPtr@8(ptr long) mapi32.IsBadBoundedStringPtr
75 stdcall HrQueryAllRows@24(ptr ptr ptr ptr long ptr) mapi32.HrQueryAllRows
76 stdcall PropCopyMore@16(ptr ptr ptr ptr) mapi32.PropCopyMore
77 stdcall UlPropSize@4(ptr) mapi32.UlPropSize
78 stdcall FPropContainsProp@12(ptr ptr long) mapi32.FPropContainsProp
79 stdcall FPropCompareProp@12(ptr long ptr) mapi32.FPropCompareProp
80 stdcall LPropCompareProp@8(ptr ptr) mapi32.LPropCompareProp
81 stub HrAddColumns@16
82 stub HrAddColumnsEx@20
121 stdcall -ret64 FtAddFt@16(double double) mapi32.MAPI32_FtAddFt
122 stub FtAdcFt@20
123 stdcall -ret64 FtSubFt@16(double double) mapi32.MAPI32_FtSubFt
124 stdcall -ret64 FtMulDw@12(long double) mapi32.MAPI32_FtMulDw
125 stdcall -ret64 FtMulDwDw@8(long long) mapi32.MAPI32_FtMulDwDw
126 stdcall -ret64 FtNegFt@8(double) mapi32.MAPI32_FtNegFt
127 stub FtDivFtBogus@20
128 stdcall UlAddRef@4(ptr) mapi32.UlAddRef
129 stdcall UlRelease@4(ptr) mapi32.UlRelease
130 stdcall SzFindCh@8(str long) shlwapi.StrChrA
131 stdcall SzFindLastCh@8(str str long) shlwapi.StrRChrA
132 stdcall SzFindSz@8(str str) shlwapi.StrStrA
133 stdcall UFromSz@4(str) mapi32.UFromSz
135 stdcall HrGetOneProp@12(ptr long ptr) mapi32.HrGetOneProp
136 stdcall HrSetOneProp@8(ptr ptr) mapi32.HrSetOneProp
137 stdcall FPropExists@8(ptr long) mapi32.FPropExists
138 stdcall PpropFindProp@12(ptr long long) mapi32.PpropFindProp
139 stdcall FreePadrlist@4(ptr) mapi32.FreePadrlist
140 stdcall FreeProws@4(ptr) mapi32.FreeProws
141 stub HrSzFromEntryID@12
142 stub HrEntryIDFromSz@12
143 stub HrComposeEID@28
144 stub HrDecomposeEID@28
145 stub HrComposeMsgID@24
146 stub HrDecomposeMsgID@24
147 stdcall OpenStreamOnFile@24(ptr ptr ptr ptr ptr ptr) mapi32.OpenStreamOnFile
148 stdcall OpenStreamOnFile(ptr ptr ptr ptr ptr ptr) mapi32.OpenStreamOnFile
149 stub OpenTnefStream@28
150 stub OpenTnefStream
151 stub OpenTnefStreamEx@32
152 stub OpenTnefStreamEx
153 stub GetTnefStreamCodepage@12
154 stub GetTnefStreamCodepage
155 stdcall UlFromSzHex@4(ptr) mapi32.UlFromSzHex
156 stub UNKOBJ_ScAllocate@12
157 stub UNKOBJ_ScAllocateMore@16
158 stub UNKOBJ_Free@8
159 stub UNKOBJ_FreeRows@8
160 stub UNKOBJ_ScCOAllocate@12
161 stub UNKOBJ_ScCOReallocate@12
162 stub UNKOBJ_COFree@8
163 stub UNKOBJ_ScSzFromIdsAlloc@20
164 stub ScCountNotifications@12
165 stub ScCopyNotifications@16
166 stub ScRelocNotifications@20
170 stdcall ScCountProps@12(long ptr ptr) mapi32.ScCountProps
171 stdcall ScCopyProps@16(long ptr ptr ptr) mapi32.ScCopyProps
172 stdcall ScRelocProps@20(long ptr ptr ptr ptr) mapi32.ScRelocProps
173 stdcall LpValFindProp@12(long long ptr) mapi32.LpValFindProp
174 stdcall ScDupPropset@16(long ptr ptr ptr) mapi32.ScDupPropset
175 stdcall FBadRglpszA@8(ptr long) mapi32.FBadRglpszA
176 stdcall FBadRglpszW@8(ptr long) mapi32.FBadRglpszW
177 stdcall FBadRowSet@4(ptr) mapi32.FBadRowSet
178 stub FBadRglpNameID@8
179 stdcall FBadPropTag@4(long) mapi32.FBadPropTag
180 stdcall FBadRow@4(ptr) mapi32.FBadRow
181 stdcall FBadProp@4(ptr) mapi32.FBadProp
182 stdcall FBadColumnSet@4(ptr) mapi32.FBadColumnSet
183 stub RTFSync@12
184 stub RTFSync
185 stub WrapCompressedRTFStream@12
186 stub WrapCompressedRTFStream
187 stub __ValidateParameters@8
188 stub __CPPValidateParameters@8
189 stub FBadSortOrderSet@4
190 stdcall FBadEntryList@4(ptr) mapi32.FBadEntryList
191 stub FBadRestriction@4
192 stub ScUNCFromLocalPath@12
193 stub ScLocalPathFromUNC@12
194 stub HrIStorageFromStream@16
195 stub HrValidateIPMSubtree@20
196 stub OpenIMsgSession@12
197 stub CloseIMsgSession@4
198 stub OpenIMsgOnIStg@44
199 stub SetAttribIMsgOnIStg@16
200 stub GetAttribIMsgOnIStg@12
201 stub MapStorageSCode@4
202 stub ScMAPIXFromCMC
203 stub ScMAPIXFromSMAPI
204 stub EncodeID@12
205 stub FDecodeID@12
206 stub CchOfEncoding@4
207 stdcall CbOfEncoded@4(ptr) mapi32.CbOfEncoded
208 stdcall MAPISendDocuments(ptr ptr ptr ptr long) mapi32.MAPISendDocuments
209 stdcall MAPILogon(long ptr ptr long long ptr) mapi32.MAPILogon
210 stdcall MAPILogoff(long long long long) mapi32.MAPILogoff
211 stdcall MAPISendMail(long long ptr long long) mapi32.MAPISendMail
212 stdcall MAPISaveMail(ptr ptr ptr long long ptr) mapi32.MAPISaveMail
213 stdcall MAPIReadMail(ptr ptr ptr long long ptr) mapi32.MAPIReadMail
214 stdcall MAPIFindNext(ptr ptr ptr ptr long long ptr) mapi32.MAPIFindNext
215 stdcall MAPIDeleteMail(ptr ptr ptr long long) mapi32.MAPIDeleteMail
217 stdcall MAPIAddress(ptr ptr ptr long ptr long long ptr long ptr ptr) mapi32.MAPIAddress
218 stdcall MAPIDetails(ptr ptr ptr long long) mapi32.MAPIDetails
219 stdcall MAPIResolveName(ptr ptr ptr long long ptr) mapi32.MAPIResolveName
220 stub BMAPISendMail
221 stub BMAPISaveMail
222 stub BMAPIReadMail
223 stub BMAPIGetReadMail
224 stub BMAPIFindNext
225 stub BMAPIAddress
226 stub BMAPIGetAddress
227 stub BMAPIDetails
228 stub BMAPIResolveName
229 stub cmc_act_on
230 stub cmc_free
231 stub cmc_list
232 stub cmc_logoff
233 stub cmc_logon
234 stub cmc_look_up
235 stdcall cmc_query_configuration( long long ptr ptr ) mapi32.cmc_query_configuration
236 stub cmc_read
237 stub cmc_send
238 stub cmc_send_documents
239 stub HrDispatchNotifications@4
241 stub HrValidateParameters@8
244 stub ScCreateConversationIndex@16
246 stub HrGetOmiProvidersFlags
247 stub HrGetOmiProvidersFlags@8
248 stub HrSetOmiProvidersFlagsInvalid
249 stub HrSetOmiProvidersFlagsInvalid@4
250 stub GetOutlookVersion
251 stub GetOutlookVersion@0
252 stub FixMAPI
253 stub FixMAPI@0
254 stdcall FGetComponentPath(str str ptr long long) mapi32.FGetComponentPath
255 stdcall FGetComponentPath@20(str str ptr long long) mapi32.FGetComponentPath
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment