Design
xmapi.txt
Associated article: Examining Extended MAPI 1.0
Tags: Design
Published source code accompanying Les Thaler's article on The Extended Messaging Application Programming Interface 1.0 (not to be confused with the previous generation "Simple MAPI"). MAPI 1.0 was created to standardize the interfaces between messaging applications and the underlying messaging systems. Also see XMAPI.ZIP.
_Examining Extended MAPI 1.0_
by Les Thaler
Listing One
LPMAPISESSION pSession;
HRESULT hRes;
if (FAILED(hRes = MAPIInitialize(NULL)))
return hRes;
if (FAILED(hRes = MAPILogonEx((ULONG)hWnd,NULL,NULL,LOGON_FLAGS,&pSession)))
DoError();
// Call methods on session object to get other ...


