blob: 23b46b4b4fff5e90c89c9c810c42507fb89e1342 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
#include "MAPISession.h"
static LPMAPISESSION MAPISession_mapiSession = NULL;
/**
* Returns the current mapi session which have been created using the
* MAPILogonEx function.
*
* @return The current mapi session which have been created using the
* MAPILogonEx function. NULL if no session is currently opened.
*/
LPMAPISESSION MAPISession_getMapiSession(void)
{
return MAPISession_mapiSession;
}
/**
* Sets the current mapi session which have been created using the
* MAPILogonEx function.
*
* @param mapiSession The current mapi session which have been created using the
* MAPILogonEx function.
*/
void MAPISession_setMapiSession(LPMAPISESSION mapiSession)
{
MAPISession_mapiSession = mapiSession;
}
|