ReactOS  0.4.14-dev-50-g13bb5e2
util.h
Go to the documentation of this file.
1 /*
2  * MAPI utility header file
3  *
4  * Copyright 2009 Owen Rudge for CodeWeavers
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 
21 #ifndef _MAPI_UTIL_H
22 
23 #define _MAPI_UTIL_H
24 
25 #include <mapi.h>
26 #include <mapix.h>
27 
28 extern void load_mapi_providers(void) DECLSPEC_HIDDEN;
29 extern void unload_mapi_providers(void) DECLSPEC_HIDDEN;
30 
31 typedef struct MAPI_FUNCTIONS {
47 
64 
67 
68 #endif
LPMAPIDETAILS MAPIDetails
Definition: util.h:34
struct MAPI_FUNCTIONS MAPI_FUNCTIONS
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
MAPIADMINPROFILES MAPIAdminProfiles
Definition: mapix.h:111
LPMAPIADVISESINK LPSSortOrderSet
Definition: util.h:59
#define REFCLSID
Definition: guiddef.h:117
LPMAPIRESOLVENAME MAPIResolveName
Definition: util.h:41
BOOL WINAPI FGetComponentPath(LPCSTR component, LPCSTR qualifier, LPSTR dll_path, DWORD dll_path_length, BOOL install)
Definition: util.c:881
IMAPITable * LPMAPITABLE
Definition: mapidefs.h:840
LPMAPIADDRESS MAPIAddress
Definition: util.h:32
interface IStream * LPSTREAM
Definition: objfwd.h:10
LPPROFADMIN * SCODE(WINAPI *MAPIAllocateBuffer)(ULONG
lpMapiRecipDesc *typedef MAPIRESOLVENAME * LPMAPIRESOLVENAME
Definition: mapi.h:221
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
Definition: shsvcs.c:38
MAPISENDMAILW * LPMAPISENDMAILW
Definition: mapi.h:238
MAPIFREEBUFFER MAPIFreeBuffer
Definition: mapi.h:206
MAPILOGON * LPMAPILOGON
Definition: mapi.h:214
LPMAPILOGONEX MAPILogonEx
Definition: util.h:39
MAPI_FUNCTIONS mapiFunctions DECLSPEC_HIDDEN
Definition: util.h:66
LPPROFADMIN LPVOID LPVOID
Definition: util.h:54
LPVOID BOOL
Definition: util.h:51
LPMAPISENDDOCUMENTS MAPISendDocuments
Definition: util.h:45
LPMAPISENDMAIL MAPISendMail
Definition: util.h:43
LPMAPIREADMAIL MAPIReadMail
Definition: util.h:40
void unload_mapi_providers(void) DECLSPEC_HIDDEN
Definition: util.c:1136
struct IMAPIAdviseSink * LPMAPIADVISESINK
Definition: mapidefs.h:92
LPMAPIDELETEMAIL MAPIDeleteMail
Definition: util.h:33
LPMAPIUNINITIALIZE MAPIUninitialize
Definition: util.h:46
LPMALLOC(WINAPI *MAPIGetDefaultMalloc)(void)
DECLSPEC_HIDDEN HINSTANCE hInstMAPI32
Definition: mapi32_main.c:37
MAPISENDDOCUMENTS * LPMAPISENDDOCUMENTS
Definition: mapi.h:230
HRESULT WINAPI HrThisThreadAdviseSink(LPMAPIADVISESINK lpSink, LPMAPIADVISESINK *lppNewSink)
Definition: util.c:263
IProfAdmin * LPPROFADMIN
Definition: mapix.h:32
LPMAPIADVISESINK LONG
Definition: util.h:59
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_ RECTL _In_ ULONG _In_ ULONG ulReserved
Definition: winddi.h:4190
HRESULT WINAPI HrQueryAllRows(LPMAPITABLE lpTable, LPSPropTagArray lpPropTags, LPSRestriction lpRestriction, LPSSortOrderSet lpSortOrderSet, LONG crowsMax, LPSRowSet *lppRows)
Definition: util.c:934
HRESULT(WINAPI *DllCanUnloadNow)(void)
lpMapiRecipDesc *typedef MAPIADDRESS * LPMAPIADDRESS
Definition: mapi.h:186
ALLOCATEBUFFER * LPALLOCATEBUFFER
Definition: mapidefs.h:76
LPMAPISESSION *typedef MAPILOGONEX * LPMAPILOGONEX
Definition: mapix.h:89
#define WINAPI
Definition: msvc.h:8
MAPIALLOCATEMORE MAPIAllocateMore
Definition: mapix.h:100
HRESULT WINAPI MAPIOpenLocalFormContainer(LPVOID *ppfcnt)
Definition: mapi32_main.c:179
LPMAPISAVEMAIL MAPISaveMail
Definition: util.h:42
SCODE WINAPI ScInitMapiUtil(ULONG ulReserved)
Definition: util.c:68
LPMAPIFINDNEXT MAPIFindNext
Definition: util.h:35
LPMAPIADVISESINK LPSRowSet LPWSTR
Definition: util.h:60
LPMAPILOGON MAPILogon
Definition: util.h:38
MAPI_FUNCTIONS mapiFunctions
Definition: util.c:50
MAPIFINDNEXT * LPMAPIFINDNEXT
Definition: mapi.h:199
LPVOID LPCSTR
Definition: util.h:51
MAPIREADMAIL * LPMAPIREADMAIL
Definition: mapi.h:218
MAPIDELETEMAIL * LPMAPIDELETEMAIL
Definition: mapi.h:191
MAPIINITIALIZE * LPMAPIINITIALIZE
Definition: mapix.h:79
MAPISENDMAIL * LPMAPISENDMAIL
Definition: mapi.h:234
HRESULT WINAPI WrapCompressedRTFStream(LPSTREAM compressed, ULONG flags, LPSTREAM *uncompressed)
Definition: util.c:949
MAPISAVEMAIL * LPMAPISAVEMAIL
Definition: mapi.h:226
VOID(WINAPI *DeinitMapiUtil)(void)
MAPIALLOCATEBUFFER MAPIAllocateBuffer
Definition: mapix.h:96
MAPILOGOFF * LPMAPILOGOFF
Definition: mapi.h:210
LPVOID DWORD
Definition: util.h:51
LPMAPIADVISESINK LPSRestriction
Definition: util.h:59
LPMAPIADVISESINK LPSRowSet LPFREEBUFFER
Definition: util.h:60
VOID WINAPI DeinitMapiUtil(void)
Definition: util.c:94
LPMAPILOGOFF MAPILogoff
Definition: util.h:37
unsigned int ULONG
Definition: retypes.h:1
MAPIUNINITIALIZE * LPMAPIUNINITIALIZE
Definition: mapix.h:83
LPVOID LPSTR
Definition: util.h:51
HRESULT WINAPI DllCanUnloadNow(VOID)
Definition: shsvcs.c:33
LPMAPIINITIALIZE MAPIInitialize
Definition: util.h:36
LPMAPISENDMAILW MAPISendMailW
Definition: util.h:44
MAPIDETAILS * LPMAPIDETAILS
Definition: mapi.h:195
LPMAPIADVISESINK LPSPropTagArray
Definition: util.h:59
LPMALLOC WINAPI MAPIGetDefaultMalloc(void)
Definition: imalloc.c:62
void load_mapi_providers(void) DECLSPEC_HIDDEN
Definition: util.c:1024
HRESULT WINAPI OpenStreamOnFile(LPALLOCATEBUFFER lpAlloc, LPFREEBUFFER lpFree, ULONG ulFlags, LPWSTR lpszPath, LPWSTR lpszPrefix, LPSTREAM *lppStream)
Definition: util.c:713
LPMAPIADVISESINK LPSRowSet ULONG
Definition: util.h:60