Win32-2.6.2.1: A binding to Windows Win32 API.
Copyright(c) Esa Ilari Vuokko 2006
LicenseBSD-style (see the file LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

System.Win32.SimpleMAPI

Description

FFI-bindings to interact with SimpleMAPI

Synopsis

Documentation

type ULONG = DWORD #

type LHANDLE = ULONG #

newtype MapiRecipDesc #

Constructors

MapiRecipDesc () 

mapiFail_ :: String -> IO ULONG -> IO () #

withMapiFuncs :: [String] -> (MapiFuncs -> IO a) -> IO a #

 

mapiLogon #

Arguments

:: MapiFuncs

Functions loaded from MAPI DLL

-> Maybe HWND

Parent window, used for modal logon dialog

-> Maybe String

Session

-> Maybe String

Password

-> MapiFlag

None, one or many flags: FORCE_DOWNLOAD, NEW_SESSION, LOGON_UI, PASSWORD_UI

-> IO LHANDLE 

Create Simple MAPI-session by logon

mapiLogoff :: MapiFuncs -> LHANDLE -> Maybe HWND -> IO () #

End Simple MAPI-session

data RecipientClass #

Constructors

RcOriginal 
RcTo 
RcCc 
RcBcc 

data Recipient #

Instances

Instances details
Show Recipient # 
Instance details

Defined in System.Win32.SimpleMAPI

data FileTag #

Constructors

FileTag 

Instances

Instances details
Show FileTag # 
Instance details

Defined in System.Win32.SimpleMAPI

withFileTag :: FileTag -> (Ptr FileTag -> IO a) -> IO a #

data Attachment #

Instances

Instances details
Show Attachment # 
Instance details

Defined in System.Win32.SimpleMAPI

handleIOException :: (IOException -> IO a) -> IO a -> IO a #