ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

util.h
Go to the documentation of this file.
00001 /*
00002  *             MAPI utility header file
00003  *
00004  * Copyright 2009 Owen Rudge for CodeWeavers
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00019  */
00020 
00021 #ifndef _MAPI_UTIL_H
00022 
00023 #define _MAPI_UTIL_H
00024 
00025 #include <mapi.h>
00026 #include <mapix.h>
00027 
00028 extern void load_mapi_providers(void);
00029 extern void unload_mapi_providers(void);
00030 
00031 typedef struct MAPI_FUNCTIONS {
00032     LPMAPIADDRESS        MAPIAddress;
00033     LPMAPIDELETEMAIL     MAPIDeleteMail;
00034     LPMAPIDETAILS        MAPIDetails;
00035     LPMAPIFINDNEXT       MAPIFindNext;
00036     LPMAPIINITIALIZE     MAPIInitialize;
00037     LPMAPILOGOFF         MAPILogoff;
00038     LPMAPILOGON          MAPILogon;
00039     LPMAPILOGONEX        MAPILogonEx;
00040     LPMAPIREADMAIL       MAPIReadMail;
00041     LPMAPIRESOLVENAME    MAPIResolveName;
00042     LPMAPISAVEMAIL       MAPISaveMail;
00043     LPMAPISENDMAIL       MAPISendMail;
00044     LPMAPISENDDOCUMENTS  MAPISendDocuments;
00045     LPMAPIUNINITIALIZE   MAPIUninitialize;
00046 
00047     VOID     (WINAPI *DeinitMapiUtil)             (void);
00048     HRESULT  (WINAPI *DllCanUnloadNow)            (void);
00049     HRESULT  (WINAPI *DllGetClassObject)          (REFCLSID, REFIID, LPVOID *);
00050     BOOL     (WINAPI *FGetComponentPath)          (LPCSTR, LPCSTR, LPSTR, DWORD, BOOL);
00051     HRESULT  (WINAPI *MAPIAdminProfiles)          (ULONG, LPPROFADMIN *);
00052     SCODE    (WINAPI *MAPIAllocateBuffer)         (ULONG, LPVOID *);
00053     SCODE    (WINAPI *MAPIAllocateMore)           (ULONG, LPVOID, LPVOID *);
00054     ULONG    (WINAPI *MAPIFreeBuffer)             (LPVOID);
00055     LPMALLOC (WINAPI *MAPIGetDefaultMalloc)       (void);
00056     HRESULT  (WINAPI *MAPIOpenLocalFormContainer) (LPVOID *);
00057     HRESULT  (WINAPI *HrThisThreadAdviseSink)     (LPMAPIADVISESINK, LPMAPIADVISESINK*);
00058     HRESULT  (WINAPI *HrQueryAllRows)             (LPMAPITABLE, LPSPropTagArray, LPSRestriction, LPSSortOrderSet, LONG, LPSRowSet *);
00059     HRESULT  (WINAPI *OpenStreamOnFile)           (LPALLOCATEBUFFER, LPFREEBUFFER, ULONG, LPWSTR, LPWSTR, LPSTREAM *);
00060     SCODE    (WINAPI *ScInitMapiUtil)             (ULONG ulReserved);
00061 } MAPI_FUNCTIONS;
00062 
00063 extern MAPI_FUNCTIONS mapiFunctions;
00064 extern HINSTANCE hInstMAPI32;
00065 
00066 #endif

Generated on Sun May 27 2012 04:24:38 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.