mapi32_main.c 1.57 KB
Newer Older
Aric Stewart's avatar
Aric Stewart committed
1 2 3
/*
 *             MAPI basics
 *
4
 * Copyright 2001 CodeWeavers Inc.
5 6 7 8 9 10 11 12 13 14 15 16 17 18
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Aric Stewart's avatar
Aric Stewart committed
19 20
 */

21 22
#include <stdarg.h>

Aric Stewart's avatar
Aric Stewart committed
23
#include "windef.h"
24
#include "winbase.h"
Aric Stewart's avatar
Aric Stewart committed
25
#include "winerror.h"
26 27
#include "objbase.h"
#include "mapix.h"
28
#include "wine/debug.h"
Aric Stewart's avatar
Aric Stewart committed
29

30
WINE_DEFAULT_DEBUG_CHANNEL(mapi);
Aric Stewart's avatar
Aric Stewart committed
31 32 33 34 35 36 37 38 39 40 41

HRESULT WINAPI MAPIInitialize ( LPVOID lpMapiInit )
{
    ERR("Stub\n");
    return MAPI_E_NOT_INITIALIZED;
}

ULONG WINAPI MAPILogon(ULONG ulUIParam, LPSTR lpszProfileName, LPSTR
lpszPassword, FLAGS flFlags, ULONG ulReserver, LPLHANDLE lplhSession)
{
    ERR("Stub\n");
42
    return MAPI_E_LOGON_FAILED;
Aric Stewart's avatar
Aric Stewart committed
43 44
}

45 46 47
HRESULT WINAPI MAPILogonEx(ULONG_PTR ulUIParam, LPWSTR lpszProfileName,
                           LPWSTR lpszPassword, ULONG flFlags,
                           LPMAPISESSION *lppSession)
Aric Stewart's avatar
Aric Stewart committed
48 49
{
    ERR("Stub\n");
50
    return MAPI_E_LOGON_FAILED;
Aric Stewart's avatar
Aric Stewart committed
51 52
}

53 54 55 56
VOID WINAPI MAPIUninitialize(void)
{
    ERR("Stub\n");
}