Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
71a081ca
Commit
71a081ca
authored
Jan 29, 2002
by
Aric Stewart
Committed by
Alexandre Julliard
Jan 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some MAPI stubs.
parent
c2a5ebc9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
68 additions
and
8 deletions
+68
-8
mapi32.spec
dlls/mapi32/mapi32.spec
+6
-6
mapi32_main.c
dlls/mapi32/mapi32_main.c
+45
-1
Makefile.in
include/Makefile.in
+1
-0
mapi.h
include/mapi.h
+0
-1
mapicode.h
include/mapicode.h
+16
-0
No files found.
dlls/mapi32/mapi32.spec
View file @
71a081ca
...
...
@@ -3,7 +3,7 @@ type win32
import ntdll.dll
debug_channels
(
)
debug_channels
(mapi
)
@ stub BMAPIAddress
@ stub BMAPIDetails
...
...
@@ -94,7 +94,7 @@ debug_channels()
@ stub MAPIAddress
@ stub MAPIAdminProfiles
# @ stub MAPIAdminProfiles@8
@ st
ub
MAPIAllocateBuffer
@ st
dcall MAPIAllocateBuffer(long ptr)
MAPIAllocateBuffer
# @ stub MAPIAllocateBuffer@8
@ stub MAPIAllocateMore
# @ stub MAPIAllocateMore@12
...
...
@@ -106,11 +106,11 @@ debug_channels()
# @ stub MAPIFreeBuffer@4
@ stub MAPIGetDefaultMalloc@0
@ stub MAPIInitIdle@4
@ st
ub
MAPIInitialize
@ st
dcall MAPIInitialize(ptr)
MAPIInitialize
# @ stub MAPIInitialize@4
@ stub MAPILogoff
@ st
ub
MAPILogon
@ st
ub
MAPILogonEx
@ st
dcall MAPILogon(long ptr ptr long long ptr)
MAPILogon
@ st
dcall MAPILogonEx(long ptr ptr long ptr)
MAPILogonEx
# @ stub MAPILogonEx@20
@ stub MAPIOpenFormMgr
# @ stub MAPIOpenFormMgr@8
...
...
@@ -121,7 +121,7 @@ debug_channels()
@ stub MAPISaveMail
@ stub MAPISendDocuments
@ stub MAPISendMail
@ st
ub
MAPIUninitialize
@ st
dcall MAPIUninitialize()
MAPIUninitialize
# @ stub MAPIUninitialize@0
@ stub MNLS_CompareStringW@24
@ stub MNLS_IsBadStringPtrW@8
...
...
dlls/mapi32/mapi32_main.c
View file @
71a081ca
/* nothing here yet */
/*
* MAPI basics
*
* 2001 Codeweavers Inc.
*/
#include "windef.h"
#include "winerror.h"
#include "mapi.h"
#include "mapicode.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL
(
mapi
);
HRESULT
WINAPI
MAPIInitialize
(
LPVOID
lpMapiInit
)
{
ERR
(
"Stub
\n
"
);
return
MAPI_E_NOT_INITIALIZED
;
}
HRESULT
WINAPI
MAPIAllocateBuffer
(
ULONG
cvSize
,
LPVOID
*
lppBuffer
)
{
ERR
(
"Stub
\n
"
);
*
lppBuffer
=
NULL
;
return
MAPI_E_NOT_INITIALIZED
;
}
ULONG
WINAPI
MAPILogon
(
ULONG
ulUIParam
,
LPSTR
lpszProfileName
,
LPSTR
lpszPassword
,
FLAGS
flFlags
,
ULONG
ulReserver
,
LPLHANDLE
lplhSession
)
{
ERR
(
"Stub
\n
"
);
return
MAPI_E_FAILURE
;
}
HRESULT
WINAPI
MAPILogonEx
(
ULONG
ulUIParam
,
LPSTR
lpszProfileName
,
LPSTR
lpszPassword
,
FLAGS
flFlags
,
VOID
*
lppSession
)
{
ERR
(
"Stub
\n
"
);
return
MAPI_E_LOGON_FAILURE
;
}
VOID
WINAPI
MAPIUninitialize
()
{
ERR
(
"Stub
\n
"
);
}
include/Makefile.in
View file @
71a081ca
...
...
@@ -43,6 +43,7 @@ INSTALLED_INCLUDES = \
lmcons.h
\
lzexpand.h
\
mapi.h
\
mapicode.h
\
mapidefs.h
\
mciavi.h
\
mcx.h
\
...
...
include/mapi.h
View file @
71a081ca
...
...
@@ -7,7 +7,6 @@ extern "C" {
/* Some types */
typedef
unsigned
char
*
LPBYTE
;
#ifndef __LHANDLE
#define __LHANDLE
typedef
unsigned
long
LHANDLE
,
*
LPLHANDLE
;
...
...
include/mapicode.h
0 → 100644
View file @
71a081ca
/*
* status codes returned by MAPI
*/
#ifndef MAPICODE_H
#define MAPICODE_H
#define MAKE_MAPI_SCODE(sev,fac,code) \
( (((ULONG)(sev)<<31) | ((ULONG)(fac)<<16) | ((ULONG)(code))) )
#define MAKE_MAPI_E( err ) (MAKE_MAPI_SCODE(1, FACILITY_ITF, err ))
#define MAPI_E_NOT_INITIALIZED MAKE_MAPI_E( 0x605)
#endif
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