Using Win32 functions in Visual FoxPro Image Gallery
Simple MAPI
..msdn
MAPIAddress
MAPIFindNext
MAPIFreeBuffer
MAPILogoff
MAPILogon
MAPIReadMail
MAPIResolveName
MAPISendDocuments
MAPISendMail
Code examples:
How to read email messages using Simple MAPI
Open and close a Simple MAPI Session
Sending email messages with Simple MAPI
MAPILogoff
..msdn    Add comment     W32 Constants      Translate this page
The MAPILogoff function ends a session with the messaging system.
Code examples:
Sending email messages with Simple MAPI
How to read email messages using Simple MAPI
Open and close a Simple MAPI Session
Declaration:
ULONG FAR PASCAL MAPILogoff(
  LHANDLE lhSession,
  ULONG ulUIParam,
  FLAGS flFlags,
  ULONG ulReserved
)
FoxPro declaration:
DECLARE INTEGER MAPILogoff IN mapi32;
    INTEGER lhSession,;
    INTEGER ulUIParam,;
    INTEGER flFlags,;
    INTEGER ulReserved
Parameters:
lhSession
[in] Handle for the Simple MAPI session to be terminated. Session handles are returned by the MAPILogon function.

ulUIParam
[in] Parent window handle or zero, indicating that if a dialog box is displayed, it is application modal.

flFlags
Reserved; must be zero.

ulReserved
Reserved; must be zero.
Return value:
Returns SUCCESS_SUCCESS (0) if the call succeeded and the session was terminated; or a predefined MAPI_E_* value otherwise.
Usage:
hSession = 0

nResult = MAPILogon(0, "", "",;
    BITOR(MAPI_LOGON_UI, MAPI_NEW_SESSION),;
    0, @hSession)

* ...

= MAPILogoff(m.hSession, 0,0,0)

Word Index links for the MAPILogoff :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-11-13 18:48:36
Modified: 2007-06-11 22:09:11
Visited in last 7 days: 38
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.178.153)
13 sec.Function: 'AddClipboardFormatListener'
26 sec.Function: 'GetCompressedFileSize'
39 sec.Function: 'CreateFileMapping'
51 sec.Function: 'GetMonitorCapabilities'
1.05 min.Function: 'InternetOpenUrl'
1.27 min.Function: 'mmioSeek'
1.48 min.Function: 'listen'
1.7 min.Function: 'FindExecutable'
1.92 min.Function: 'CryptExportKey'
2.1 min.Function: 'GdipDeleteFont'
Google
Advertise here!