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
3481e803
Commit
3481e803
authored
Dec 13, 2000
by
François Gouget
Committed by
Alexandre Julliard
Dec 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added mapi.h with the definitions needed by the MFC.
parent
32eeb85c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
116 additions
and
0 deletions
+116
-0
Makefile.in
include/Makefile.in
+1
-0
mapi.h
include/mapi.h
+107
-0
mapidefs.h
include/mapidefs.h
+8
-0
No files found.
include/Makefile.in
View file @
3481e803
...
...
@@ -34,6 +34,7 @@ INSTALLED_INCLUDES = \
instance.h
\
lmcons.h
\
lzexpand.h
\
mapi.h
\
mapidefs.h
\
mcx.h
\
mmreg.h
\
...
...
include/mapi.h
0 → 100644
View file @
3481e803
#ifndef MAPI_H
#define MAPI_H
#ifdef __cplusplus
extern
"C"
{
#endif
/* Some types */
typedef
unsigned
char
*
LPBYTE
;
#ifndef __LHANDLE
#define __LHANDLE
typedef
unsigned
long
LHANDLE
,
*
LPLHANDLE
;
#endif
#define lhSessionNull ((LHANDLE)0)
typedef
unsigned
long
FLAGS
;
typedef
struct
{
ULONG
ulReserved
;
ULONG
flFlags
;
ULONG
nPosition
;
LPSTR
lpszPathName
;
LPSTR
lpszFileName
;
LPVOID
lpFileType
;
}
MapiFileDesc
,
*
lpMapiFileDesc
;
typedef
struct
{
ULONG
ulReserved
;
ULONG
ulRecipClass
;
LPSTR
lpszName
;
LPSTR
lpszAddress
;
ULONG
ulEIDSize
;
LPVOID
lpEntryID
;
}
MapiRecipDesc
,
*
lpMapiRecipDesc
;
typedef
struct
{
ULONG
ulReserved
;
LPSTR
lpszSubject
;
LPSTR
lpszNoteText
;
LPSTR
lpszMessageType
;
LPSTR
lpszDateReceived
;
LPSTR
lpszConversationID
;
FLAGS
flFlags
;
lpMapiRecipDesc
lpOriginator
;
ULONG
nRecipCount
;
lpMapiRecipDesc
lpRecips
;
ULONG
nFileCount
;
lpMapiFileDesc
lpFiles
;
}
MapiMessage
,
*
lpMapiMessage
;
/* Error codes */
#define SUCCESS_SUCCESS 0
#define MAPI_USER_ABORT 1
#define MAPI_E_USER_ABORT MAPI_USER_ABORT
#define MAPI_E_FAILURE 2
#define MAPI_E_LOGON_FAILURE 3
#define MAPI_E_LOGIN_FAILURE MAPI_E_LOGON_FAILURE
#define MAPI_E_DISK_FULL 4
#define MAPI_E_INSUFFICIENT_MEMORY 5
#define MAPI_E_ACCESS_DENIED 6
#define MAPI_E_TOO_MANY_SESSIONS 8
#define MAPI_E_TOO_MANY_FILES 9
#define MAPI_E_TOO_MANY_RECIPIENTS 10
#define MAPI_E_ATTACHMENT_NOT_FOUND 11
#define MAPI_E_ATTACHMENT_OPEN_FAILURE 12
#define MAPI_E_ATTACHMENT_WRITE_FAILURE 13
#define MAPI_E_UNKNOWN_RECIPIENT 14
#define MAPI_E_BAD_RECIPTYPE 15
#define MAPI_E_NO_MESSAGES 16
#define MAPI_E_INVALID_MESSAGE 17
#define MAPI_E_TEXT_TOO_LARGE 18
#define MAPI_E_INVALID_SESSION 19
#define MAPI_E_TYPE_NOT_SUPPORTED 20
#define MAPI_E_AMBIGUOUS_RECIPIENT 21
#define MAPI_E_AMBIG_RECIP MAPI_E_AMBIGUOUS_RECIPIENT
#define MAPI_E_MESSAGE_IN_USE 22
#define MAPI_E_NETWORK_FAILURE 23
#define MAPI_E_INVALID_EDITFIELDS 24
#define MAPI_E_INVALID_RECIPS 25
#define MAPI_E_NOT_SUPPORTED 26
/* MAPILogon */
#define MAPI_LOGON_UI 0x00000001
#define MAPI_PASSWORD_UI 0x00020000
#define MAPI_NEW_SESSION 0x00000002
#define MAPI_FORCE_DOWNLOAD 0x00001000
#define MAPI_EXTENDED 0x00000020
/* MAPISendMail */
#define MAPI_DIALOG 0x00000008
#ifdef __cplusplus
}
#endif
#endif
/* MAPI_H */
include/mapidefs.h
View file @
3481e803
...
...
@@ -3,6 +3,14 @@
#include "windef.h"
/* Some types */
typedef
unsigned
char
*
LPBYTE
;
#ifndef __LHANDLE
#define __LHANDLE
typedef
unsigned
long
LHANDLE
,
*
LPLHANDLE
;
#endif
#ifndef _tagCY_DEFINED
#define _tagCY_DEFINED
typedef
union
tagCY
...
...
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