ReactOS 0.4.15-dev-8231-g29a56f3
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
28extern void load_mapi_providers(void) DECLSPEC_HIDDEN;
30
31typedef struct MAPI_FUNCTIONS {
47
64
67
68#endif
HRESULT WINAPI DllCanUnloadNow(void)
Definition: misc.cpp:173
LONG SCODE
Definition: compat.h:2252
LPMALLOC WINAPI MAPIGetDefaultMalloc(void)
Definition: imalloc.c:62
HRESULT WINAPI WrapCompressedRTFStream(LPSTREAM compressed, ULONG flags, LPSTREAM *uncompressed)
Definition: util.c:948
HRESULT WINAPI HrQueryAllRows(LPMAPITABLE lpTable, LPSPropTagArray lpPropTags, LPSRestriction lpRestriction, LPSSortOrderSet lpSortOrderSet, LONG crowsMax, LPSRowSet *lppRows)
Definition: util.c:933
BOOL WINAPI FGetComponentPath(LPCSTR component, LPCSTR qualifier, LPSTR dll_path, DWORD dll_path_length, BOOL install)
Definition: util.c:880
SCODE WINAPI ScInitMapiUtil(ULONG ulReserved)
Definition: util.c:67
MAPI_FUNCTIONS mapiFunctions
Definition: util.c:49
HRESULT WINAPI HrThisThreadAdviseSink(LPMAPIADVISESINK lpSink, LPMAPIADVISESINK *lppNewSink)
Definition: util.c:262
HRESULT WINAPI OpenStreamOnFile(LPALLOCATEBUFFER lpAlloc, LPFREEBUFFER lpFree, ULONG ulFlags, LPWSTR lpszPath, LPWSTR lpszPrefix, LPSTREAM *lppStream)
Definition: util.c:712
VOID WINAPI DeinitMapiUtil(void)
Definition: util.c:93
MAPI_FUNCTIONS mapiFunctions DECLSPEC_HIDDEN
Definition: util.h:66
void load_mapi_providers(void) DECLSPEC_HIDDEN
Definition: util.c:1023
void unload_mapi_providers(void) DECLSPEC_HIDDEN
Definition: util.c:1135
DECLSPEC_HIDDEN HINSTANCE hInstMAPI32
Definition: mapi32_main.c:37
HRESULT WINAPI MAPIOpenLocalFormContainer(LPVOID *ppfcnt)
Definition: mapi32_main.c:179
MAPIFINDNEXT * LPMAPIFINDNEXT
Definition: mapi.h:199
MAPIDELETEMAIL * LPMAPIDELETEMAIL
Definition: mapi.h:191
lpMapiRecipDesc *typedef MAPIRESOLVENAME * LPMAPIRESOLVENAME
Definition: mapi.h:222
MAPISENDMAILW * LPMAPISENDMAILW
Definition: mapi.h:238
MAPIDETAILS * LPMAPIDETAILS
Definition: mapi.h:195
MAPISENDMAIL * LPMAPISENDMAIL
Definition: mapi.h:234
MAPIREADMAIL * LPMAPIREADMAIL
Definition: mapi.h:218
lpMapiRecipDesc *typedef MAPIADDRESS * LPMAPIADDRESS
Definition: mapi.h:187
MAPILOGON * LPMAPILOGON
Definition: mapi.h:214
MAPISAVEMAIL * LPMAPISAVEMAIL
Definition: mapi.h:226
MAPILOGOFF * LPMAPILOGOFF
Definition: mapi.h:210
MAPISENDDOCUMENTS * LPMAPISENDDOCUMENTS
Definition: mapi.h:230
MAPIFREEBUFFER MAPIFreeBuffer
Definition: mapi.h:206
struct IMAPIAdviseSink * LPMAPIADVISESINK
Definition: mapidefs.h:92
IMAPITable * LPMAPITABLE
Definition: mapidefs.h:840
ALLOCATEBUFFER * LPALLOCATEBUFFER
Definition: mapidefs.h:76
MAPIUNINITIALIZE * LPMAPIUNINITIALIZE
Definition: mapix.h:83
MAPIALLOCATEBUFFER MAPIAllocateBuffer
Definition: mapix.h:96
MAPIALLOCATEMORE MAPIAllocateMore
Definition: mapix.h:100
IProfAdmin * LPPROFADMIN
Definition: mapix.h:32
MAPIADMINPROFILES MAPIAdminProfiles
Definition: mapix.h:111
MAPIINITIALIZE * LPMAPIINITIALIZE
Definition: mapix.h:79
LPMAPISESSION *typedef MAPILOGONEX * LPMAPILOGONEX
Definition: mapix.h:91
interface IStream * LPSTREAM
Definition: objfwd.h:10
#define REFCLSID
Definition: guiddef.h:117
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
Definition: shsvcs.c:38
LPVOID LPCSTR
Definition: util.h:51
LPMAPILOGOFF MAPILogoff
Definition: util.h:37
LPMAPILOGON MAPILogon
Definition: util.h:38
LPMAPISENDMAIL MAPISendMail
Definition: util.h:43
LPMAPILOGONEX MAPILogonEx
Definition: util.h:39
HRESULT(WINAPI *MAPIOpenLocalFormContainer)(LPVOID *)
LPPROFADMIN LPVOID LPVOID * ULONG(WINAPI *MAPIFreeBuffer)(LPVOID)
LPMAPIADVISESINK LPSPropTagArray
Definition: util.h:59
LPMAPIDELETEMAIL MAPIDeleteMail
Definition: util.h:33
LPMAPISENDDOCUMENTS MAPISendDocuments
Definition: util.h:45
HRESULT(WINAPI *WrapCompressedRTFStream)(LPSTREAM
LPMAPIINITIALIZE MAPIInitialize
Definition: util.h:36
LPMAPIADVISESINK * HRESULT(WINAPI *HrQueryAllRows)(LPMAPITABLE
LPMAPIADVISESINK LPSRowSet * HRESULT(WINAPI *OpenStreamOnFile)(LPALLOCATEBUFFER
VOID(WINAPI *DeinitMapiUtil)(void)
LPVOID LPSTR
Definition: util.h:51
LPMAPIADVISESINK LPSRowSet LPWSTR
Definition: util.h:60
LPPROFADMIN * SCODE(WINAPI *MAPIAllocateBuffer)(ULONG
LPMAPIADVISESINK LPSRowSet LPSTREAM * SCODE(WINAPI *ScInitMapiUtil)(ULONG ulReserved)
LPMAPISAVEMAIL MAPISaveMail
Definition: util.h:42
LPMAPIFINDNEXT MAPIFindNext
Definition: util.h:35
LPPROFADMIN LPVOID LPVOID
Definition: util.h:54
HRESULT(WINAPI *DllCanUnloadNow)(void)
LPMAPIRESOLVENAME MAPIResolveName
Definition: util.h:41
HRESULT(WINAPI *MAPIAdminProfiles)(ULONG
LPMAPIREADMAIL MAPIReadMail
Definition: util.h:40
LPMAPIADDRESS MAPIAddress
Definition: util.h:32
LPMAPIUNINITIALIZE MAPIUninitialize
Definition: util.h:46
LPMAPIADVISESINK LPSRestriction
Definition: util.h:59
LPMAPIADVISESINK LPSSortOrderSet
Definition: util.h:59
HRESULT(WINAPI *DllGetClassObject)(REFCLSID
HRESULT(WINAPI *HrThisThreadAdviseSink)(LPMAPIADVISESINK
LPMAPISENDMAILW MAPISendMailW
Definition: util.h:44
LPMALLOC(WINAPI *MAPIGetDefaultMalloc)(void)
LPVOID BOOL
Definition: util.h:51
LPMAPIADVISESINK LPSRowSet ULONG
Definition: util.h:60
LPMAPIADVISESINK LPSRowSet LPFREEBUFFER
Definition: util.h:60
LPVOID DWORD
Definition: util.h:51
LPMAPIDETAILS MAPIDetails
Definition: util.h:34
LPMAPIADVISESINK LONG
Definition: util.h:59
uint32_t ULONG
Definition: typedefs.h:59
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_ RECTL _In_ ULONG _In_ ULONG ulReserved
Definition: winddi.h:4196
#define WINAPI
Definition: msvc.h:6