# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.





from sys import version_info
if version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_MAPICore', [dirname(__file__)])
        except ImportError:
            import _MAPICore
            return _MAPICore
        if fp is not None:
            try:
                _mod = imp.load_module('_MAPICore', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _MAPICore = swig_import_helper()
    del swig_import_helper
else:
    import _MAPICore
del version_info
try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.


def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr_nondynamic(self, class_type, name, static=1):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    if (not static):
        return object.__getattr__(self, name)
    else:
        raise AttributeError(name)

def _swig_getattr(self, class_type, name):
    return _swig_getattr_nondynamic(self, class_type, name, 0)


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object:
        pass
    _newclass = 0


try:
    import weakref
    weakref_proxy = weakref.proxy
except:
    weakref_proxy = lambda x: x


class SwigPyIterator(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _MAPICore.delete_SwigPyIterator
    __del__ = lambda self: None

    def value(self):
        return _MAPICore.SwigPyIterator_value(self)

    def incr(self, n=1):
        return _MAPICore.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        return _MAPICore.SwigPyIterator_decr(self, n)

    def distance(self, x):
        return _MAPICore.SwigPyIterator_distance(self, x)

    def equal(self, x):
        return _MAPICore.SwigPyIterator_equal(self, x)

    def copy(self):
        return _MAPICore.SwigPyIterator_copy(self)

    def next(self):
        return _MAPICore.SwigPyIterator_next(self)

    def __next__(self):
        return _MAPICore.SwigPyIterator___next__(self)

    def previous(self):
        return _MAPICore.SwigPyIterator_previous(self)

    def advance(self, n):
        return _MAPICore.SwigPyIterator_advance(self, n)

    def __eq__(self, x):
        return _MAPICore.SwigPyIterator___eq__(self, x)

    def __ne__(self, x):
        return _MAPICore.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n):
        return _MAPICore.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n):
        return _MAPICore.SwigPyIterator___isub__(self, n)

    def __add__(self, n):
        return _MAPICore.SwigPyIterator___add__(self, n)

    def __sub__(self, *args):
        return _MAPICore.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self
SwigPyIterator_swigregister = _MAPICore.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)


def MAPIInitialize_Multithreaded():
    return _MAPICore.MAPIInitialize_Multithreaded()
MAPIInitialize_Multithreaded = _MAPICore.MAPIInitialize_Multithreaded
class IUnknown(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, IUnknown, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, IUnknown, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def QueryInterface(self, USE_IID_FOR_OUTPUT):
        return _MAPICore.IUnknown_QueryInterface(self, USE_IID_FOR_OUTPUT)
    __swig_destroy__ = _MAPICore.delete_IUnknown
    __del__ = lambda self: None
IUnknown_swigregister = _MAPICore.IUnknown_swigregister
IUnknown_swigregister(IUnknown)


_MAPICore.STGM_DIRECT_swigconstant(_MAPICore)
STGM_DIRECT = _MAPICore.STGM_DIRECT

_MAPICore.STGM_TRANSACTED_swigconstant(_MAPICore)
STGM_TRANSACTED = _MAPICore.STGM_TRANSACTED

_MAPICore.STGM_SIMPLE_swigconstant(_MAPICore)
STGM_SIMPLE = _MAPICore.STGM_SIMPLE

_MAPICore.STGM_READ_swigconstant(_MAPICore)
STGM_READ = _MAPICore.STGM_READ

_MAPICore.STGM_WRITE_swigconstant(_MAPICore)
STGM_WRITE = _MAPICore.STGM_WRITE

_MAPICore.STGM_READWRITE_swigconstant(_MAPICore)
STGM_READWRITE = _MAPICore.STGM_READWRITE

_MAPICore.STGM_SHARE_DENY_NONE_swigconstant(_MAPICore)
STGM_SHARE_DENY_NONE = _MAPICore.STGM_SHARE_DENY_NONE

_MAPICore.STGM_SHARE_DENY_READ_swigconstant(_MAPICore)
STGM_SHARE_DENY_READ = _MAPICore.STGM_SHARE_DENY_READ

_MAPICore.STGM_SHARE_DENY_WRITE_swigconstant(_MAPICore)
STGM_SHARE_DENY_WRITE = _MAPICore.STGM_SHARE_DENY_WRITE

_MAPICore.STGM_SHARE_EXCLUSIVE_swigconstant(_MAPICore)
STGM_SHARE_EXCLUSIVE = _MAPICore.STGM_SHARE_EXCLUSIVE

_MAPICore.STGM_PRIORITY_swigconstant(_MAPICore)
STGM_PRIORITY = _MAPICore.STGM_PRIORITY

_MAPICore.STGM_DELETEONRELEASE_swigconstant(_MAPICore)
STGM_DELETEONRELEASE = _MAPICore.STGM_DELETEONRELEASE

_MAPICore.STGM_NOSCRATCH_swigconstant(_MAPICore)
STGM_NOSCRATCH = _MAPICore.STGM_NOSCRATCH

_MAPICore.STGM_CREATE_swigconstant(_MAPICore)
STGM_CREATE = _MAPICore.STGM_CREATE

_MAPICore.STGM_CONVERT_swigconstant(_MAPICore)
STGM_CONVERT = _MAPICore.STGM_CONVERT

_MAPICore.STGM_FAILIFTHERE_swigconstant(_MAPICore)
STGM_FAILIFTHERE = _MAPICore.STGM_FAILIFTHERE

_MAPICore.STGM_NOSNAPSHOT_swigconstant(_MAPICore)
STGM_NOSNAPSHOT = _MAPICore.STGM_NOSNAPSHOT

_MAPICore.STGM_DIRECT_SWMR_swigconstant(_MAPICore)
STGM_DIRECT_SWMR = _MAPICore.STGM_DIRECT_SWMR

_MAPICore.STGTY_STORAGE_swigconstant(_MAPICore)
STGTY_STORAGE = _MAPICore.STGTY_STORAGE

_MAPICore.STGTY_STREAM_swigconstant(_MAPICore)
STGTY_STREAM = _MAPICore.STGTY_STREAM

_MAPICore.STGTY_LOCKBYTES_swigconstant(_MAPICore)
STGTY_LOCKBYTES = _MAPICore.STGTY_LOCKBYTES

_MAPICore.STGTY_PROPERTY_swigconstant(_MAPICore)
STGTY_PROPERTY = _MAPICore.STGTY_PROPERTY

_MAPICore.STREAM_SEEK_SET_swigconstant(_MAPICore)
STREAM_SEEK_SET = _MAPICore.STREAM_SEEK_SET

_MAPICore.STREAM_SEEK_CUR_swigconstant(_MAPICore)
STREAM_SEEK_CUR = _MAPICore.STREAM_SEEK_CUR

_MAPICore.STREAM_SEEK_END_swigconstant(_MAPICore)
STREAM_SEEK_END = _MAPICore.STREAM_SEEK_END

_MAPICore.LOCK_WRITE_swigconstant(_MAPICore)
LOCK_WRITE = _MAPICore.LOCK_WRITE

_MAPICore.LOCK_EXCLUSIVE_swigconstant(_MAPICore)
LOCK_EXCLUSIVE = _MAPICore.LOCK_EXCLUSIVE

_MAPICore.LOCK_ONLYONCE_swigconstant(_MAPICore)
LOCK_ONLYONCE = _MAPICore.LOCK_ONLYONCE

_MAPICore.STATFLAG_DEFAULT_swigconstant(_MAPICore)
STATFLAG_DEFAULT = _MAPICore.STATFLAG_DEFAULT

_MAPICore.STATFLAG_NONAME_swigconstant(_MAPICore)
STATFLAG_NONAME = _MAPICore.STATFLAG_NONAME

_MAPICore.STATFLAG_NOOPEN_swigconstant(_MAPICore)
STATFLAG_NOOPEN = _MAPICore.STATFLAG_NOOPEN
class ISequentialStream(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ISequentialStream, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, ISequentialStream, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def Write(self, pv):
        return _MAPICore.ISequentialStream_Write(self, pv)

    def Read(self, cb):
        return _MAPICore.ISequentialStream_Read(self, cb)
    __swig_destroy__ = _MAPICore.delete_ISequentialStream
    __del__ = lambda self: None
ISequentialStream_swigregister = _MAPICore.ISequentialStream_swigregister
ISequentialStream_swigregister(ISequentialStream)

class IStream(ISequentialStream):
    __swig_setmethods__ = {}
    for _s in [ISequentialStream]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IStream, name, value)
    __swig_getmethods__ = {}
    for _s in [ISequentialStream]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IStream, name)
    __repr__ = _swig_repr

    def Seek(self, dlibMove, dwOrigin):
        return _MAPICore.IStream_Seek(self, dlibMove, dwOrigin)

    def SetSize(self, libNewSize):
        return _MAPICore.IStream_SetSize(self, libNewSize)

    def CopyTo(self, pstm, cb):
        return _MAPICore.IStream_CopyTo(self, pstm, cb)

    def Commit(self, grfCommitFlags):
        return _MAPICore.IStream_Commit(self, grfCommitFlags)

    def Revert(self):
        return _MAPICore.IStream_Revert(self)

    def LockRegion(self, libOffset, cb, dwLockType):
        return _MAPICore.IStream_LockRegion(self, libOffset, cb, dwLockType)

    def UnlockRegion(self, libOffset, cb, dwLockType):
        return _MAPICore.IStream_UnlockRegion(self, libOffset, cb, dwLockType)

    def Stat(self, grfStatFlag):
        return _MAPICore.IStream_Stat(self, grfStatFlag)

    def Clone(self):
        return _MAPICore.IStream_Clone(self)

    def __init__(self):
        this = _MAPICore.new_IStream()
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_IStream
    __del__ = lambda self: None
IStream_swigregister = _MAPICore.IStream_swigregister
IStream_swigregister(IStream)


_MAPICore.MAPI_MODIFY_swigconstant(_MAPICore)
MAPI_MODIFY = _MAPICore.MAPI_MODIFY

_MAPICore.MAPI_ACCESS_MODIFY_swigconstant(_MAPICore)
MAPI_ACCESS_MODIFY = _MAPICore.MAPI_ACCESS_MODIFY

_MAPICore.MAPI_ACCESS_READ_swigconstant(_MAPICore)
MAPI_ACCESS_READ = _MAPICore.MAPI_ACCESS_READ

_MAPICore.MAPI_ACCESS_DELETE_swigconstant(_MAPICore)
MAPI_ACCESS_DELETE = _MAPICore.MAPI_ACCESS_DELETE

_MAPICore.MAPI_ACCESS_CREATE_HIERARCHY_swigconstant(_MAPICore)
MAPI_ACCESS_CREATE_HIERARCHY = _MAPICore.MAPI_ACCESS_CREATE_HIERARCHY

_MAPICore.MAPI_ACCESS_CREATE_CONTENTS_swigconstant(_MAPICore)
MAPI_ACCESS_CREATE_CONTENTS = _MAPICore.MAPI_ACCESS_CREATE_CONTENTS

_MAPICore.MAPI_ACCESS_CREATE_ASSOCIATED_swigconstant(_MAPICore)
MAPI_ACCESS_CREATE_ASSOCIATED = _MAPICore.MAPI_ACCESS_CREATE_ASSOCIATED

_MAPICore.MAPI_UNICODE_swigconstant(_MAPICore)
MAPI_UNICODE = _MAPICore.MAPI_UNICODE

_MAPICore.hrSuccess_swigconstant(_MAPICore)
hrSuccess = _MAPICore.hrSuccess

_MAPICore.MAPI_SHORTTERM_swigconstant(_MAPICore)
MAPI_SHORTTERM = _MAPICore.MAPI_SHORTTERM

_MAPICore.MAPI_NOTRECIP_swigconstant(_MAPICore)
MAPI_NOTRECIP = _MAPICore.MAPI_NOTRECIP

_MAPICore.MAPI_THISSESSION_swigconstant(_MAPICore)
MAPI_THISSESSION = _MAPICore.MAPI_THISSESSION

_MAPICore.MAPI_NOW_swigconstant(_MAPICore)
MAPI_NOW = _MAPICore.MAPI_NOW

_MAPICore.MAPI_NOTRESERVED_swigconstant(_MAPICore)
MAPI_NOTRESERVED = _MAPICore.MAPI_NOTRESERVED

_MAPICore.MAPI_COMPOUND_swigconstant(_MAPICore)
MAPI_COMPOUND = _MAPICore.MAPI_COMPOUND

_MAPICore.MAPI_ONE_OFF_UNICODE_swigconstant(_MAPICore)
MAPI_ONE_OFF_UNICODE = _MAPICore.MAPI_ONE_OFF_UNICODE

_MAPICore.MAPI_ONE_OFF_NO_RICH_INFO_swigconstant(_MAPICore)
MAPI_ONE_OFF_NO_RICH_INFO = _MAPICore.MAPI_ONE_OFF_NO_RICH_INFO

_MAPICore.MAPI_STORE_swigconstant(_MAPICore)
MAPI_STORE = _MAPICore.MAPI_STORE

_MAPICore.MAPI_ADDRBOOK_swigconstant(_MAPICore)
MAPI_ADDRBOOK = _MAPICore.MAPI_ADDRBOOK

_MAPICore.MAPI_FOLDER_swigconstant(_MAPICore)
MAPI_FOLDER = _MAPICore.MAPI_FOLDER

_MAPICore.MAPI_ABCONT_swigconstant(_MAPICore)
MAPI_ABCONT = _MAPICore.MAPI_ABCONT

_MAPICore.MAPI_MESSAGE_swigconstant(_MAPICore)
MAPI_MESSAGE = _MAPICore.MAPI_MESSAGE

_MAPICore.MAPI_MAILUSER_swigconstant(_MAPICore)
MAPI_MAILUSER = _MAPICore.MAPI_MAILUSER

_MAPICore.MAPI_ATTACH_swigconstant(_MAPICore)
MAPI_ATTACH = _MAPICore.MAPI_ATTACH

_MAPICore.MAPI_DISTLIST_swigconstant(_MAPICore)
MAPI_DISTLIST = _MAPICore.MAPI_DISTLIST

_MAPICore.MAPI_PROFSECT_swigconstant(_MAPICore)
MAPI_PROFSECT = _MAPICore.MAPI_PROFSECT

_MAPICore.MAPI_STATUS_swigconstant(_MAPICore)
MAPI_STATUS = _MAPICore.MAPI_STATUS

_MAPICore.MAPI_SESSION_swigconstant(_MAPICore)
MAPI_SESSION = _MAPICore.MAPI_SESSION

_MAPICore.MAPI_FORMINFO_swigconstant(_MAPICore)
MAPI_FORMINFO = _MAPICore.MAPI_FORMINFO

_MAPICore.MV_FLAG_swigconstant(_MAPICore)
MV_FLAG = _MAPICore.MV_FLAG

_MAPICore.PT_UNSPECIFIED_swigconstant(_MAPICore)
PT_UNSPECIFIED = _MAPICore.PT_UNSPECIFIED

_MAPICore.PT_NULL_swigconstant(_MAPICore)
PT_NULL = _MAPICore.PT_NULL

_MAPICore.PT_SHORT_swigconstant(_MAPICore)
PT_SHORT = _MAPICore.PT_SHORT

_MAPICore.PT_LONG_swigconstant(_MAPICore)
PT_LONG = _MAPICore.PT_LONG

_MAPICore.PT_FLOAT_swigconstant(_MAPICore)
PT_FLOAT = _MAPICore.PT_FLOAT

_MAPICore.PT_DOUBLE_swigconstant(_MAPICore)
PT_DOUBLE = _MAPICore.PT_DOUBLE

_MAPICore.PT_CURRENCY_swigconstant(_MAPICore)
PT_CURRENCY = _MAPICore.PT_CURRENCY

_MAPICore.PT_APPTIME_swigconstant(_MAPICore)
PT_APPTIME = _MAPICore.PT_APPTIME

_MAPICore.PT_ERROR_swigconstant(_MAPICore)
PT_ERROR = _MAPICore.PT_ERROR

_MAPICore.PT_BOOLEAN_swigconstant(_MAPICore)
PT_BOOLEAN = _MAPICore.PT_BOOLEAN

_MAPICore.PT_OBJECT_swigconstant(_MAPICore)
PT_OBJECT = _MAPICore.PT_OBJECT

_MAPICore.PT_LONGLONG_swigconstant(_MAPICore)
PT_LONGLONG = _MAPICore.PT_LONGLONG

_MAPICore.PT_STRING8_swigconstant(_MAPICore)
PT_STRING8 = _MAPICore.PT_STRING8

_MAPICore.PT_UNICODE_swigconstant(_MAPICore)
PT_UNICODE = _MAPICore.PT_UNICODE

_MAPICore.PT_SYSTIME_swigconstant(_MAPICore)
PT_SYSTIME = _MAPICore.PT_SYSTIME

_MAPICore.PT_CLSID_swigconstant(_MAPICore)
PT_CLSID = _MAPICore.PT_CLSID

_MAPICore.PT_BINARY_swigconstant(_MAPICore)
PT_BINARY = _MAPICore.PT_BINARY

_MAPICore.PT_I2_swigconstant(_MAPICore)
PT_I2 = _MAPICore.PT_I2

_MAPICore.PT_I4_swigconstant(_MAPICore)
PT_I4 = _MAPICore.PT_I4

_MAPICore.PT_R4_swigconstant(_MAPICore)
PT_R4 = _MAPICore.PT_R4

_MAPICore.PT_R8_swigconstant(_MAPICore)
PT_R8 = _MAPICore.PT_R8

_MAPICore.PT_I8_swigconstant(_MAPICore)
PT_I8 = _MAPICore.PT_I8

_MAPICore.PT_MV_SHORT_swigconstant(_MAPICore)
PT_MV_SHORT = _MAPICore.PT_MV_SHORT

_MAPICore.PT_MV_LONG_swigconstant(_MAPICore)
PT_MV_LONG = _MAPICore.PT_MV_LONG

_MAPICore.PT_MV_FLOAT_swigconstant(_MAPICore)
PT_MV_FLOAT = _MAPICore.PT_MV_FLOAT

_MAPICore.PT_MV_DOUBLE_swigconstant(_MAPICore)
PT_MV_DOUBLE = _MAPICore.PT_MV_DOUBLE

_MAPICore.PT_MV_CURRENCY_swigconstant(_MAPICore)
PT_MV_CURRENCY = _MAPICore.PT_MV_CURRENCY

_MAPICore.PT_MV_APPTIME_swigconstant(_MAPICore)
PT_MV_APPTIME = _MAPICore.PT_MV_APPTIME

_MAPICore.PT_MV_SYSTIME_swigconstant(_MAPICore)
PT_MV_SYSTIME = _MAPICore.PT_MV_SYSTIME

_MAPICore.PT_MV_STRING8_swigconstant(_MAPICore)
PT_MV_STRING8 = _MAPICore.PT_MV_STRING8

_MAPICore.PT_MV_BINARY_swigconstant(_MAPICore)
PT_MV_BINARY = _MAPICore.PT_MV_BINARY

_MAPICore.PT_MV_UNICODE_swigconstant(_MAPICore)
PT_MV_UNICODE = _MAPICore.PT_MV_UNICODE

_MAPICore.PT_MV_CLSID_swigconstant(_MAPICore)
PT_MV_CLSID = _MAPICore.PT_MV_CLSID

_MAPICore.PT_MV_LONGLONG_swigconstant(_MAPICore)
PT_MV_LONGLONG = _MAPICore.PT_MV_LONGLONG

_MAPICore.PT_MV_I2_swigconstant(_MAPICore)
PT_MV_I2 = _MAPICore.PT_MV_I2

_MAPICore.PT_MV_I4_swigconstant(_MAPICore)
PT_MV_I4 = _MAPICore.PT_MV_I4

_MAPICore.PT_MV_R4_swigconstant(_MAPICore)
PT_MV_R4 = _MAPICore.PT_MV_R4

_MAPICore.PT_MV_R8_swigconstant(_MAPICore)
PT_MV_R8 = _MAPICore.PT_MV_R8

_MAPICore.PT_MV_I8_swigconstant(_MAPICore)
PT_MV_I8 = _MAPICore.PT_MV_I8

_MAPICore.MV_INSTANCE_swigconstant(_MAPICore)
MV_INSTANCE = _MAPICore.MV_INSTANCE

_MAPICore.MVI_FLAG_swigconstant(_MAPICore)
MVI_FLAG = _MAPICore.MVI_FLAG

_MAPICore.MAPI_ERROR_VERSION_swigconstant(_MAPICore)
MAPI_ERROR_VERSION = _MAPICore.MAPI_ERROR_VERSION

_MAPICore.KEEP_OPEN_READONLY_swigconstant(_MAPICore)
KEEP_OPEN_READONLY = _MAPICore.KEEP_OPEN_READONLY

_MAPICore.KEEP_OPEN_READWRITE_swigconstant(_MAPICore)
KEEP_OPEN_READWRITE = _MAPICore.KEEP_OPEN_READWRITE

_MAPICore.FORCE_SAVE_swigconstant(_MAPICore)
FORCE_SAVE = _MAPICore.FORCE_SAVE

_MAPICore.MAPI_CREATE_swigconstant(_MAPICore)
MAPI_CREATE = _MAPICore.MAPI_CREATE

_MAPICore.STREAM_APPEND_swigconstant(_MAPICore)
STREAM_APPEND = _MAPICore.STREAM_APPEND

_MAPICore.MAPI_MOVE_swigconstant(_MAPICore)
MAPI_MOVE = _MAPICore.MAPI_MOVE

_MAPICore.MAPI_NOREPLACE_swigconstant(_MAPICore)
MAPI_NOREPLACE = _MAPICore.MAPI_NOREPLACE

_MAPICore.MAPI_DECLINE_OK_swigconstant(_MAPICore)
MAPI_DECLINE_OK = _MAPICore.MAPI_DECLINE_OK

_MAPICore.MAPI_NO_STRINGS_swigconstant(_MAPICore)
MAPI_NO_STRINGS = _MAPICore.MAPI_NO_STRINGS

_MAPICore.MAPI_NO_IDS_swigconstant(_MAPICore)
MAPI_NO_IDS = _MAPICore.MAPI_NO_IDS

_MAPICore.MNID_ID_swigconstant(_MAPICore)
MNID_ID = _MAPICore.MNID_ID

_MAPICore.MNID_STRING_swigconstant(_MAPICore)
MNID_STRING = _MAPICore.MNID_STRING
class IMAPIProp(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMAPIProp, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMAPIProp, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags):
        return _MAPICore.IMAPIProp_GetLastError(self, hResult, ulFlags)

    def SaveChanges(self, ulFlags):
        return _MAPICore.IMAPIProp_SaveChanges(self, ulFlags)

    def GetProps(self, lpPropTagArray, ulFlags):
        return _MAPICore.IMAPIProp_GetProps(self, lpPropTagArray, ulFlags)

    def GetPropList(self, ulFlags):
        return _MAPICore.IMAPIProp_GetPropList(self, ulFlags)

    def OpenProperty(self, ulPropTag, USE_IID_FOR_OUTPUT, ulInterfaceOptions, ulFlags):
        return _MAPICore.IMAPIProp_OpenProperty(self, ulPropTag, USE_IID_FOR_OUTPUT, ulInterfaceOptions, ulFlags)

    def SetProps(self, cValues):
        return _MAPICore.IMAPIProp_SetProps(self, cValues)

    def DeleteProps(self, lpPropTagArray):
        return _MAPICore.IMAPIProp_DeleteProps(self, lpPropTagArray)

    def CopyTo(self, cInterfaces, lpExcludeProps, ulUIParam, lpProgress, lpInterface, lpDestObj, ulFlags):
        return _MAPICore.IMAPIProp_CopyTo(self, cInterfaces, lpExcludeProps, ulUIParam, lpProgress, lpInterface, lpDestObj, ulFlags)

    def CopyProps(self, lpIncludeProps, ulUIParam, lpProgress, lpInterface, lpDestObj, ulFlags):
        return _MAPICore.IMAPIProp_CopyProps(self, lpIncludeProps, ulUIParam, lpProgress, lpInterface, lpDestObj, ulFlags)

    def GetNamesFromIDs(self, lppPropTags, lpPropSetGuid, ulFlags):
        return _MAPICore.IMAPIProp_GetNamesFromIDs(self, lppPropTags, lpPropSetGuid, ulFlags)

    def GetIDsFromNames(self, cPropNames, ulFlags):
        return _MAPICore.IMAPIProp_GetIDsFromNames(self, cPropNames, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IMAPIProp
    __del__ = lambda self: None
IMAPIProp_swigregister = _MAPICore.IMAPIProp_swigregister
IMAPIProp_swigregister(IMAPIProp)


_MAPICore.MAPI_BEST_ACCESS_swigconstant(_MAPICore)
MAPI_BEST_ACCESS = _MAPICore.MAPI_BEST_ACCESS

_MAPICore.CONVENIENT_DEPTH_swigconstant(_MAPICore)
CONVENIENT_DEPTH = _MAPICore.CONVENIENT_DEPTH

_MAPICore.SEARCH_RUNNING_swigconstant(_MAPICore)
SEARCH_RUNNING = _MAPICore.SEARCH_RUNNING

_MAPICore.SEARCH_REBUILD_swigconstant(_MAPICore)
SEARCH_REBUILD = _MAPICore.SEARCH_REBUILD

_MAPICore.SEARCH_RECURSIVE_swigconstant(_MAPICore)
SEARCH_RECURSIVE = _MAPICore.SEARCH_RECURSIVE

_MAPICore.SEARCH_FOREGROUND_swigconstant(_MAPICore)
SEARCH_FOREGROUND = _MAPICore.SEARCH_FOREGROUND

_MAPICore.STOP_SEARCH_swigconstant(_MAPICore)
STOP_SEARCH = _MAPICore.STOP_SEARCH

_MAPICore.RESTART_SEARCH_swigconstant(_MAPICore)
RESTART_SEARCH = _MAPICore.RESTART_SEARCH

_MAPICore.RECURSIVE_SEARCH_swigconstant(_MAPICore)
RECURSIVE_SEARCH = _MAPICore.RECURSIVE_SEARCH

_MAPICore.SHALLOW_SEARCH_swigconstant(_MAPICore)
SHALLOW_SEARCH = _MAPICore.SHALLOW_SEARCH

_MAPICore.FOREGROUND_SEARCH_swigconstant(_MAPICore)
FOREGROUND_SEARCH = _MAPICore.FOREGROUND_SEARCH

_MAPICore.BACKGROUND_SEARCH_swigconstant(_MAPICore)
BACKGROUND_SEARCH = _MAPICore.BACKGROUND_SEARCH
class IMAPIContainer(IMAPIProp):
    __swig_setmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMAPIContainer, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMAPIContainer, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetContentsTable(self, ulFlags):
        return _MAPICore.IMAPIContainer_GetContentsTable(self, ulFlags)

    def GetHierarchyTable(self, ulFlags):
        return _MAPICore.IMAPIContainer_GetHierarchyTable(self, ulFlags)

    def OpenEntry(self, cbEntryID, lpInterface, ulFlags):
        return _MAPICore.IMAPIContainer_OpenEntry(self, cbEntryID, lpInterface, ulFlags)

    def SetSearchCriteria(self, lpRestriction, lpContainerList, ulSearchFlags):
        return _MAPICore.IMAPIContainer_SetSearchCriteria(self, lpRestriction, lpContainerList, ulSearchFlags)

    def GetSearchCriteria(self, ulFlags):
        return _MAPICore.IMAPIContainer_GetSearchCriteria(self, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IMAPIContainer
    __del__ = lambda self: None
IMAPIContainer_swigregister = _MAPICore.IMAPIContainer_swigregister
IMAPIContainer_swigregister(IMAPIContainer)


_MAPICore.fnevCriticalError_swigconstant(_MAPICore)
fnevCriticalError = _MAPICore.fnevCriticalError

_MAPICore.fnevNewMail_swigconstant(_MAPICore)
fnevNewMail = _MAPICore.fnevNewMail

_MAPICore.fnevObjectCreated_swigconstant(_MAPICore)
fnevObjectCreated = _MAPICore.fnevObjectCreated

_MAPICore.fnevObjectDeleted_swigconstant(_MAPICore)
fnevObjectDeleted = _MAPICore.fnevObjectDeleted

_MAPICore.fnevObjectModified_swigconstant(_MAPICore)
fnevObjectModified = _MAPICore.fnevObjectModified

_MAPICore.fnevObjectMoved_swigconstant(_MAPICore)
fnevObjectMoved = _MAPICore.fnevObjectMoved

_MAPICore.fnevObjectCopied_swigconstant(_MAPICore)
fnevObjectCopied = _MAPICore.fnevObjectCopied

_MAPICore.fnevSearchComplete_swigconstant(_MAPICore)
fnevSearchComplete = _MAPICore.fnevSearchComplete

_MAPICore.fnevTableModified_swigconstant(_MAPICore)
fnevTableModified = _MAPICore.fnevTableModified

_MAPICore.fnevStatusObjectModified_swigconstant(_MAPICore)
fnevStatusObjectModified = _MAPICore.fnevStatusObjectModified

_MAPICore.fnevReservedForMapi_swigconstant(_MAPICore)
fnevReservedForMapi = _MAPICore.fnevReservedForMapi

_MAPICore.fnevExtended_swigconstant(_MAPICore)
fnevExtended = _MAPICore.fnevExtended

_MAPICore.TABLE_CHANGED_swigconstant(_MAPICore)
TABLE_CHANGED = _MAPICore.TABLE_CHANGED

_MAPICore.TABLE_ERROR_swigconstant(_MAPICore)
TABLE_ERROR = _MAPICore.TABLE_ERROR

_MAPICore.TABLE_ROW_ADDED_swigconstant(_MAPICore)
TABLE_ROW_ADDED = _MAPICore.TABLE_ROW_ADDED

_MAPICore.TABLE_ROW_DELETED_swigconstant(_MAPICore)
TABLE_ROW_DELETED = _MAPICore.TABLE_ROW_DELETED

_MAPICore.TABLE_ROW_MODIFIED_swigconstant(_MAPICore)
TABLE_ROW_MODIFIED = _MAPICore.TABLE_ROW_MODIFIED

_MAPICore.TABLE_SORT_DONE_swigconstant(_MAPICore)
TABLE_SORT_DONE = _MAPICore.TABLE_SORT_DONE

_MAPICore.TABLE_RESTRICT_DONE_swigconstant(_MAPICore)
TABLE_RESTRICT_DONE = _MAPICore.TABLE_RESTRICT_DONE

_MAPICore.TABLE_SETCOL_DONE_swigconstant(_MAPICore)
TABLE_SETCOL_DONE = _MAPICore.TABLE_SETCOL_DONE

_MAPICore.TABLE_RELOAD_swigconstant(_MAPICore)
TABLE_RELOAD = _MAPICore.TABLE_RELOAD
class IMAPIAdviseSink(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMAPIAdviseSink, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMAPIAdviseSink, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def OnNotify(self, cNotif):
        return _MAPICore.IMAPIAdviseSink_OnNotify(self, cNotif)
    __swig_destroy__ = _MAPICore.delete_IMAPIAdviseSink
    __del__ = lambda self: None
IMAPIAdviseSink_swigregister = _MAPICore.IMAPIAdviseSink_swigregister
IMAPIAdviseSink_swigregister(IMAPIAdviseSink)

class MAPIAdviseSink(IMAPIAdviseSink):
    __swig_setmethods__ = {}
    for _s in [IMAPIAdviseSink]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, MAPIAdviseSink, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIAdviseSink]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, MAPIAdviseSink, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == MAPIAdviseSink:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_MAPIAdviseSink(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_MAPIAdviseSink
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_MAPIAdviseSink(self)
        return weakref_proxy(self)
MAPIAdviseSink_swigregister = _MAPICore.MAPIAdviseSink_swigregister
MAPIAdviseSink_swigregister(MAPIAdviseSink)


_MAPICore.STORE_ENTRYID_UNIQUE_swigconstant(_MAPICore)
STORE_ENTRYID_UNIQUE = _MAPICore.STORE_ENTRYID_UNIQUE

_MAPICore.STORE_READONLY_swigconstant(_MAPICore)
STORE_READONLY = _MAPICore.STORE_READONLY

_MAPICore.STORE_SEARCH_OK_swigconstant(_MAPICore)
STORE_SEARCH_OK = _MAPICore.STORE_SEARCH_OK

_MAPICore.STORE_MODIFY_OK_swigconstant(_MAPICore)
STORE_MODIFY_OK = _MAPICore.STORE_MODIFY_OK

_MAPICore.STORE_CREATE_OK_swigconstant(_MAPICore)
STORE_CREATE_OK = _MAPICore.STORE_CREATE_OK

_MAPICore.STORE_ATTACH_OK_swigconstant(_MAPICore)
STORE_ATTACH_OK = _MAPICore.STORE_ATTACH_OK

_MAPICore.STORE_OLE_OK_swigconstant(_MAPICore)
STORE_OLE_OK = _MAPICore.STORE_OLE_OK

_MAPICore.STORE_SUBMIT_OK_swigconstant(_MAPICore)
STORE_SUBMIT_OK = _MAPICore.STORE_SUBMIT_OK

_MAPICore.STORE_NOTIFY_OK_swigconstant(_MAPICore)
STORE_NOTIFY_OK = _MAPICore.STORE_NOTIFY_OK

_MAPICore.STORE_MV_PROPS_OK_swigconstant(_MAPICore)
STORE_MV_PROPS_OK = _MAPICore.STORE_MV_PROPS_OK

_MAPICore.STORE_CATEGORIZE_OK_swigconstant(_MAPICore)
STORE_CATEGORIZE_OK = _MAPICore.STORE_CATEGORIZE_OK

_MAPICore.STORE_RTF_OK_swigconstant(_MAPICore)
STORE_RTF_OK = _MAPICore.STORE_RTF_OK

_MAPICore.STORE_RESTRICTION_OK_swigconstant(_MAPICore)
STORE_RESTRICTION_OK = _MAPICore.STORE_RESTRICTION_OK

_MAPICore.STORE_SORT_OK_swigconstant(_MAPICore)
STORE_SORT_OK = _MAPICore.STORE_SORT_OK

_MAPICore.STORE_PUBLIC_FOLDERS_swigconstant(_MAPICore)
STORE_PUBLIC_FOLDERS = _MAPICore.STORE_PUBLIC_FOLDERS

_MAPICore.STORE_UNCOMPRESSED_RTF_swigconstant(_MAPICore)
STORE_UNCOMPRESSED_RTF = _MAPICore.STORE_UNCOMPRESSED_RTF

_MAPICore.STORE_HAS_SEARCHES_swigconstant(_MAPICore)
STORE_HAS_SEARCHES = _MAPICore.STORE_HAS_SEARCHES

_MAPICore.LOGOFF_NO_WAIT_swigconstant(_MAPICore)
LOGOFF_NO_WAIT = _MAPICore.LOGOFF_NO_WAIT

_MAPICore.LOGOFF_ORDERLY_swigconstant(_MAPICore)
LOGOFF_ORDERLY = _MAPICore.LOGOFF_ORDERLY

_MAPICore.LOGOFF_PURGE_swigconstant(_MAPICore)
LOGOFF_PURGE = _MAPICore.LOGOFF_PURGE

_MAPICore.LOGOFF_ABORT_swigconstant(_MAPICore)
LOGOFF_ABORT = _MAPICore.LOGOFF_ABORT

_MAPICore.LOGOFF_QUIET_swigconstant(_MAPICore)
LOGOFF_QUIET = _MAPICore.LOGOFF_QUIET

_MAPICore.LOGOFF_COMPLETE_swigconstant(_MAPICore)
LOGOFF_COMPLETE = _MAPICore.LOGOFF_COMPLETE

_MAPICore.LOGOFF_INBOUND_swigconstant(_MAPICore)
LOGOFF_INBOUND = _MAPICore.LOGOFF_INBOUND

_MAPICore.LOGOFF_OUTBOUND_swigconstant(_MAPICore)
LOGOFF_OUTBOUND = _MAPICore.LOGOFF_OUTBOUND

_MAPICore.LOGOFF_OUTBOUND_QUEUE_swigconstant(_MAPICore)
LOGOFF_OUTBOUND_QUEUE = _MAPICore.LOGOFF_OUTBOUND_QUEUE

_MAPICore.MSG_LOCKED_swigconstant(_MAPICore)
MSG_LOCKED = _MAPICore.MSG_LOCKED

_MAPICore.MSG_UNLOCKED_swigconstant(_MAPICore)
MSG_UNLOCKED = _MAPICore.MSG_UNLOCKED

_MAPICore.FOLDER_IPM_SUBTREE_VALID_swigconstant(_MAPICore)
FOLDER_IPM_SUBTREE_VALID = _MAPICore.FOLDER_IPM_SUBTREE_VALID

_MAPICore.FOLDER_IPM_INBOX_VALID_swigconstant(_MAPICore)
FOLDER_IPM_INBOX_VALID = _MAPICore.FOLDER_IPM_INBOX_VALID

_MAPICore.FOLDER_IPM_OUTBOX_VALID_swigconstant(_MAPICore)
FOLDER_IPM_OUTBOX_VALID = _MAPICore.FOLDER_IPM_OUTBOX_VALID

_MAPICore.FOLDER_IPM_WASTEBASKET_VALID_swigconstant(_MAPICore)
FOLDER_IPM_WASTEBASKET_VALID = _MAPICore.FOLDER_IPM_WASTEBASKET_VALID

_MAPICore.FOLDER_IPM_SENTMAIL_VALID_swigconstant(_MAPICore)
FOLDER_IPM_SENTMAIL_VALID = _MAPICore.FOLDER_IPM_SENTMAIL_VALID

_MAPICore.FOLDER_VIEWS_VALID_swigconstant(_MAPICore)
FOLDER_VIEWS_VALID = _MAPICore.FOLDER_VIEWS_VALID

_MAPICore.FOLDER_COMMON_VIEWS_VALID_swigconstant(_MAPICore)
FOLDER_COMMON_VIEWS_VALID = _MAPICore.FOLDER_COMMON_VIEWS_VALID

_MAPICore.FOLDER_FINDER_VALID_swigconstant(_MAPICore)
FOLDER_FINDER_VALID = _MAPICore.FOLDER_FINDER_VALID
class IMsgStore(IMAPIProp):
    __swig_setmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMsgStore, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMsgStore, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def Advise(self, cbEntryID, ulEventMask, lpAdviseSink):
        return _MAPICore.IMsgStore_Advise(self, cbEntryID, ulEventMask, lpAdviseSink)

    def Unadvise(self, ulConnection):
        return _MAPICore.IMsgStore_Unadvise(self, ulConnection)

    def CompareEntryIDs(self, cbEntryID1, cbEntryID2, ulFlags):
        return _MAPICore.IMsgStore_CompareEntryIDs(self, cbEntryID1, cbEntryID2, ulFlags)

    def OpenEntry(self, cbEntryID, lpInterface, ulFlags):
        return _MAPICore.IMsgStore_OpenEntry(self, cbEntryID, lpInterface, ulFlags)

    def SetReceiveFolder(self, lpszMessageClass, ulFlags, cbEntryID):
        return _MAPICore.IMsgStore_SetReceiveFolder(self, lpszMessageClass, ulFlags, cbEntryID)

    def GetReceiveFolder(self, lpszMessageClass, ulFlags):
        return _MAPICore.IMsgStore_GetReceiveFolder(self, lpszMessageClass, ulFlags)

    def GetReceiveFolderTable(self, ulFlags):
        return _MAPICore.IMsgStore_GetReceiveFolderTable(self, ulFlags)

    def StoreLogoff(self, INOUT):
        return _MAPICore.IMsgStore_StoreLogoff(self, INOUT)

    def AbortSubmit(self, cbEntryID, ulFlags):
        return _MAPICore.IMsgStore_AbortSubmit(self, cbEntryID, ulFlags)

    def GetOutgoingQueue(self, ulFlags):
        return _MAPICore.IMsgStore_GetOutgoingQueue(self, ulFlags)

    def SetLockState(self, lpMessage, ulLockState):
        return _MAPICore.IMsgStore_SetLockState(self, lpMessage, ulLockState)

    def FinishedMsg(self, ulFlags, cbEntryID):
        return _MAPICore.IMsgStore_FinishedMsg(self, ulFlags, cbEntryID)

    def NotifyNewMail(self, lpNotification):
        return _MAPICore.IMsgStore_NotifyNewMail(self, lpNotification)
    __swig_destroy__ = _MAPICore.delete_IMsgStore
    __del__ = lambda self: None
IMsgStore_swigregister = _MAPICore.IMsgStore_swigregister
IMsgStore_swigregister(IMsgStore)

class IProxyStoreObject(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IProxyStoreObject, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IProxyStoreObject, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def PlaceHolder1(self):
        return _MAPICore.IProxyStoreObject_PlaceHolder1(self)

    def PlaceHolder2(self):
        return _MAPICore.IProxyStoreObject_PlaceHolder2(self)
    __swig_destroy__ = _MAPICore.delete_IProxyStoreObject
    __del__ = lambda self: None

    def UnwrapNoRef(self):
        return _MAPICore.IProxyStoreObject_UnwrapNoRef(self)
IProxyStoreObject_swigregister = _MAPICore.IProxyStoreObject_swigregister
IProxyStoreObject_swigregister(IProxyStoreObject)


_MAPICore.FOLDER_ROOT_swigconstant(_MAPICore)
FOLDER_ROOT = _MAPICore.FOLDER_ROOT

_MAPICore.FOLDER_GENERIC_swigconstant(_MAPICore)
FOLDER_GENERIC = _MAPICore.FOLDER_GENERIC

_MAPICore.FOLDER_SEARCH_swigconstant(_MAPICore)
FOLDER_SEARCH = _MAPICore.FOLDER_SEARCH

_MAPICore.MESSAGE_MOVE_swigconstant(_MAPICore)
MESSAGE_MOVE = _MAPICore.MESSAGE_MOVE

_MAPICore.MESSAGE_DIALOG_swigconstant(_MAPICore)
MESSAGE_DIALOG = _MAPICore.MESSAGE_DIALOG

_MAPICore.OPEN_IF_EXISTS_swigconstant(_MAPICore)
OPEN_IF_EXISTS = _MAPICore.OPEN_IF_EXISTS

_MAPICore.DEL_MESSAGES_swigconstant(_MAPICore)
DEL_MESSAGES = _MAPICore.DEL_MESSAGES

_MAPICore.FOLDER_DIALOG_swigconstant(_MAPICore)
FOLDER_DIALOG = _MAPICore.FOLDER_DIALOG

_MAPICore.DEL_FOLDERS_swigconstant(_MAPICore)
DEL_FOLDERS = _MAPICore.DEL_FOLDERS

_MAPICore.DEL_ASSOCIATED_swigconstant(_MAPICore)
DEL_ASSOCIATED = _MAPICore.DEL_ASSOCIATED

_MAPICore.FOLDER_MOVE_swigconstant(_MAPICore)
FOLDER_MOVE = _MAPICore.FOLDER_MOVE

_MAPICore.COPY_SUBFOLDERS_swigconstant(_MAPICore)
COPY_SUBFOLDERS = _MAPICore.COPY_SUBFOLDERS

_MAPICore.MSGSTATUS_HIGHLIGHTED_swigconstant(_MAPICore)
MSGSTATUS_HIGHLIGHTED = _MAPICore.MSGSTATUS_HIGHLIGHTED

_MAPICore.MSGSTATUS_TAGGED_swigconstant(_MAPICore)
MSGSTATUS_TAGGED = _MAPICore.MSGSTATUS_TAGGED

_MAPICore.MSGSTATUS_HIDDEN_swigconstant(_MAPICore)
MSGSTATUS_HIDDEN = _MAPICore.MSGSTATUS_HIDDEN

_MAPICore.MSGSTATUS_DELMARKED_swigconstant(_MAPICore)
MSGSTATUS_DELMARKED = _MAPICore.MSGSTATUS_DELMARKED

_MAPICore.MSGSTATUS_REMOTE_DOWNLOAD_swigconstant(_MAPICore)
MSGSTATUS_REMOTE_DOWNLOAD = _MAPICore.MSGSTATUS_REMOTE_DOWNLOAD

_MAPICore.MSGSTATUS_REMOTE_DELETE_swigconstant(_MAPICore)
MSGSTATUS_REMOTE_DELETE = _MAPICore.MSGSTATUS_REMOTE_DELETE

_MAPICore.RECURSIVE_SORT_swigconstant(_MAPICore)
RECURSIVE_SORT = _MAPICore.RECURSIVE_SORT

_MAPICore.FLDSTATUS_HIGHLIGHTED_swigconstant(_MAPICore)
FLDSTATUS_HIGHLIGHTED = _MAPICore.FLDSTATUS_HIGHLIGHTED

_MAPICore.FLDSTATUS_TAGGED_swigconstant(_MAPICore)
FLDSTATUS_TAGGED = _MAPICore.FLDSTATUS_TAGGED

_MAPICore.FLDSTATUS_HIDDEN_swigconstant(_MAPICore)
FLDSTATUS_HIDDEN = _MAPICore.FLDSTATUS_HIDDEN

_MAPICore.FLDSTATUS_DELMARKED_swigconstant(_MAPICore)
FLDSTATUS_DELMARKED = _MAPICore.FLDSTATUS_DELMARKED
class IMAPIFolder(IMAPIContainer):
    __swig_setmethods__ = {}
    for _s in [IMAPIContainer]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMAPIFolder, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIContainer]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMAPIFolder, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def CreateMessage(self, lpInterface, ulFlags):
        return _MAPICore.IMAPIFolder_CreateMessage(self, lpInterface, ulFlags)

    def CopyMessages(self, lpMsgList, lpInterface, lpDestFolder, ulUIParam, lpProgress, ulFlags):
        return _MAPICore.IMAPIFolder_CopyMessages(self, lpMsgList, lpInterface, lpDestFolder, ulUIParam, lpProgress, ulFlags)

    def DeleteMessages(self, lpMsgList, ulUIParam, lpProgress, ulFlags):
        return _MAPICore.IMAPIFolder_DeleteMessages(self, lpMsgList, ulUIParam, lpProgress, ulFlags)

    def CreateFolder(self, ulFolderType, lpszFolderName, lpszFolderComment, lpInterface, ulFlags):
        return _MAPICore.IMAPIFolder_CreateFolder(self, ulFolderType, lpszFolderName, lpszFolderComment, lpInterface, ulFlags)

    def CopyFolder(self, cbEntryID, lpInterface, lpDestFolder, lpszNewFolderName, ulUIParam, lpProgress, ulFlags):
        return _MAPICore.IMAPIFolder_CopyFolder(self, cbEntryID, lpInterface, lpDestFolder, lpszNewFolderName, ulUIParam, lpProgress, ulFlags)

    def DeleteFolder(self, cbEntryID, ulUIParam, lpProgress, ulFlags):
        return _MAPICore.IMAPIFolder_DeleteFolder(self, cbEntryID, ulUIParam, lpProgress, ulFlags)

    def SetReadFlags(self, lpMsgList, ulUIParam, lpProgress, ulFlags):
        return _MAPICore.IMAPIFolder_SetReadFlags(self, lpMsgList, ulUIParam, lpProgress, ulFlags)

    def GetMessageStatus(self, cbEntryID, ulFlags):
        return _MAPICore.IMAPIFolder_GetMessageStatus(self, cbEntryID, ulFlags)

    def SetMessageStatus(self, cbEntryID, ulNewStatus, ulNewStatusMask):
        return _MAPICore.IMAPIFolder_SetMessageStatus(self, cbEntryID, ulNewStatus, ulNewStatusMask)

    def SaveContentsSort(self, lpSortCriteria, ulFlags):
        return _MAPICore.IMAPIFolder_SaveContentsSort(self, lpSortCriteria, ulFlags)

    def EmptyFolder(self, ulUIParam, lpProgress, ulFlags):
        return _MAPICore.IMAPIFolder_EmptyFolder(self, ulUIParam, lpProgress, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IMAPIFolder
    __del__ = lambda self: None
IMAPIFolder_swigregister = _MAPICore.IMAPIFolder_swigregister
IMAPIFolder_swigregister(IMAPIFolder)


_MAPICore.FORCE_SUBMIT_swigconstant(_MAPICore)
FORCE_SUBMIT = _MAPICore.FORCE_SUBMIT

_MAPICore.MSGFLAG_READ_swigconstant(_MAPICore)
MSGFLAG_READ = _MAPICore.MSGFLAG_READ

_MAPICore.MSGFLAG_UNMODIFIED_swigconstant(_MAPICore)
MSGFLAG_UNMODIFIED = _MAPICore.MSGFLAG_UNMODIFIED

_MAPICore.MSGFLAG_SUBMIT_swigconstant(_MAPICore)
MSGFLAG_SUBMIT = _MAPICore.MSGFLAG_SUBMIT

_MAPICore.MSGFLAG_UNSENT_swigconstant(_MAPICore)
MSGFLAG_UNSENT = _MAPICore.MSGFLAG_UNSENT

_MAPICore.MSGFLAG_HASATTACH_swigconstant(_MAPICore)
MSGFLAG_HASATTACH = _MAPICore.MSGFLAG_HASATTACH

_MAPICore.MSGFLAG_FROMME_swigconstant(_MAPICore)
MSGFLAG_FROMME = _MAPICore.MSGFLAG_FROMME

_MAPICore.MSGFLAG_ASSOCIATED_swigconstant(_MAPICore)
MSGFLAG_ASSOCIATED = _MAPICore.MSGFLAG_ASSOCIATED

_MAPICore.MSGFLAG_RESEND_swigconstant(_MAPICore)
MSGFLAG_RESEND = _MAPICore.MSGFLAG_RESEND

_MAPICore.MSGFLAG_RN_PENDING_swigconstant(_MAPICore)
MSGFLAG_RN_PENDING = _MAPICore.MSGFLAG_RN_PENDING

_MAPICore.MSGFLAG_NRN_PENDING_swigconstant(_MAPICore)
MSGFLAG_NRN_PENDING = _MAPICore.MSGFLAG_NRN_PENDING

_MAPICore.SUBMITFLAG_LOCKED_swigconstant(_MAPICore)
SUBMITFLAG_LOCKED = _MAPICore.SUBMITFLAG_LOCKED

_MAPICore.SUBMITFLAG_PREPROCESS_swigconstant(_MAPICore)
SUBMITFLAG_PREPROCESS = _MAPICore.SUBMITFLAG_PREPROCESS

_MAPICore.MODRECIP_ADD_swigconstant(_MAPICore)
MODRECIP_ADD = _MAPICore.MODRECIP_ADD

_MAPICore.MODRECIP_MODIFY_swigconstant(_MAPICore)
MODRECIP_MODIFY = _MAPICore.MODRECIP_MODIFY

_MAPICore.MODRECIP_REMOVE_swigconstant(_MAPICore)
MODRECIP_REMOVE = _MAPICore.MODRECIP_REMOVE

_MAPICore.SUPPRESS_RECEIPT_swigconstant(_MAPICore)
SUPPRESS_RECEIPT = _MAPICore.SUPPRESS_RECEIPT

_MAPICore.CLEAR_READ_FLAG_swigconstant(_MAPICore)
CLEAR_READ_FLAG = _MAPICore.CLEAR_READ_FLAG

_MAPICore.GENERATE_RECEIPT_ONLY_swigconstant(_MAPICore)
GENERATE_RECEIPT_ONLY = _MAPICore.GENERATE_RECEIPT_ONLY

_MAPICore.CLEAR_RN_PENDING_swigconstant(_MAPICore)
CLEAR_RN_PENDING = _MAPICore.CLEAR_RN_PENDING

_MAPICore.CLEAR_NRN_PENDING_swigconstant(_MAPICore)
CLEAR_NRN_PENDING = _MAPICore.CLEAR_NRN_PENDING

_MAPICore.ATTACH_DIALOG_swigconstant(_MAPICore)
ATTACH_DIALOG = _MAPICore.ATTACH_DIALOG

_MAPICore.SECURITY_SIGNED_swigconstant(_MAPICore)
SECURITY_SIGNED = _MAPICore.SECURITY_SIGNED

_MAPICore.SECURITY_ENCRYPTED_swigconstant(_MAPICore)
SECURITY_ENCRYPTED = _MAPICore.SECURITY_ENCRYPTED

_MAPICore.PRIO_URGENT_swigconstant(_MAPICore)
PRIO_URGENT = _MAPICore.PRIO_URGENT

_MAPICore.PRIO_NORMAL_swigconstant(_MAPICore)
PRIO_NORMAL = _MAPICore.PRIO_NORMAL

_MAPICore.PRIO_NONURGENT_swigconstant(_MAPICore)
PRIO_NONURGENT = _MAPICore.PRIO_NONURGENT

_MAPICore.SENSITIVITY_NONE_swigconstant(_MAPICore)
SENSITIVITY_NONE = _MAPICore.SENSITIVITY_NONE

_MAPICore.SENSITIVITY_PERSONAL_swigconstant(_MAPICore)
SENSITIVITY_PERSONAL = _MAPICore.SENSITIVITY_PERSONAL

_MAPICore.SENSITIVITY_PRIVATE_swigconstant(_MAPICore)
SENSITIVITY_PRIVATE = _MAPICore.SENSITIVITY_PRIVATE

_MAPICore.SENSITIVITY_COMPANY_CONFIDENTIAL_swigconstant(_MAPICore)
SENSITIVITY_COMPANY_CONFIDENTIAL = _MAPICore.SENSITIVITY_COMPANY_CONFIDENTIAL

_MAPICore.IMPORTANCE_LOW_swigconstant(_MAPICore)
IMPORTANCE_LOW = _MAPICore.IMPORTANCE_LOW

_MAPICore.IMPORTANCE_NORMAL_swigconstant(_MAPICore)
IMPORTANCE_NORMAL = _MAPICore.IMPORTANCE_NORMAL

_MAPICore.IMPORTANCE_HIGH_swigconstant(_MAPICore)
IMPORTANCE_HIGH = _MAPICore.IMPORTANCE_HIGH
class IMessage(IMAPIProp):
    __swig_setmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMessage, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMessage, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetAttachmentTable(self, ulFlags):
        return _MAPICore.IMessage_GetAttachmentTable(self, ulFlags)

    def OpenAttach(self, ulAttachmentNum, lpInterface, ulFlags):
        return _MAPICore.IMessage_OpenAttach(self, ulAttachmentNum, lpInterface, ulFlags)

    def CreateAttach(self, lpInterface, ulFlags):
        return _MAPICore.IMessage_CreateAttach(self, lpInterface, ulFlags)

    def DeleteAttach(self, ulAttachmentNum, ulUIParam, lpProgress, ulFlags):
        return _MAPICore.IMessage_DeleteAttach(self, ulAttachmentNum, ulUIParam, lpProgress, ulFlags)

    def GetRecipientTable(self, ulFlags):
        return _MAPICore.IMessage_GetRecipientTable(self, ulFlags)

    def ModifyRecipients(self, ulFlags, INPUT):
        return _MAPICore.IMessage_ModifyRecipients(self, ulFlags, INPUT)

    def SubmitMessage(self, ulFlags):
        return _MAPICore.IMessage_SubmitMessage(self, ulFlags)

    def SetReadFlag(self, ulFlags):
        return _MAPICore.IMessage_SetReadFlag(self, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IMessage
    __del__ = lambda self: None
IMessage_swigregister = _MAPICore.IMessage_swigregister
IMessage_swigregister(IMessage)


_MAPICore.NO_ATTACHMENT_swigconstant(_MAPICore)
NO_ATTACHMENT = _MAPICore.NO_ATTACHMENT

_MAPICore.ATTACH_BY_VALUE_swigconstant(_MAPICore)
ATTACH_BY_VALUE = _MAPICore.ATTACH_BY_VALUE

_MAPICore.ATTACH_BY_REFERENCE_swigconstant(_MAPICore)
ATTACH_BY_REFERENCE = _MAPICore.ATTACH_BY_REFERENCE

_MAPICore.ATTACH_BY_REF_RESOLVE_swigconstant(_MAPICore)
ATTACH_BY_REF_RESOLVE = _MAPICore.ATTACH_BY_REF_RESOLVE

_MAPICore.ATTACH_BY_REF_ONLY_swigconstant(_MAPICore)
ATTACH_BY_REF_ONLY = _MAPICore.ATTACH_BY_REF_ONLY

_MAPICore.ATTACH_EMBEDDED_MSG_swigconstant(_MAPICore)
ATTACH_EMBEDDED_MSG = _MAPICore.ATTACH_EMBEDDED_MSG

_MAPICore.ATTACH_OLE_swigconstant(_MAPICore)
ATTACH_OLE = _MAPICore.ATTACH_OLE
class IAttach(IMAPIProp):
    __swig_setmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IAttach, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IAttach, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _MAPICore.delete_IAttach
    __del__ = lambda self: None
IAttach_swigregister = _MAPICore.IAttach_swigregister
IAttach_swigregister(IAttach)


_MAPICore.AB_RECIPIENTS_swigconstant(_MAPICore)
AB_RECIPIENTS = _MAPICore.AB_RECIPIENTS

_MAPICore.AB_SUBCONTAINERS_swigconstant(_MAPICore)
AB_SUBCONTAINERS = _MAPICore.AB_SUBCONTAINERS

_MAPICore.AB_MODIFIABLE_swigconstant(_MAPICore)
AB_MODIFIABLE = _MAPICore.AB_MODIFIABLE

_MAPICore.AB_UNMODIFIABLE_swigconstant(_MAPICore)
AB_UNMODIFIABLE = _MAPICore.AB_UNMODIFIABLE

_MAPICore.AB_FIND_ON_OPEN_swigconstant(_MAPICore)
AB_FIND_ON_OPEN = _MAPICore.AB_FIND_ON_OPEN

_MAPICore.AB_NOT_DEFAULT_swigconstant(_MAPICore)
AB_NOT_DEFAULT = _MAPICore.AB_NOT_DEFAULT

_MAPICore.CREATE_CHECK_DUP_STRICT_swigconstant(_MAPICore)
CREATE_CHECK_DUP_STRICT = _MAPICore.CREATE_CHECK_DUP_STRICT

_MAPICore.CREATE_CHECK_DUP_LOOSE_swigconstant(_MAPICore)
CREATE_CHECK_DUP_LOOSE = _MAPICore.CREATE_CHECK_DUP_LOOSE

_MAPICore.CREATE_REPLACE_swigconstant(_MAPICore)
CREATE_REPLACE = _MAPICore.CREATE_REPLACE

_MAPICore.MAPI_UNRESOLVED_swigconstant(_MAPICore)
MAPI_UNRESOLVED = _MAPICore.MAPI_UNRESOLVED

_MAPICore.MAPI_AMBIGUOUS_swigconstant(_MAPICore)
MAPI_AMBIGUOUS = _MAPICore.MAPI_AMBIGUOUS

_MAPICore.MAPI_RESOLVED_swigconstant(_MAPICore)
MAPI_RESOLVED = _MAPICore.MAPI_RESOLVED
class IABContainer(IMAPIContainer):
    __swig_setmethods__ = {}
    for _s in [IMAPIContainer]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IABContainer, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIContainer]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IABContainer, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def CreateEntry(self, cbEntryID, ulCreateFlags, OUTPUT):
        return _MAPICore.IABContainer_CreateEntry(self, cbEntryID, ulCreateFlags, OUTPUT)

    def CopyEntries(self, lpEntries, ulUIParam, lpProgress, ulFlags):
        return _MAPICore.IABContainer_CopyEntries(self, lpEntries, ulUIParam, lpProgress, ulFlags)

    def DeleteEntries(self, lpEntries, ulFlags):
        return _MAPICore.IABContainer_DeleteEntries(self, lpEntries, ulFlags)

    def ResolveNames(self, lpPropTagArray, ulFlags, arg4, arg5):
        return _MAPICore.IABContainer_ResolveNames(self, lpPropTagArray, ulFlags, arg4, arg5)
    __swig_destroy__ = _MAPICore.delete_IABContainer
    __del__ = lambda self: None
IABContainer_swigregister = _MAPICore.IABContainer_swigregister
IABContainer_swigregister(IABContainer)


_MAPICore.MAPI_SEND_NO_RICH_INFO_swigconstant(_MAPICore)
MAPI_SEND_NO_RICH_INFO = _MAPICore.MAPI_SEND_NO_RICH_INFO

_MAPICore.MAPI_MH_DP_PUBLIC_UA_swigconstant(_MAPICore)
MAPI_MH_DP_PUBLIC_UA = _MAPICore.MAPI_MH_DP_PUBLIC_UA

_MAPICore.MAPI_MH_DP_PRIVATE_UA_swigconstant(_MAPICore)
MAPI_MH_DP_PRIVATE_UA = _MAPICore.MAPI_MH_DP_PRIVATE_UA

_MAPICore.MAPI_MH_DP_MS_swigconstant(_MAPICore)
MAPI_MH_DP_MS = _MAPICore.MAPI_MH_DP_MS

_MAPICore.MAPI_MH_DP_ML_swigconstant(_MAPICore)
MAPI_MH_DP_ML = _MAPICore.MAPI_MH_DP_ML

_MAPICore.MAPI_MH_DP_PDAU_swigconstant(_MAPICore)
MAPI_MH_DP_PDAU = _MAPICore.MAPI_MH_DP_PDAU

_MAPICore.MAPI_MH_DP_PDS_PATRON_swigconstant(_MAPICore)
MAPI_MH_DP_PDS_PATRON = _MAPICore.MAPI_MH_DP_PDS_PATRON

_MAPICore.MAPI_MH_DP_OTHER_AU_swigconstant(_MAPICore)
MAPI_MH_DP_OTHER_AU = _MAPICore.MAPI_MH_DP_OTHER_AU
class IMailUser(IMAPIProp):
    __swig_setmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMailUser, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMailUser, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _MAPICore.delete_IMailUser
    __del__ = lambda self: None
IMailUser_swigregister = _MAPICore.IMailUser_swigregister
IMailUser_swigregister(IMailUser)

class IDistList(IMAPIContainer):
    __swig_setmethods__ = {}
    for _s in [IMAPIContainer]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IDistList, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIContainer]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IDistList, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def CreateEntry(self, cbEntryID, ulCreateFlags, OUTPUT):
        return _MAPICore.IDistList_CreateEntry(self, cbEntryID, ulCreateFlags, OUTPUT)

    def CopyEntries(self, lpEntries, ulUIParam, lpProgress, ulFlags):
        return _MAPICore.IDistList_CopyEntries(self, lpEntries, ulUIParam, lpProgress, ulFlags)

    def DeleteEntries(self, lpEntries, ulFlags):
        return _MAPICore.IDistList_DeleteEntries(self, lpEntries, ulFlags)

    def ResolveNames(self, lpPropTagArray, ulFlags, arg4, arg5):
        return _MAPICore.IDistList_ResolveNames(self, lpPropTagArray, ulFlags, arg4, arg5)
    __swig_destroy__ = _MAPICore.delete_IDistList
    __del__ = lambda self: None
IDistList_swigregister = _MAPICore.IDistList_swigregister
IDistList_swigregister(IDistList)

class IMAPIStatus(IMAPIProp):
    __swig_setmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMAPIStatus, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMAPIStatus, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def ValidateState(self, ulUIParam, ulFlags):
        return _MAPICore.IMAPIStatus_ValidateState(self, ulUIParam, ulFlags)

    def SettingsDialog(self, ulUIParam, ulFlags):
        return _MAPICore.IMAPIStatus_SettingsDialog(self, ulUIParam, ulFlags)

    def ChangePassword(self, lpOldPass, lpNewPass, ulFlags):
        return _MAPICore.IMAPIStatus_ChangePassword(self, lpOldPass, lpNewPass, ulFlags)

    def FlushQueues(self, ulUIParam, cbTargetTransport, lpTargetTransport, ulFlags):
        return _MAPICore.IMAPIStatus_FlushQueues(self, ulUIParam, cbTargetTransport, lpTargetTransport, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IMAPIStatus
    __del__ = lambda self: None
IMAPIStatus_swigregister = _MAPICore.IMAPIStatus_swigregister
IMAPIStatus_swigregister(IMAPIStatus)


_MAPICore.TBLSTAT_COMPLETE_swigconstant(_MAPICore)
TBLSTAT_COMPLETE = _MAPICore.TBLSTAT_COMPLETE

_MAPICore.TBLSTAT_QCHANGED_swigconstant(_MAPICore)
TBLSTAT_QCHANGED = _MAPICore.TBLSTAT_QCHANGED

_MAPICore.TBLSTAT_SORTING_swigconstant(_MAPICore)
TBLSTAT_SORTING = _MAPICore.TBLSTAT_SORTING

_MAPICore.TBLSTAT_SORT_ERROR_swigconstant(_MAPICore)
TBLSTAT_SORT_ERROR = _MAPICore.TBLSTAT_SORT_ERROR

_MAPICore.TBLSTAT_SETTING_COLS_swigconstant(_MAPICore)
TBLSTAT_SETTING_COLS = _MAPICore.TBLSTAT_SETTING_COLS

_MAPICore.TBLSTAT_SETCOL_ERROR_swigconstant(_MAPICore)
TBLSTAT_SETCOL_ERROR = _MAPICore.TBLSTAT_SETCOL_ERROR

_MAPICore.TBLSTAT_RESTRICTING_swigconstant(_MAPICore)
TBLSTAT_RESTRICTING = _MAPICore.TBLSTAT_RESTRICTING

_MAPICore.TBLSTAT_RESTRICT_ERROR_swigconstant(_MAPICore)
TBLSTAT_RESTRICT_ERROR = _MAPICore.TBLSTAT_RESTRICT_ERROR

_MAPICore.TBLTYPE_SNAPSHOT_swigconstant(_MAPICore)
TBLTYPE_SNAPSHOT = _MAPICore.TBLTYPE_SNAPSHOT

_MAPICore.TBLTYPE_KEYSET_swigconstant(_MAPICore)
TBLTYPE_KEYSET = _MAPICore.TBLTYPE_KEYSET

_MAPICore.TBLTYPE_DYNAMIC_swigconstant(_MAPICore)
TBLTYPE_DYNAMIC = _MAPICore.TBLTYPE_DYNAMIC

_MAPICore.TABLE_SORT_ASCEND_swigconstant(_MAPICore)
TABLE_SORT_ASCEND = _MAPICore.TABLE_SORT_ASCEND

_MAPICore.TABLE_SORT_DESCEND_swigconstant(_MAPICore)
TABLE_SORT_DESCEND = _MAPICore.TABLE_SORT_DESCEND

_MAPICore.TABLE_SORT_COMBINE_swigconstant(_MAPICore)
TABLE_SORT_COMBINE = _MAPICore.TABLE_SORT_COMBINE

_MAPICore.TABLE_SORT_CATEG_MAX_swigconstant(_MAPICore)
TABLE_SORT_CATEG_MAX = _MAPICore.TABLE_SORT_CATEG_MAX

_MAPICore.TABLE_SORT_CATEG_MIN_swigconstant(_MAPICore)
TABLE_SORT_CATEG_MIN = _MAPICore.TABLE_SORT_CATEG_MIN

_MAPICore.BOOKMARK_BEGINNING_swigconstant(_MAPICore)
BOOKMARK_BEGINNING = _MAPICore.BOOKMARK_BEGINNING

_MAPICore.BOOKMARK_CURRENT_swigconstant(_MAPICore)
BOOKMARK_CURRENT = _MAPICore.BOOKMARK_CURRENT

_MAPICore.BOOKMARK_END_swigconstant(_MAPICore)
BOOKMARK_END = _MAPICore.BOOKMARK_END

_MAPICore.FL_FULLSTRING_swigconstant(_MAPICore)
FL_FULLSTRING = _MAPICore.FL_FULLSTRING

_MAPICore.FL_SUBSTRING_swigconstant(_MAPICore)
FL_SUBSTRING = _MAPICore.FL_SUBSTRING

_MAPICore.FL_PREFIX_swigconstant(_MAPICore)
FL_PREFIX = _MAPICore.FL_PREFIX

_MAPICore.FL_IGNORECASE_swigconstant(_MAPICore)
FL_IGNORECASE = _MAPICore.FL_IGNORECASE

_MAPICore.FL_IGNORENONSPACE_swigconstant(_MAPICore)
FL_IGNORENONSPACE = _MAPICore.FL_IGNORENONSPACE

_MAPICore.FL_LOOSE_swigconstant(_MAPICore)
FL_LOOSE = _MAPICore.FL_LOOSE

_MAPICore.RES_AND_swigconstant(_MAPICore)
RES_AND = _MAPICore.RES_AND

_MAPICore.RES_OR_swigconstant(_MAPICore)
RES_OR = _MAPICore.RES_OR

_MAPICore.RES_NOT_swigconstant(_MAPICore)
RES_NOT = _MAPICore.RES_NOT

_MAPICore.RES_CONTENT_swigconstant(_MAPICore)
RES_CONTENT = _MAPICore.RES_CONTENT

_MAPICore.RES_PROPERTY_swigconstant(_MAPICore)
RES_PROPERTY = _MAPICore.RES_PROPERTY

_MAPICore.RES_COMPAREPROPS_swigconstant(_MAPICore)
RES_COMPAREPROPS = _MAPICore.RES_COMPAREPROPS

_MAPICore.RES_BITMASK_swigconstant(_MAPICore)
RES_BITMASK = _MAPICore.RES_BITMASK

_MAPICore.RES_SIZE_swigconstant(_MAPICore)
RES_SIZE = _MAPICore.RES_SIZE

_MAPICore.RES_EXIST_swigconstant(_MAPICore)
RES_EXIST = _MAPICore.RES_EXIST

_MAPICore.RES_SUBRESTRICTION_swigconstant(_MAPICore)
RES_SUBRESTRICTION = _MAPICore.RES_SUBRESTRICTION

_MAPICore.RES_COMMENT_swigconstant(_MAPICore)
RES_COMMENT = _MAPICore.RES_COMMENT

_MAPICore.RELOP_LT_swigconstant(_MAPICore)
RELOP_LT = _MAPICore.RELOP_LT

_MAPICore.RELOP_LE_swigconstant(_MAPICore)
RELOP_LE = _MAPICore.RELOP_LE

_MAPICore.RELOP_GT_swigconstant(_MAPICore)
RELOP_GT = _MAPICore.RELOP_GT

_MAPICore.RELOP_GE_swigconstant(_MAPICore)
RELOP_GE = _MAPICore.RELOP_GE

_MAPICore.RELOP_EQ_swigconstant(_MAPICore)
RELOP_EQ = _MAPICore.RELOP_EQ

_MAPICore.RELOP_NE_swigconstant(_MAPICore)
RELOP_NE = _MAPICore.RELOP_NE

_MAPICore.RELOP_RE_swigconstant(_MAPICore)
RELOP_RE = _MAPICore.RELOP_RE

_MAPICore.BMR_EQZ_swigconstant(_MAPICore)
BMR_EQZ = _MAPICore.BMR_EQZ

_MAPICore.BMR_NEZ_swigconstant(_MAPICore)
BMR_NEZ = _MAPICore.BMR_NEZ

_MAPICore.TBL_ALL_COLUMNS_swigconstant(_MAPICore)
TBL_ALL_COLUMNS = _MAPICore.TBL_ALL_COLUMNS

_MAPICore.TBL_LEAF_ROW_swigconstant(_MAPICore)
TBL_LEAF_ROW = _MAPICore.TBL_LEAF_ROW

_MAPICore.TBL_EMPTY_CATEGORY_swigconstant(_MAPICore)
TBL_EMPTY_CATEGORY = _MAPICore.TBL_EMPTY_CATEGORY

_MAPICore.TBL_EXPANDED_CATEGORY_swigconstant(_MAPICore)
TBL_EXPANDED_CATEGORY = _MAPICore.TBL_EXPANDED_CATEGORY

_MAPICore.TBL_COLLAPSED_CATEGORY_swigconstant(_MAPICore)
TBL_COLLAPSED_CATEGORY = _MAPICore.TBL_COLLAPSED_CATEGORY

_MAPICore.TBL_NOWAIT_swigconstant(_MAPICore)
TBL_NOWAIT = _MAPICore.TBL_NOWAIT

_MAPICore.TBL_ASYNC_swigconstant(_MAPICore)
TBL_ASYNC = _MAPICore.TBL_ASYNC

_MAPICore.TBL_BATCH_swigconstant(_MAPICore)
TBL_BATCH = _MAPICore.TBL_BATCH

_MAPICore.DIR_BACKWARD_swigconstant(_MAPICore)
DIR_BACKWARD = _MAPICore.DIR_BACKWARD

_MAPICore.TBL_NOADVANCE_swigconstant(_MAPICore)
TBL_NOADVANCE = _MAPICore.TBL_NOADVANCE
class IMAPITable(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMAPITable, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMAPITable, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags):
        return _MAPICore.IMAPITable_GetLastError(self, hResult, ulFlags)

    def Advise(self, ulEventMask, lpAdviseSink):
        return _MAPICore.IMAPITable_Advise(self, ulEventMask, lpAdviseSink)

    def Unadvise(self, ulConnection):
        return _MAPICore.IMAPITable_Unadvise(self, ulConnection)

    def GetStatus(self):
        return _MAPICore.IMAPITable_GetStatus(self)

    def SetColumns(self, lpPropTagArray, ulFlags):
        return _MAPICore.IMAPITable_SetColumns(self, lpPropTagArray, ulFlags)

    def QueryColumns(self, ulFlags):
        return _MAPICore.IMAPITable_QueryColumns(self, ulFlags)

    def GetRowCount(self, ulFlags):
        return _MAPICore.IMAPITable_GetRowCount(self, ulFlags)

    def SeekRow(self, bkOrigin, lRowCount):
        return _MAPICore.IMAPITable_SeekRow(self, bkOrigin, lRowCount)

    def SeekRowApprox(self, ulNumerator, ulDenominator):
        return _MAPICore.IMAPITable_SeekRowApprox(self, ulNumerator, ulDenominator)

    def QueryPosition(self):
        return _MAPICore.IMAPITable_QueryPosition(self)

    def FindRow(self, lpRestriction, bkOrigin, ulFlags):
        return _MAPICore.IMAPITable_FindRow(self, lpRestriction, bkOrigin, ulFlags)

    def Restrict(self, lpRestriction, ulFlags):
        return _MAPICore.IMAPITable_Restrict(self, lpRestriction, ulFlags)

    def CreateBookmark(self):
        return _MAPICore.IMAPITable_CreateBookmark(self)

    def FreeBookmark(self, bkPosition):
        return _MAPICore.IMAPITable_FreeBookmark(self, bkPosition)

    def SortTable(self, lpSortCriteria, ulFlags):
        return _MAPICore.IMAPITable_SortTable(self, lpSortCriteria, ulFlags)

    def QuerySortOrder(self):
        return _MAPICore.IMAPITable_QuerySortOrder(self)

    def QueryRows(self, lRowCount, ulFlags):
        return _MAPICore.IMAPITable_QueryRows(self, lRowCount, ulFlags)

    def Abort(self):
        return _MAPICore.IMAPITable_Abort(self)

    def ExpandRow(self, cbInstanceKey, ulRowCount, ulFlags):
        return _MAPICore.IMAPITable_ExpandRow(self, cbInstanceKey, ulRowCount, ulFlags)

    def CollapseRow(self, cbInstanceKey, ulFlags):
        return _MAPICore.IMAPITable_CollapseRow(self, cbInstanceKey, ulFlags)

    def WaitForCompletion(self, ulFlags, ulTimeout):
        return _MAPICore.IMAPITable_WaitForCompletion(self, ulFlags, ulTimeout)

    def GetCollapseState(self, ulFlags, cbInstanceKey):
        return _MAPICore.IMAPITable_GetCollapseState(self, ulFlags, cbInstanceKey)

    def SetCollapseState(self, ulFlags, cbCollapseState):
        return _MAPICore.IMAPITable_SetCollapseState(self, ulFlags, cbCollapseState)
    __swig_destroy__ = _MAPICore.delete_IMAPITable
    __del__ = lambda self: None
IMAPITable_swigregister = _MAPICore.IMAPITable_swigregister
IMAPITable_swigregister(IMAPITable)


_MAPICore.MAPI_STORE_PROVIDER_swigconstant(_MAPICore)
MAPI_STORE_PROVIDER = _MAPICore.MAPI_STORE_PROVIDER

_MAPICore.MAPI_AB_swigconstant(_MAPICore)
MAPI_AB = _MAPICore.MAPI_AB

_MAPICore.MAPI_AB_PROVIDER_swigconstant(_MAPICore)
MAPI_AB_PROVIDER = _MAPICore.MAPI_AB_PROVIDER

_MAPICore.MAPI_TRANSPORT_PROVIDER_swigconstant(_MAPICore)
MAPI_TRANSPORT_PROVIDER = _MAPICore.MAPI_TRANSPORT_PROVIDER

_MAPICore.MAPI_SPOOLER_swigconstant(_MAPICore)
MAPI_SPOOLER = _MAPICore.MAPI_SPOOLER

_MAPICore.MAPI_PROFILE_PROVIDER_swigconstant(_MAPICore)
MAPI_PROFILE_PROVIDER = _MAPICore.MAPI_PROFILE_PROVIDER

_MAPICore.MAPI_SUBSYSTEM_swigconstant(_MAPICore)
MAPI_SUBSYSTEM = _MAPICore.MAPI_SUBSYSTEM

_MAPICore.MAPI_HOOK_PROVIDER_swigconstant(_MAPICore)
MAPI_HOOK_PROVIDER = _MAPICore.MAPI_HOOK_PROVIDER

_MAPICore.STATUS_VALIDATE_STATE_swigconstant(_MAPICore)
STATUS_VALIDATE_STATE = _MAPICore.STATUS_VALIDATE_STATE

_MAPICore.STATUS_SETTINGS_DIALOG_swigconstant(_MAPICore)
STATUS_SETTINGS_DIALOG = _MAPICore.STATUS_SETTINGS_DIALOG

_MAPICore.STATUS_CHANGE_PASSWORD_swigconstant(_MAPICore)
STATUS_CHANGE_PASSWORD = _MAPICore.STATUS_CHANGE_PASSWORD

_MAPICore.STATUS_FLUSH_QUEUES_swigconstant(_MAPICore)
STATUS_FLUSH_QUEUES = _MAPICore.STATUS_FLUSH_QUEUES

_MAPICore.STATUS_DEFAULT_OUTBOUND_swigconstant(_MAPICore)
STATUS_DEFAULT_OUTBOUND = _MAPICore.STATUS_DEFAULT_OUTBOUND

_MAPICore.STATUS_DEFAULT_STORE_swigconstant(_MAPICore)
STATUS_DEFAULT_STORE = _MAPICore.STATUS_DEFAULT_STORE

_MAPICore.STATUS_PRIMARY_IDENTITY_swigconstant(_MAPICore)
STATUS_PRIMARY_IDENTITY = _MAPICore.STATUS_PRIMARY_IDENTITY

_MAPICore.STATUS_SIMPLE_STORE_swigconstant(_MAPICore)
STATUS_SIMPLE_STORE = _MAPICore.STATUS_SIMPLE_STORE

_MAPICore.STATUS_XP_PREFER_LAST_swigconstant(_MAPICore)
STATUS_XP_PREFER_LAST = _MAPICore.STATUS_XP_PREFER_LAST

_MAPICore.STATUS_NO_PRIMARY_IDENTITY_swigconstant(_MAPICore)
STATUS_NO_PRIMARY_IDENTITY = _MAPICore.STATUS_NO_PRIMARY_IDENTITY

_MAPICore.STATUS_NO_DEFAULT_STORE_swigconstant(_MAPICore)
STATUS_NO_DEFAULT_STORE = _MAPICore.STATUS_NO_DEFAULT_STORE

_MAPICore.STATUS_TEMP_SECTION_swigconstant(_MAPICore)
STATUS_TEMP_SECTION = _MAPICore.STATUS_TEMP_SECTION

_MAPICore.STATUS_OWN_STORE_swigconstant(_MAPICore)
STATUS_OWN_STORE = _MAPICore.STATUS_OWN_STORE

_MAPICore.STATUS_NEED_IPM_TREE_swigconstant(_MAPICore)
STATUS_NEED_IPM_TREE = _MAPICore.STATUS_NEED_IPM_TREE

_MAPICore.STATUS_PRIMARY_STORE_swigconstant(_MAPICore)
STATUS_PRIMARY_STORE = _MAPICore.STATUS_PRIMARY_STORE

_MAPICore.STATUS_SECONDARY_STORE_swigconstant(_MAPICore)
STATUS_SECONDARY_STORE = _MAPICore.STATUS_SECONDARY_STORE

_MAPICore.STATUS_AVAILABLE_swigconstant(_MAPICore)
STATUS_AVAILABLE = _MAPICore.STATUS_AVAILABLE

_MAPICore.STATUS_OFFLINE_swigconstant(_MAPICore)
STATUS_OFFLINE = _MAPICore.STATUS_OFFLINE

_MAPICore.STATUS_FAILURE_swigconstant(_MAPICore)
STATUS_FAILURE = _MAPICore.STATUS_FAILURE

_MAPICore.STATUS_INBOUND_ENABLED_swigconstant(_MAPICore)
STATUS_INBOUND_ENABLED = _MAPICore.STATUS_INBOUND_ENABLED

_MAPICore.STATUS_INBOUND_ACTIVE_swigconstant(_MAPICore)
STATUS_INBOUND_ACTIVE = _MAPICore.STATUS_INBOUND_ACTIVE

_MAPICore.STATUS_INBOUND_FLUSH_swigconstant(_MAPICore)
STATUS_INBOUND_FLUSH = _MAPICore.STATUS_INBOUND_FLUSH

_MAPICore.STATUS_OUTBOUND_ENABLED_swigconstant(_MAPICore)
STATUS_OUTBOUND_ENABLED = _MAPICore.STATUS_OUTBOUND_ENABLED

_MAPICore.STATUS_OUTBOUND_ACTIVE_swigconstant(_MAPICore)
STATUS_OUTBOUND_ACTIVE = _MAPICore.STATUS_OUTBOUND_ACTIVE

_MAPICore.STATUS_OUTBOUND_FLUSH_swigconstant(_MAPICore)
STATUS_OUTBOUND_FLUSH = _MAPICore.STATUS_OUTBOUND_FLUSH

_MAPICore.STATUS_REMOTE_ACCESS_swigconstant(_MAPICore)
STATUS_REMOTE_ACCESS = _MAPICore.STATUS_REMOTE_ACCESS

_MAPICore.SUPPRESS_UI_swigconstant(_MAPICore)
SUPPRESS_UI = _MAPICore.SUPPRESS_UI

_MAPICore.REFRESH_XP_HEADER_CACHE_swigconstant(_MAPICore)
REFRESH_XP_HEADER_CACHE = _MAPICore.REFRESH_XP_HEADER_CACHE

_MAPICore.PROCESS_XP_HEADER_CACHE_swigconstant(_MAPICore)
PROCESS_XP_HEADER_CACHE = _MAPICore.PROCESS_XP_HEADER_CACHE

_MAPICore.FORCE_XP_CONNECT_swigconstant(_MAPICore)
FORCE_XP_CONNECT = _MAPICore.FORCE_XP_CONNECT

_MAPICore.FORCE_XP_DISCONNECT_swigconstant(_MAPICore)
FORCE_XP_DISCONNECT = _MAPICore.FORCE_XP_DISCONNECT

_MAPICore.CONFIG_CHANGED_swigconstant(_MAPICore)
CONFIG_CHANGED = _MAPICore.CONFIG_CHANGED

_MAPICore.ABORT_XP_HEADER_OPERATION_swigconstant(_MAPICore)
ABORT_XP_HEADER_OPERATION = _MAPICore.ABORT_XP_HEADER_OPERATION

_MAPICore.SHOW_XP_SESSION_UI_swigconstant(_MAPICore)
SHOW_XP_SESSION_UI = _MAPICore.SHOW_XP_SESSION_UI

_MAPICore.UI_READONLY_swigconstant(_MAPICore)
UI_READONLY = _MAPICore.UI_READONLY

_MAPICore.FLUSH_UPLOAD_swigconstant(_MAPICore)
FLUSH_UPLOAD = _MAPICore.FLUSH_UPLOAD

_MAPICore.FLUSH_DOWNLOAD_swigconstant(_MAPICore)
FLUSH_DOWNLOAD = _MAPICore.FLUSH_DOWNLOAD

_MAPICore.FLUSH_FORCE_swigconstant(_MAPICore)
FLUSH_FORCE = _MAPICore.FLUSH_FORCE

_MAPICore.FLUSH_NO_UI_swigconstant(_MAPICore)
FLUSH_NO_UI = _MAPICore.FLUSH_NO_UI

_MAPICore.FLUSH_ASYNC_OK_swigconstant(_MAPICore)
FLUSH_ASYNC_OK = _MAPICore.FLUSH_ASYNC_OK
class IProfSect(IMAPIProp):
    __swig_setmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IProfSect, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IProfSect, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _MAPICore.delete_IProfSect
    __del__ = lambda self: None
IProfSect_swigregister = _MAPICore.IProfSect_swigregister
IProfSect_swigregister(IProfSect)


_MAPICore.MAPI_TOP_LEVEL_swigconstant(_MAPICore)
MAPI_TOP_LEVEL = _MAPICore.MAPI_TOP_LEVEL
class IMAPIProgress(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMAPIProgress, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMAPIProgress, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def Progress(self, ulValue, ulCount, ulTotal):
        return _MAPICore.IMAPIProgress_Progress(self, ulValue, ulCount, ulTotal)

    def GetFlags(self):
        return _MAPICore.IMAPIProgress_GetFlags(self)

    def GetMax(self):
        return _MAPICore.IMAPIProgress_GetMax(self)

    def GetMin(self):
        return _MAPICore.IMAPIProgress_GetMin(self)

    def SetLimits(self):
        return _MAPICore.IMAPIProgress_SetLimits(self)
    __swig_destroy__ = _MAPICore.delete_IMAPIProgress
    __del__ = lambda self: None
IMAPIProgress_swigregister = _MAPICore.IMAPIProgress_swigregister
IMAPIProgress_swigregister(IMAPIProgress)


_MAPICore.UI_SERVICE_swigconstant(_MAPICore)
UI_SERVICE = _MAPICore.UI_SERVICE

_MAPICore.SERVICE_UI_ALWAYS_swigconstant(_MAPICore)
SERVICE_UI_ALWAYS = _MAPICore.SERVICE_UI_ALWAYS

_MAPICore.SERVICE_UI_ALLOWED_swigconstant(_MAPICore)
SERVICE_UI_ALLOWED = _MAPICore.SERVICE_UI_ALLOWED

_MAPICore.UI_CURRENT_PROVIDER_FIRST_swigconstant(_MAPICore)
UI_CURRENT_PROVIDER_FIRST = _MAPICore.UI_CURRENT_PROVIDER_FIRST
class IProviderAdmin(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IProviderAdmin, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IProviderAdmin, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags):
        return _MAPICore.IProviderAdmin_GetLastError(self, hResult, ulFlags)

    def GetProviderTable(self, ulFlags, OUTPUT):
        return _MAPICore.IProviderAdmin_GetProviderTable(self, ulFlags, OUTPUT)

    def CreateProvider(self, lpszProvider, cValues, ulUIParam, ulFlags):
        return _MAPICore.IProviderAdmin_CreateProvider(self, lpszProvider, cValues, ulUIParam, ulFlags)

    def DeleteProvider(self, lpUID):
        return _MAPICore.IProviderAdmin_DeleteProvider(self, lpUID)

    def OpenProfileSection(self, lpUID, lpInterface, ulFlags):
        return _MAPICore.IProviderAdmin_OpenProfileSection(self, lpUID, lpInterface, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IProviderAdmin
    __del__ = lambda self: None
IProviderAdmin_swigregister = _MAPICore.IProviderAdmin_swigregister
IProviderAdmin_swigregister(IProviderAdmin)


_MAPICore.ADRPARM_HELP_CTX_swigconstant(_MAPICore)
ADRPARM_HELP_CTX = _MAPICore.ADRPARM_HELP_CTX

_MAPICore.DIALOG_MODAL_swigconstant(_MAPICore)
DIALOG_MODAL = _MAPICore.DIALOG_MODAL

_MAPICore.DIALOG_SDI_swigconstant(_MAPICore)
DIALOG_SDI = _MAPICore.DIALOG_SDI

_MAPICore.DIALOG_OPTIONS_swigconstant(_MAPICore)
DIALOG_OPTIONS = _MAPICore.DIALOG_OPTIONS

_MAPICore.ADDRESS_ONE_swigconstant(_MAPICore)
ADDRESS_ONE = _MAPICore.ADDRESS_ONE

_MAPICore.AB_SELECTONLY_swigconstant(_MAPICore)
AB_SELECTONLY = _MAPICore.AB_SELECTONLY

_MAPICore.AB_RESOLVE_swigconstant(_MAPICore)
AB_RESOLVE = _MAPICore.AB_RESOLVE

_MAPICore.DT_MAILUSER_swigconstant(_MAPICore)
DT_MAILUSER = _MAPICore.DT_MAILUSER

_MAPICore.DT_DISTLIST_swigconstant(_MAPICore)
DT_DISTLIST = _MAPICore.DT_DISTLIST

_MAPICore.DT_FORUM_swigconstant(_MAPICore)
DT_FORUM = _MAPICore.DT_FORUM

_MAPICore.DT_AGENT_swigconstant(_MAPICore)
DT_AGENT = _MAPICore.DT_AGENT

_MAPICore.DT_ORGANIZATION_swigconstant(_MAPICore)
DT_ORGANIZATION = _MAPICore.DT_ORGANIZATION

_MAPICore.DT_PRIVATE_DISTLIST_swigconstant(_MAPICore)
DT_PRIVATE_DISTLIST = _MAPICore.DT_PRIVATE_DISTLIST

_MAPICore.DT_REMOTE_MAILUSER_swigconstant(_MAPICore)
DT_REMOTE_MAILUSER = _MAPICore.DT_REMOTE_MAILUSER

_MAPICore.DT_MODIFIABLE_swigconstant(_MAPICore)
DT_MODIFIABLE = _MAPICore.DT_MODIFIABLE

_MAPICore.DT_GLOBAL_swigconstant(_MAPICore)
DT_GLOBAL = _MAPICore.DT_GLOBAL

_MAPICore.DT_LOCAL_swigconstant(_MAPICore)
DT_LOCAL = _MAPICore.DT_LOCAL

_MAPICore.DT_WAN_swigconstant(_MAPICore)
DT_WAN = _MAPICore.DT_WAN

_MAPICore.DT_NOT_SPECIFIC_swigconstant(_MAPICore)
DT_NOT_SPECIFIC = _MAPICore.DT_NOT_SPECIFIC

_MAPICore.DT_FOLDER_swigconstant(_MAPICore)
DT_FOLDER = _MAPICore.DT_FOLDER

_MAPICore.DT_FOLDER_LINK_swigconstant(_MAPICore)
DT_FOLDER_LINK = _MAPICore.DT_FOLDER_LINK

_MAPICore.DT_FOLDER_SPECIAL_swigconstant(_MAPICore)
DT_FOLDER_SPECIAL = _MAPICore.DT_FOLDER_SPECIAL

_MAPICore.MAPI_DEFERRED_ERRORS_swigconstant(_MAPICore)
MAPI_DEFERRED_ERRORS = _MAPICore.MAPI_DEFERRED_ERRORS

_MAPICore.MAPI_ASSOCIATED_swigconstant(_MAPICore)
MAPI_ASSOCIATED = _MAPICore.MAPI_ASSOCIATED

_MAPICore.MDB_NO_DIALOG_swigconstant(_MAPICore)
MDB_NO_DIALOG = _MAPICore.MDB_NO_DIALOG

_MAPICore.MDB_WRITE_swigconstant(_MAPICore)
MDB_WRITE = _MAPICore.MDB_WRITE

_MAPICore.MDB_TEMPORARY_swigconstant(_MAPICore)
MDB_TEMPORARY = _MAPICore.MDB_TEMPORARY

_MAPICore.MDB_NO_MAIL_swigconstant(_MAPICore)
MDB_NO_MAIL = _MAPICore.MDB_NO_MAIL

_MAPICore.AB_NO_DIALOG_swigconstant(_MAPICore)
AB_NO_DIALOG = _MAPICore.AB_NO_DIALOG

_MAPICore.EC_OVERRIDE_HOMESERVER_swigconstant(_MAPICore)
EC_OVERRIDE_HOMESERVER = _MAPICore.EC_OVERRIDE_HOMESERVER
class MAPIProp(IMAPIProp):
    __swig_setmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, MAPIProp, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, MAPIProp, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == MAPIProp:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_MAPIProp(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_MAPIProp
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_MAPIProp(self)
        return weakref_proxy(self)
MAPIProp_swigregister = _MAPICore.MAPIProp_swigregister
MAPIProp_swigregister(MAPIProp)

class Message(IMessage):
    __swig_setmethods__ = {}
    for _s in [IMessage]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, Message, name, value)
    __swig_getmethods__ = {}
    for _s in [IMessage]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, Message, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == Message:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_Message(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_Message
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_Message(self)
        return weakref_proxy(self)
Message_swigregister = _MAPICore.Message_swigregister
Message_swigregister(Message)

class Attach(IAttach):
    __swig_setmethods__ = {}
    for _s in [IAttach]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, Attach, name, value)
    __swig_getmethods__ = {}
    for _s in [IAttach]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, Attach, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == Attach:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_Attach(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_Attach
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_Attach(self)
        return weakref_proxy(self)
Attach_swigregister = _MAPICore.Attach_swigregister
Attach_swigregister(Attach)

class MAPITable(IMAPITable):
    __swig_setmethods__ = {}
    for _s in [IMAPITable]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, MAPITable, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPITable]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, MAPITable, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == MAPITable:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_MAPITable(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_MAPITable
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_MAPITable(self)
        return weakref_proxy(self)
MAPITable_swigregister = _MAPICore.MAPITable_swigregister
MAPITable_swigregister(MAPITable)


def wrap_IMessage(lpMessage):
    return _MAPICore.wrap_IMessage(lpMessage)
wrap_IMessage = _MAPICore.wrap_IMessage

_MAPICore.MAPI_ALLOW_OTHERS_swigconstant(_MAPICore)
MAPI_ALLOW_OTHERS = _MAPICore.MAPI_ALLOW_OTHERS

_MAPICore.MAPI_EXPLICIT_PROFILE_swigconstant(_MAPICore)
MAPI_EXPLICIT_PROFILE = _MAPICore.MAPI_EXPLICIT_PROFILE

_MAPICore.MAPI_SERVICE_UI_ALWAYS_swigconstant(_MAPICore)
MAPI_SERVICE_UI_ALWAYS = _MAPICore.MAPI_SERVICE_UI_ALWAYS

_MAPICore.MAPI_NO_MAIL_swigconstant(_MAPICore)
MAPI_NO_MAIL = _MAPICore.MAPI_NO_MAIL

_MAPICore.MAPI_NT_SERVICE_swigconstant(_MAPICore)
MAPI_NT_SERVICE = _MAPICore.MAPI_NT_SERVICE

_MAPICore.MAPI_TIMEOUT_SHORT_swigconstant(_MAPICore)
MAPI_TIMEOUT_SHORT = _MAPICore.MAPI_TIMEOUT_SHORT
class MAPIINIT_0(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MAPIINIT_0, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MAPIINIT_0, name)
    __repr__ = _swig_repr
    __swig_setmethods__["ulVersion"] = _MAPICore.MAPIINIT_0_ulVersion_set
    __swig_getmethods__["ulVersion"] = _MAPICore.MAPIINIT_0_ulVersion_get
    if _newclass:
        ulVersion = _swig_property(_MAPICore.MAPIINIT_0_ulVersion_get, _MAPICore.MAPIINIT_0_ulVersion_set)
    __swig_setmethods__["ulFlags"] = _MAPICore.MAPIINIT_0_ulFlags_set
    __swig_getmethods__["ulFlags"] = _MAPICore.MAPIINIT_0_ulFlags_get
    if _newclass:
        ulFlags = _swig_property(_MAPICore.MAPIINIT_0_ulFlags_get, _MAPICore.MAPIINIT_0_ulFlags_set)

    def __init__(self):
        this = _MAPICore.new_MAPIINIT_0()
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_MAPIINIT_0
    __del__ = lambda self: None
MAPIINIT_0_swigregister = _MAPICore.MAPIINIT_0_swigregister
MAPIINIT_0_swigregister(MAPIINIT_0)


_MAPICore.MAPI_INIT_VERSION_swigconstant(_MAPICore)
MAPI_INIT_VERSION = _MAPICore.MAPI_INIT_VERSION

_MAPICore.MAPI_MULTITHREAD_NOTIFICATIONS_swigconstant(_MAPICore)
MAPI_MULTITHREAD_NOTIFICATIONS = _MAPICore.MAPI_MULTITHREAD_NOTIFICATIONS

def MAPIInitialize(lpMapiInit):
    return _MAPICore.MAPIInitialize(lpMapiInit)
MAPIInitialize = _MAPICore.MAPIInitialize

def MAPIUninitialize():
    return _MAPICore.MAPIUninitialize()
MAPIUninitialize = _MAPICore.MAPIUninitialize

def MAPILogonEx(ulUIParam, lpszProfileName, lpszPassword, ulFlags):
    return _MAPICore.MAPILogonEx(ulUIParam, lpszProfileName, lpszPassword, ulFlags)
MAPILogonEx = _MAPICore.MAPILogonEx

def MAPIAdminProfiles(ulFlags):
    return _MAPICore.MAPIAdminProfiles(ulFlags)
MAPIAdminProfiles = _MAPICore.MAPIAdminProfiles

_MAPICore.MAPI_LOGOFF_SHARED_swigconstant(_MAPICore)
MAPI_LOGOFF_SHARED = _MAPICore.MAPI_LOGOFF_SHARED

_MAPICore.MAPI_LOGOFF_UI_swigconstant(_MAPICore)
MAPI_LOGOFF_UI = _MAPICore.MAPI_LOGOFF_UI

_MAPICore.MAPI_DEFAULT_STORE_swigconstant(_MAPICore)
MAPI_DEFAULT_STORE = _MAPICore.MAPI_DEFAULT_STORE

_MAPICore.MAPI_SIMPLE_STORE_TEMPORARY_swigconstant(_MAPICore)
MAPI_SIMPLE_STORE_TEMPORARY = _MAPICore.MAPI_SIMPLE_STORE_TEMPORARY

_MAPICore.MAPI_SIMPLE_STORE_PERMANENT_swigconstant(_MAPICore)
MAPI_SIMPLE_STORE_PERMANENT = _MAPICore.MAPI_SIMPLE_STORE_PERMANENT

_MAPICore.MAPI_PRIMARY_STORE_swigconstant(_MAPICore)
MAPI_PRIMARY_STORE = _MAPICore.MAPI_PRIMARY_STORE

_MAPICore.MAPI_SECONDARY_STORE_swigconstant(_MAPICore)
MAPI_SECONDARY_STORE = _MAPICore.MAPI_SECONDARY_STORE

_MAPICore.MAPI_POST_MESSAGE_swigconstant(_MAPICore)
MAPI_POST_MESSAGE = _MAPICore.MAPI_POST_MESSAGE

_MAPICore.MAPI_NEW_MESSAGE_swigconstant(_MAPICore)
MAPI_NEW_MESSAGE = _MAPICore.MAPI_NEW_MESSAGE
class IMAPISession(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMAPISession, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMAPISession, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags, OUTPUT):
        return _MAPICore.IMAPISession_GetLastError(self, hResult, ulFlags, OUTPUT)

    def GetMsgStoresTable(self, ulFlags):
        return _MAPICore.IMAPISession_GetMsgStoresTable(self, ulFlags)

    def OpenMsgStore(self, ulUIParam, cbEntryID, lpInterface, ulFlags):
        return _MAPICore.IMAPISession_OpenMsgStore(self, ulUIParam, cbEntryID, lpInterface, ulFlags)

    def OpenAddressBook(self, ulUIParam, lpInterface, ulFlags):
        return _MAPICore.IMAPISession_OpenAddressBook(self, ulUIParam, lpInterface, ulFlags)

    def OpenProfileSection(self, lpUID, lpInterface, ulFlags):
        return _MAPICore.IMAPISession_OpenProfileSection(self, lpUID, lpInterface, ulFlags)

    def GetStatusTable(self, ulFlags):
        return _MAPICore.IMAPISession_GetStatusTable(self, ulFlags)

    def OpenEntry(self, cbEntryID, lpInterface, ulFlags):
        return _MAPICore.IMAPISession_OpenEntry(self, cbEntryID, lpInterface, ulFlags)

    def CompareEntryIDs(self, cbEntryID1, cbEntryID2, ulFlags):
        return _MAPICore.IMAPISession_CompareEntryIDs(self, cbEntryID1, cbEntryID2, ulFlags)

    def Advise(self, cbEntryID, ulEventMask, lpAdviseSink):
        return _MAPICore.IMAPISession_Advise(self, cbEntryID, ulEventMask, lpAdviseSink)

    def Unadvise(self, ulConnection):
        return _MAPICore.IMAPISession_Unadvise(self, ulConnection)

    def MessageOptions(self, ulUIParam, ulFlags, lpszAdrType, lpMessage):
        return _MAPICore.IMAPISession_MessageOptions(self, ulUIParam, ulFlags, lpszAdrType, lpMessage)

    def QueryDefaultMessageOpt(self, lpszAdrType, ulFlags, lppOptions):
        return _MAPICore.IMAPISession_QueryDefaultMessageOpt(self, lpszAdrType, ulFlags, lppOptions)

    def EnumAdrTypes(self, ulFlags, arg4):
        return _MAPICore.IMAPISession_EnumAdrTypes(self, ulFlags, arg4)

    def QueryIdentity(self):
        return _MAPICore.IMAPISession_QueryIdentity(self)

    def Logoff(self, ulUIParam, ulFlags, ulReserved):
        return _MAPICore.IMAPISession_Logoff(self, ulUIParam, ulFlags, ulReserved)

    def SetDefaultStore(self, ulFlags, cbEntryID):
        return _MAPICore.IMAPISession_SetDefaultStore(self, ulFlags, cbEntryID)

    def AdminServices(self, ulFlags):
        return _MAPICore.IMAPISession_AdminServices(self, ulFlags)

    def ShowForm(self, ulUIParam, lpMsgStore, lpParentFolder, lpInterface, ulMessageToken, lpMessageSent, ulFlags, ulMessageStatus, ulMessageFlags, ulAccess, lpszMessageClass):
        return _MAPICore.IMAPISession_ShowForm(self, ulUIParam, lpMsgStore, lpParentFolder, lpInterface, ulMessageToken, lpMessageSent, ulFlags, ulMessageStatus, ulMessageFlags, ulAccess, lpszMessageClass)

    def PrepareForm(self, lpInterface, lpMessage):
        return _MAPICore.IMAPISession_PrepareForm(self, lpInterface, lpMessage)
    __swig_destroy__ = _MAPICore.delete_IMAPISession
    __del__ = lambda self: None
IMAPISession_swigregister = _MAPICore.IMAPISession_swigregister
IMAPISession_swigregister(IMAPISession)

class IAddrBook(IMAPIProp):
    __swig_setmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IAddrBook, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIProp]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IAddrBook, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def OpenEntry(self, cbEntryID, lpInterface, ulFlags):
        return _MAPICore.IAddrBook_OpenEntry(self, cbEntryID, lpInterface, ulFlags)

    def CompareEntryIDs(self, cbEntryID1, cbEntryID2, ulFlags):
        return _MAPICore.IAddrBook_CompareEntryIDs(self, cbEntryID1, cbEntryID2, ulFlags)

    def Advise(self, cbEntryID, ulEventMask, lpAdviseSink):
        return _MAPICore.IAddrBook_Advise(self, cbEntryID, ulEventMask, lpAdviseSink)

    def Unadvise(self, ulConnection):
        return _MAPICore.IAddrBook_Unadvise(self, ulConnection)

    def CreateOneOff(self, lpszName, lpszAdrType, lpszAddress, ulFlags):
        return _MAPICore.IAddrBook_CreateOneOff(self, lpszName, lpszAdrType, lpszAddress, ulFlags)

    def NewEntry(self, ulUIParam, ulFlags, cbEIDContainer, cbEIDNewEntryTpl):
        return _MAPICore.IAddrBook_NewEntry(self, ulUIParam, ulFlags, cbEIDContainer, cbEIDNewEntryTpl)

    def ResolveName(self, ulUIParam, ulFlags, lpszNewEntryTitle, INOUT):
        return _MAPICore.IAddrBook_ResolveName(self, ulUIParam, ulFlags, lpszNewEntryTitle, INOUT)

    def Address(self, lpAdrParms):
        return _MAPICore.IAddrBook_Address(self, lpAdrParms)

    def Details(self, lpfnDismiss, lpvDismissContext, cbEntryID, lpfButtonCallback, lpvButtonContext, lpszButtonText, ulFlags):
        return _MAPICore.IAddrBook_Details(self, lpfnDismiss, lpvDismissContext, cbEntryID, lpfButtonCallback, lpvButtonContext, lpszButtonText, ulFlags)

    def RecipOptions(self, ulUIParam, ulFlags, lpRecip):
        return _MAPICore.IAddrBook_RecipOptions(self, ulUIParam, ulFlags, lpRecip)

    def QueryDefaultRecipOpt(self, lpszAdrType, ulFlags, arg5):
        return _MAPICore.IAddrBook_QueryDefaultRecipOpt(self, lpszAdrType, ulFlags, arg5)

    def GetPAB(self):
        return _MAPICore.IAddrBook_GetPAB(self)

    def SetPAB(self, cbEntryID):
        return _MAPICore.IAddrBook_SetPAB(self, cbEntryID)

    def GetDefaultDir(self):
        return _MAPICore.IAddrBook_GetDefaultDir(self)

    def SetDefaultDir(self, cbEntryID):
        return _MAPICore.IAddrBook_SetDefaultDir(self, cbEntryID)

    def GetSearchPath(self, ulFlags):
        return _MAPICore.IAddrBook_GetSearchPath(self, ulFlags)

    def SetSearchPath(self, ulFlags, INPUT):
        return _MAPICore.IAddrBook_SetSearchPath(self, ulFlags, INPUT)

    def PrepareRecips(self, ulFlags, lpPropTagArray, INOUT):
        return _MAPICore.IAddrBook_PrepareRecips(self, ulFlags, lpPropTagArray, INOUT)
    __swig_destroy__ = _MAPICore.delete_IAddrBook
    __del__ = lambda self: None
IAddrBook_swigregister = _MAPICore.IAddrBook_swigregister
IAddrBook_swigregister(IAddrBook)


_MAPICore.MAPI_DEFAULT_SERVICES_swigconstant(_MAPICore)
MAPI_DEFAULT_SERVICES = _MAPICore.MAPI_DEFAULT_SERVICES
class IProfAdmin(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IProfAdmin, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IProfAdmin, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags):
        return _MAPICore.IProfAdmin_GetLastError(self, hResult, ulFlags)

    def GetProfileTable(self, ulFlags):
        return _MAPICore.IProfAdmin_GetProfileTable(self, ulFlags)

    def CreateProfile(self, lpszProfileName, lpszPassword, ulUIParam, ulFlags):
        return _MAPICore.IProfAdmin_CreateProfile(self, lpszProfileName, lpszPassword, ulUIParam, ulFlags)

    def DeleteProfile(self, lpszProfileName, ulFlags):
        return _MAPICore.IProfAdmin_DeleteProfile(self, lpszProfileName, ulFlags)

    def ChangeProfilePassword(self, lpszProfileName, lpszOldPassword, lpszNewPassword, ulFlags):
        return _MAPICore.IProfAdmin_ChangeProfilePassword(self, lpszProfileName, lpszOldPassword, lpszNewPassword, ulFlags)

    def CopyProfile(self, lpszOldProfileName, lpszOldPassword, lpszNewProfileName, ulUIParam, ulFlags):
        return _MAPICore.IProfAdmin_CopyProfile(self, lpszOldProfileName, lpszOldPassword, lpszNewProfileName, ulUIParam, ulFlags)

    def RenameProfile(self, lpszOldProfileName, lpszOldPassword, lpszNewProfileName, ulUIParam, ulFlags):
        return _MAPICore.IProfAdmin_RenameProfile(self, lpszOldProfileName, lpszOldPassword, lpszNewProfileName, ulUIParam, ulFlags)

    def SetDefaultProfile(self, lpszProfileName, ulFlags):
        return _MAPICore.IProfAdmin_SetDefaultProfile(self, lpszProfileName, ulFlags)

    def AdminServices(self, lpszProfileName, lpszPassword, ulUIParam, ulFlags):
        return _MAPICore.IProfAdmin_AdminServices(self, lpszProfileName, lpszPassword, ulUIParam, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IProfAdmin
    __del__ = lambda self: None
IProfAdmin_swigregister = _MAPICore.IProfAdmin_swigregister
IProfAdmin_swigregister(IProfAdmin)


_MAPICore.SERVICE_DEFAULT_STORE_swigconstant(_MAPICore)
SERVICE_DEFAULT_STORE = _MAPICore.SERVICE_DEFAULT_STORE

_MAPICore.SERVICE_SINGLE_COPY_swigconstant(_MAPICore)
SERVICE_SINGLE_COPY = _MAPICore.SERVICE_SINGLE_COPY

_MAPICore.SERVICE_CREATE_WITH_STORE_swigconstant(_MAPICore)
SERVICE_CREATE_WITH_STORE = _MAPICore.SERVICE_CREATE_WITH_STORE

_MAPICore.SERVICE_PRIMARY_IDENTITY_swigconstant(_MAPICore)
SERVICE_PRIMARY_IDENTITY = _MAPICore.SERVICE_PRIMARY_IDENTITY

_MAPICore.SERVICE_NO_PRIMARY_IDENTITY_swigconstant(_MAPICore)
SERVICE_NO_PRIMARY_IDENTITY = _MAPICore.SERVICE_NO_PRIMARY_IDENTITY
class IMsgServiceAdmin(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IMsgServiceAdmin, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IMsgServiceAdmin, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags):
        return _MAPICore.IMsgServiceAdmin_GetLastError(self, hResult, ulFlags)

    def GetMsgServiceTable(self, ulFlags):
        return _MAPICore.IMsgServiceAdmin_GetMsgServiceTable(self, ulFlags)

    def CreateMsgService(self, lpszService, lpszDisplayName, ulUIParam, ulFlags):
        return _MAPICore.IMsgServiceAdmin_CreateMsgService(self, lpszService, lpszDisplayName, ulUIParam, ulFlags)

    def DeleteMsgService(self, lpUID):
        return _MAPICore.IMsgServiceAdmin_DeleteMsgService(self, lpUID)

    def CopyMsgService(self, lpUID, lpszDisplayName, lpInterfaceToCopy, lpInterfaceDst, lpObjectDst, ulUIParam, ulFlags):
        return _MAPICore.IMsgServiceAdmin_CopyMsgService(self, lpUID, lpszDisplayName, lpInterfaceToCopy, lpInterfaceDst, lpObjectDst, ulUIParam, ulFlags)

    def RenameMsgService(self, lpUID, ulFlags, lpszDisplayName):
        return _MAPICore.IMsgServiceAdmin_RenameMsgService(self, lpUID, ulFlags, lpszDisplayName)

    def ConfigureMsgService(self, lpUID, ulUIParam, ulFlags, cValues):
        return _MAPICore.IMsgServiceAdmin_ConfigureMsgService(self, lpUID, ulUIParam, ulFlags, cValues)

    def OpenProfileSection(self, lpUID, lpInterface, ulFlags):
        return _MAPICore.IMsgServiceAdmin_OpenProfileSection(self, lpUID, lpInterface, ulFlags)

    def MsgServiceTransportOrder(self, cUID, lpUIDList, ulFlags):
        return _MAPICore.IMsgServiceAdmin_MsgServiceTransportOrder(self, cUID, lpUIDList, ulFlags)

    def AdminProviders(self, lpUID, ulFlags):
        return _MAPICore.IMsgServiceAdmin_AdminProviders(self, lpUID, ulFlags)

    def SetPrimaryIdentity(self, lpUID, ulFlags):
        return _MAPICore.IMsgServiceAdmin_SetPrimaryIdentity(self, lpUID, ulFlags)

    def GetProviderTable(self, ulFlags):
        return _MAPICore.IMsgServiceAdmin_GetProviderTable(self, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IMsgServiceAdmin
    __del__ = lambda self: None
IMsgServiceAdmin_swigregister = _MAPICore.IMsgServiceAdmin_swigregister
IMsgServiceAdmin_swigregister(IMsgServiceAdmin)


_MAPICore.MAPI_E_CALL_FAILED_swigconstant(_MAPICore)
MAPI_E_CALL_FAILED = _MAPICore.MAPI_E_CALL_FAILED

_MAPICore.MAPI_E_NOT_ENOUGH_MEMORY_swigconstant(_MAPICore)
MAPI_E_NOT_ENOUGH_MEMORY = _MAPICore.MAPI_E_NOT_ENOUGH_MEMORY

_MAPICore.MAPI_E_INVALID_PARAMETER_swigconstant(_MAPICore)
MAPI_E_INVALID_PARAMETER = _MAPICore.MAPI_E_INVALID_PARAMETER

_MAPICore.MAPI_E_INTERFACE_NOT_SUPPORTED_swigconstant(_MAPICore)
MAPI_E_INTERFACE_NOT_SUPPORTED = _MAPICore.MAPI_E_INTERFACE_NOT_SUPPORTED

_MAPICore.MAPI_E_NO_ACCESS_swigconstant(_MAPICore)
MAPI_E_NO_ACCESS = _MAPICore.MAPI_E_NO_ACCESS

_MAPICore.MAPI_E_NO_SUPPORT_swigconstant(_MAPICore)
MAPI_E_NO_SUPPORT = _MAPICore.MAPI_E_NO_SUPPORT

_MAPICore.MAPI_E_BAD_CHARWIDTH_swigconstant(_MAPICore)
MAPI_E_BAD_CHARWIDTH = _MAPICore.MAPI_E_BAD_CHARWIDTH

_MAPICore.MAPI_E_STRING_TOO_LONG_swigconstant(_MAPICore)
MAPI_E_STRING_TOO_LONG = _MAPICore.MAPI_E_STRING_TOO_LONG

_MAPICore.MAPI_E_UNKNOWN_FLAGS_swigconstant(_MAPICore)
MAPI_E_UNKNOWN_FLAGS = _MAPICore.MAPI_E_UNKNOWN_FLAGS

_MAPICore.MAPI_E_INVALID_ENTRYID_swigconstant(_MAPICore)
MAPI_E_INVALID_ENTRYID = _MAPICore.MAPI_E_INVALID_ENTRYID

_MAPICore.MAPI_E_INVALID_OBJECT_swigconstant(_MAPICore)
MAPI_E_INVALID_OBJECT = _MAPICore.MAPI_E_INVALID_OBJECT

_MAPICore.MAPI_E_OBJECT_CHANGED_swigconstant(_MAPICore)
MAPI_E_OBJECT_CHANGED = _MAPICore.MAPI_E_OBJECT_CHANGED

_MAPICore.MAPI_E_OBJECT_DELETED_swigconstant(_MAPICore)
MAPI_E_OBJECT_DELETED = _MAPICore.MAPI_E_OBJECT_DELETED

_MAPICore.MAPI_E_BUSY_swigconstant(_MAPICore)
MAPI_E_BUSY = _MAPICore.MAPI_E_BUSY

_MAPICore.MAPI_E_NOT_ENOUGH_DISK_swigconstant(_MAPICore)
MAPI_E_NOT_ENOUGH_DISK = _MAPICore.MAPI_E_NOT_ENOUGH_DISK

_MAPICore.MAPI_E_NOT_ENOUGH_RESOURCES_swigconstant(_MAPICore)
MAPI_E_NOT_ENOUGH_RESOURCES = _MAPICore.MAPI_E_NOT_ENOUGH_RESOURCES

_MAPICore.MAPI_E_NOT_FOUND_swigconstant(_MAPICore)
MAPI_E_NOT_FOUND = _MAPICore.MAPI_E_NOT_FOUND

_MAPICore.MAPI_E_VERSION_swigconstant(_MAPICore)
MAPI_E_VERSION = _MAPICore.MAPI_E_VERSION

_MAPICore.MAPI_E_LOGON_FAILED_swigconstant(_MAPICore)
MAPI_E_LOGON_FAILED = _MAPICore.MAPI_E_LOGON_FAILED

_MAPICore.MAPI_E_SESSION_LIMIT_swigconstant(_MAPICore)
MAPI_E_SESSION_LIMIT = _MAPICore.MAPI_E_SESSION_LIMIT

_MAPICore.MAPI_E_USER_CANCEL_swigconstant(_MAPICore)
MAPI_E_USER_CANCEL = _MAPICore.MAPI_E_USER_CANCEL

_MAPICore.MAPI_E_UNABLE_TO_ABORT_swigconstant(_MAPICore)
MAPI_E_UNABLE_TO_ABORT = _MAPICore.MAPI_E_UNABLE_TO_ABORT

_MAPICore.MAPI_E_NETWORK_ERROR_swigconstant(_MAPICore)
MAPI_E_NETWORK_ERROR = _MAPICore.MAPI_E_NETWORK_ERROR

_MAPICore.MAPI_E_DISK_ERROR_swigconstant(_MAPICore)
MAPI_E_DISK_ERROR = _MAPICore.MAPI_E_DISK_ERROR

_MAPICore.MAPI_E_TOO_COMPLEX_swigconstant(_MAPICore)
MAPI_E_TOO_COMPLEX = _MAPICore.MAPI_E_TOO_COMPLEX

_MAPICore.MAPI_E_BAD_COLUMN_swigconstant(_MAPICore)
MAPI_E_BAD_COLUMN = _MAPICore.MAPI_E_BAD_COLUMN

_MAPICore.MAPI_E_EXTENDED_ERROR_swigconstant(_MAPICore)
MAPI_E_EXTENDED_ERROR = _MAPICore.MAPI_E_EXTENDED_ERROR

_MAPICore.MAPI_E_COMPUTED_swigconstant(_MAPICore)
MAPI_E_COMPUTED = _MAPICore.MAPI_E_COMPUTED

_MAPICore.MAPI_E_CORRUPT_DATA_swigconstant(_MAPICore)
MAPI_E_CORRUPT_DATA = _MAPICore.MAPI_E_CORRUPT_DATA

_MAPICore.MAPI_E_UNCONFIGURED_swigconstant(_MAPICore)
MAPI_E_UNCONFIGURED = _MAPICore.MAPI_E_UNCONFIGURED

_MAPICore.MAPI_E_FAILONEPROVIDER_swigconstant(_MAPICore)
MAPI_E_FAILONEPROVIDER = _MAPICore.MAPI_E_FAILONEPROVIDER

_MAPICore.MAPI_E_UNKNOWN_CPID_swigconstant(_MAPICore)
MAPI_E_UNKNOWN_CPID = _MAPICore.MAPI_E_UNKNOWN_CPID

_MAPICore.MAPI_E_UNKNOWN_LCID_swigconstant(_MAPICore)
MAPI_E_UNKNOWN_LCID = _MAPICore.MAPI_E_UNKNOWN_LCID

_MAPICore.MAPI_E_PASSWORD_CHANGE_REQUIRED_swigconstant(_MAPICore)
MAPI_E_PASSWORD_CHANGE_REQUIRED = _MAPICore.MAPI_E_PASSWORD_CHANGE_REQUIRED

_MAPICore.MAPI_E_PASSWORD_EXPIRED_swigconstant(_MAPICore)
MAPI_E_PASSWORD_EXPIRED = _MAPICore.MAPI_E_PASSWORD_EXPIRED

_MAPICore.MAPI_E_INVALID_WORKSTATION_ACCOUNT_swigconstant(_MAPICore)
MAPI_E_INVALID_WORKSTATION_ACCOUNT = _MAPICore.MAPI_E_INVALID_WORKSTATION_ACCOUNT

_MAPICore.MAPI_E_INVALID_ACCESS_TIME_swigconstant(_MAPICore)
MAPI_E_INVALID_ACCESS_TIME = _MAPICore.MAPI_E_INVALID_ACCESS_TIME

_MAPICore.MAPI_E_ACCOUNT_DISABLED_swigconstant(_MAPICore)
MAPI_E_ACCOUNT_DISABLED = _MAPICore.MAPI_E_ACCOUNT_DISABLED

_MAPICore.MAPI_E_END_OF_SESSION_swigconstant(_MAPICore)
MAPI_E_END_OF_SESSION = _MAPICore.MAPI_E_END_OF_SESSION

_MAPICore.MAPI_E_UNKNOWN_ENTRYID_swigconstant(_MAPICore)
MAPI_E_UNKNOWN_ENTRYID = _MAPICore.MAPI_E_UNKNOWN_ENTRYID

_MAPICore.MAPI_E_MISSING_REQUIRED_COLUMN_swigconstant(_MAPICore)
MAPI_E_MISSING_REQUIRED_COLUMN = _MAPICore.MAPI_E_MISSING_REQUIRED_COLUMN

_MAPICore.MAPI_W_NO_SERVICE_swigconstant(_MAPICore)
MAPI_W_NO_SERVICE = _MAPICore.MAPI_W_NO_SERVICE

_MAPICore.MAPI_E_BAD_VALUE_swigconstant(_MAPICore)
MAPI_E_BAD_VALUE = _MAPICore.MAPI_E_BAD_VALUE

_MAPICore.MAPI_E_INVALID_TYPE_swigconstant(_MAPICore)
MAPI_E_INVALID_TYPE = _MAPICore.MAPI_E_INVALID_TYPE

_MAPICore.MAPI_E_TYPE_NO_SUPPORT_swigconstant(_MAPICore)
MAPI_E_TYPE_NO_SUPPORT = _MAPICore.MAPI_E_TYPE_NO_SUPPORT

_MAPICore.MAPI_E_UNEXPECTED_TYPE_swigconstant(_MAPICore)
MAPI_E_UNEXPECTED_TYPE = _MAPICore.MAPI_E_UNEXPECTED_TYPE

_MAPICore.MAPI_E_TOO_BIG_swigconstant(_MAPICore)
MAPI_E_TOO_BIG = _MAPICore.MAPI_E_TOO_BIG

_MAPICore.MAPI_E_DECLINE_COPY_swigconstant(_MAPICore)
MAPI_E_DECLINE_COPY = _MAPICore.MAPI_E_DECLINE_COPY

_MAPICore.MAPI_E_UNEXPECTED_ID_swigconstant(_MAPICore)
MAPI_E_UNEXPECTED_ID = _MAPICore.MAPI_E_UNEXPECTED_ID

_MAPICore.MAPI_W_ERRORS_RETURNED_swigconstant(_MAPICore)
MAPI_W_ERRORS_RETURNED = _MAPICore.MAPI_W_ERRORS_RETURNED

_MAPICore.MAPI_E_UNABLE_TO_COMPLETE_swigconstant(_MAPICore)
MAPI_E_UNABLE_TO_COMPLETE = _MAPICore.MAPI_E_UNABLE_TO_COMPLETE

_MAPICore.MAPI_E_TIMEOUT_swigconstant(_MAPICore)
MAPI_E_TIMEOUT = _MAPICore.MAPI_E_TIMEOUT

_MAPICore.MAPI_E_TABLE_EMPTY_swigconstant(_MAPICore)
MAPI_E_TABLE_EMPTY = _MAPICore.MAPI_E_TABLE_EMPTY

_MAPICore.MAPI_E_TABLE_TOO_BIG_swigconstant(_MAPICore)
MAPI_E_TABLE_TOO_BIG = _MAPICore.MAPI_E_TABLE_TOO_BIG

_MAPICore.MAPI_E_INVALID_BOOKMARK_swigconstant(_MAPICore)
MAPI_E_INVALID_BOOKMARK = _MAPICore.MAPI_E_INVALID_BOOKMARK

_MAPICore.MAPI_W_POSITION_CHANGED_swigconstant(_MAPICore)
MAPI_W_POSITION_CHANGED = _MAPICore.MAPI_W_POSITION_CHANGED

_MAPICore.MAPI_W_APPROX_COUNT_swigconstant(_MAPICore)
MAPI_W_APPROX_COUNT = _MAPICore.MAPI_W_APPROX_COUNT

_MAPICore.MAPI_E_WAIT_swigconstant(_MAPICore)
MAPI_E_WAIT = _MAPICore.MAPI_E_WAIT

_MAPICore.MAPI_E_CANCEL_swigconstant(_MAPICore)
MAPI_E_CANCEL = _MAPICore.MAPI_E_CANCEL

_MAPICore.MAPI_E_NOT_ME_swigconstant(_MAPICore)
MAPI_E_NOT_ME = _MAPICore.MAPI_E_NOT_ME

_MAPICore.MAPI_W_CANCEL_MESSAGE_swigconstant(_MAPICore)
MAPI_W_CANCEL_MESSAGE = _MAPICore.MAPI_W_CANCEL_MESSAGE

_MAPICore.MAPI_E_CORRUPT_STORE_swigconstant(_MAPICore)
MAPI_E_CORRUPT_STORE = _MAPICore.MAPI_E_CORRUPT_STORE

_MAPICore.MAPI_E_NOT_IN_QUEUE_swigconstant(_MAPICore)
MAPI_E_NOT_IN_QUEUE = _MAPICore.MAPI_E_NOT_IN_QUEUE

_MAPICore.MAPI_E_NO_SUPPRESS_swigconstant(_MAPICore)
MAPI_E_NO_SUPPRESS = _MAPICore.MAPI_E_NO_SUPPRESS

_MAPICore.MAPI_E_COLLISION_swigconstant(_MAPICore)
MAPI_E_COLLISION = _MAPICore.MAPI_E_COLLISION

_MAPICore.MAPI_E_NOT_INITIALIZED_swigconstant(_MAPICore)
MAPI_E_NOT_INITIALIZED = _MAPICore.MAPI_E_NOT_INITIALIZED

_MAPICore.MAPI_E_NON_STANDARD_swigconstant(_MAPICore)
MAPI_E_NON_STANDARD = _MAPICore.MAPI_E_NON_STANDARD

_MAPICore.MAPI_E_NO_RECIPIENTS_swigconstant(_MAPICore)
MAPI_E_NO_RECIPIENTS = _MAPICore.MAPI_E_NO_RECIPIENTS

_MAPICore.MAPI_E_SUBMITTED_swigconstant(_MAPICore)
MAPI_E_SUBMITTED = _MAPICore.MAPI_E_SUBMITTED

_MAPICore.MAPI_E_HAS_FOLDERS_swigconstant(_MAPICore)
MAPI_E_HAS_FOLDERS = _MAPICore.MAPI_E_HAS_FOLDERS

_MAPICore.MAPI_E_HAS_MESSAGES_swigconstant(_MAPICore)
MAPI_E_HAS_MESSAGES = _MAPICore.MAPI_E_HAS_MESSAGES

_MAPICore.MAPI_E_FOLDER_CYCLE_swigconstant(_MAPICore)
MAPI_E_FOLDER_CYCLE = _MAPICore.MAPI_E_FOLDER_CYCLE

_MAPICore.MAPI_W_PARTIAL_COMPLETION_swigconstant(_MAPICore)
MAPI_W_PARTIAL_COMPLETION = _MAPICore.MAPI_W_PARTIAL_COMPLETION

_MAPICore.MAPI_E_AMBIGUOUS_RECIP_swigconstant(_MAPICore)
MAPI_E_AMBIGUOUS_RECIP = _MAPICore.MAPI_E_AMBIGUOUS_RECIP

_MAPICore.MAPI_E_STORE_FULL_swigconstant(_MAPICore)
MAPI_E_STORE_FULL = _MAPICore.MAPI_E_STORE_FULL
class MAPINotifSink(IMAPIAdviseSink):
    __swig_setmethods__ = {}
    for _s in [IMAPIAdviseSink]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, MAPINotifSink, name, value)
    __swig_getmethods__ = {}
    for _s in [IMAPIAdviseSink]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, MAPINotifSink, name)
    __repr__ = _swig_repr

    def GetNotifications(self, fNonBlock, timeout_msec):
        return _MAPICore.MAPINotifSink_GetNotifications(self, fNonBlock, timeout_msec)

    def __init__(self):
        this = _MAPICore.new_MAPINotifSink()
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_MAPINotifSink
    __del__ = lambda self: None
MAPINotifSink_swigregister = _MAPICore.MAPINotifSink_swigregister
MAPINotifSink_swigregister(MAPINotifSink)


def WrapStoreEntryID(ulFlags, lpszDLLName, cbOrigEntry):
    return _MAPICore.WrapStoreEntryID(ulFlags, lpszDLLName, cbOrigEntry)
WrapStoreEntryID = _MAPICore.WrapStoreEntryID

def WrapCompressedRTFStream(lpCompressedRTFStream, ulFlags):
    return _MAPICore.WrapCompressedRTFStream(lpCompressedRTFStream, ulFlags)
WrapCompressedRTFStream = _MAPICore.WrapCompressedRTFStream
class IExchangeImportContentsChanges(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IExchangeImportContentsChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IExchangeImportContentsChanges, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags):
        return _MAPICore.IExchangeImportContentsChanges_GetLastError(self, hResult, ulFlags)

    def Config(self, lpStream, ulFlags):
        return _MAPICore.IExchangeImportContentsChanges_Config(self, lpStream, ulFlags)

    def UpdateState(self, lpStream):
        return _MAPICore.IExchangeImportContentsChanges_UpdateState(self, lpStream)

    def ImportMessageChange(self, cValues, ulFlags):
        return _MAPICore.IExchangeImportContentsChanges_ImportMessageChange(self, cValues, ulFlags)

    def ImportMessageDeletion(self, ulFlags, lpSourceEntryList):
        return _MAPICore.IExchangeImportContentsChanges_ImportMessageDeletion(self, ulFlags, lpSourceEntryList)

    def ImportPerUserReadStateChange(self, cElements):
        return _MAPICore.IExchangeImportContentsChanges_ImportPerUserReadStateChange(self, cElements)

    def ImportMessageMove(self, cbSourceKeySrcFolder, pbSourceKeySrcFolder, cbSourceKeySrcMessage, pbSourceKeySrcMessage, cbPCLMessage, pbPCLMessage, cbSourceKeyDestMessage, pbSourceKeyDestMessage, cbChangeNumDestMessage, pbChangeNumDestMessage):
        return _MAPICore.IExchangeImportContentsChanges_ImportMessageMove(self, cbSourceKeySrcFolder, pbSourceKeySrcFolder, cbSourceKeySrcMessage, pbSourceKeySrcMessage, cbPCLMessage, pbPCLMessage, cbSourceKeyDestMessage, pbSourceKeyDestMessage, cbChangeNumDestMessage, pbChangeNumDestMessage)
    __swig_destroy__ = _MAPICore.delete_IExchangeImportContentsChanges
    __del__ = lambda self: None
IExchangeImportContentsChanges_swigregister = _MAPICore.IExchangeImportContentsChanges_swigregister
IExchangeImportContentsChanges_swigregister(IExchangeImportContentsChanges)

class IExchangeImportHierarchyChanges(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IExchangeImportHierarchyChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IExchangeImportHierarchyChanges, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags):
        return _MAPICore.IExchangeImportHierarchyChanges_GetLastError(self, hResult, ulFlags)

    def Config(self, lpStream, ulFlags):
        return _MAPICore.IExchangeImportHierarchyChanges_Config(self, lpStream, ulFlags)

    def UpdateState(self, lpStream):
        return _MAPICore.IExchangeImportHierarchyChanges_UpdateState(self, lpStream)

    def ImportFolderChange(self, cValues):
        return _MAPICore.IExchangeImportHierarchyChanges_ImportFolderChange(self, cValues)

    def ImportFolderDeletion(self, ulFlags, lpSrcEntryList):
        return _MAPICore.IExchangeImportHierarchyChanges_ImportFolderDeletion(self, ulFlags, lpSrcEntryList)
    __swig_destroy__ = _MAPICore.delete_IExchangeImportHierarchyChanges
    __del__ = lambda self: None
IExchangeImportHierarchyChanges_swigregister = _MAPICore.IExchangeImportHierarchyChanges_swigregister
IExchangeImportHierarchyChanges_swigregister(IExchangeImportHierarchyChanges)

class IExchangeExportChanges(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IExchangeExportChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IExchangeExportChanges, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags):
        return _MAPICore.IExchangeExportChanges_GetLastError(self, hResult, ulFlags)

    def Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize):
        return _MAPICore.IExchangeExportChanges_Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize)

    def Synchronize(self, INOUT):
        return _MAPICore.IExchangeExportChanges_Synchronize(self, INOUT)

    def UpdateState(self, lpStream):
        return _MAPICore.IExchangeExportChanges_UpdateState(self, lpStream)
    __swig_destroy__ = _MAPICore.delete_IExchangeExportChanges
    __del__ = lambda self: None
IExchangeExportChanges_swigregister = _MAPICore.IExchangeExportChanges_swigregister
IExchangeExportChanges_swigregister(IExchangeExportChanges)

class IExchangeManageStore(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IExchangeManageStore, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IExchangeManageStore, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def CreateStoreEntryID(self, lpszMsgStoreDN, lpszMailboxDN, ulFlags):
        return _MAPICore.IExchangeManageStore_CreateStoreEntryID(self, lpszMsgStoreDN, lpszMailboxDN, ulFlags)

    def EntryIDFromSourceKey(self, cFolderKeySize, cMessageKeySize):
        return _MAPICore.IExchangeManageStore_EntryIDFromSourceKey(self, cFolderKeySize, cMessageKeySize)

    def GetRights(self, cbUserEntryID, cbEntryID):
        return _MAPICore.IExchangeManageStore_GetRights(self, cbUserEntryID, cbEntryID)

    def GetMailboxTable(self, lpszServerName, ulFlags):
        return _MAPICore.IExchangeManageStore_GetMailboxTable(self, lpszServerName, ulFlags)

    def GetPublicFolderTable(self, lpszServerName, ulFlags):
        return _MAPICore.IExchangeManageStore_GetPublicFolderTable(self, lpszServerName, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IExchangeManageStore
    __del__ = lambda self: None
IExchangeManageStore_swigregister = _MAPICore.IExchangeManageStore_swigregister
IExchangeManageStore_swigregister(IExchangeManageStore)

class IExchangeModifyTable(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IExchangeModifyTable, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IExchangeModifyTable, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags):
        return _MAPICore.IExchangeModifyTable_GetLastError(self, hResult, ulFlags)

    def GetTable(self, ulFlags):
        return _MAPICore.IExchangeModifyTable_GetTable(self, ulFlags)

    def ModifyTable(self, ulFlags, lpMods):
        return _MAPICore.IExchangeModifyTable_ModifyTable(self, ulFlags, lpMods)
    __swig_destroy__ = _MAPICore.delete_IExchangeModifyTable
    __del__ = lambda self: None
IExchangeModifyTable_swigregister = _MAPICore.IExchangeModifyTable_swigregister
IExchangeModifyTable_swigregister(IExchangeModifyTable)

class ExchangeImportContentsChanges(IExchangeImportContentsChanges):
    __swig_setmethods__ = {}
    for _s in [IExchangeImportContentsChanges]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ExchangeImportContentsChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IExchangeImportContentsChanges]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, ExchangeImportContentsChanges, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == ExchangeImportContentsChanges:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_ExchangeImportContentsChanges(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_ExchangeImportContentsChanges
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_ExchangeImportContentsChanges(self)
        return weakref_proxy(self)
ExchangeImportContentsChanges_swigregister = _MAPICore.ExchangeImportContentsChanges_swigregister
ExchangeImportContentsChanges_swigregister(ExchangeImportContentsChanges)

class ExchangeImportHierarchyChanges(IExchangeImportHierarchyChanges):
    __swig_setmethods__ = {}
    for _s in [IExchangeImportHierarchyChanges]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ExchangeImportHierarchyChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IExchangeImportHierarchyChanges]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, ExchangeImportHierarchyChanges, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == ExchangeImportHierarchyChanges:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_ExchangeImportHierarchyChanges(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_ExchangeImportHierarchyChanges
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_ExchangeImportHierarchyChanges(self)
        return weakref_proxy(self)
ExchangeImportHierarchyChanges_swigregister = _MAPICore.ExchangeImportHierarchyChanges_swigregister
ExchangeImportHierarchyChanges_swigregister(ExchangeImportHierarchyChanges)

class ExchangeExportChanges(IExchangeExportChanges):
    __swig_setmethods__ = {}
    for _s in [IExchangeExportChanges]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ExchangeExportChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IExchangeExportChanges]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, ExchangeExportChanges, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == ExchangeExportChanges:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_ExchangeExportChanges(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_ExchangeExportChanges
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_ExchangeExportChanges(self)
        return weakref_proxy(self)
ExchangeExportChanges_swigregister = _MAPICore.ExchangeExportChanges_swigregister
ExchangeExportChanges_swigregister(ExchangeExportChanges)


_MAPICore.SYNC_UNICODE_swigconstant(_MAPICore)
SYNC_UNICODE = _MAPICore.SYNC_UNICODE

_MAPICore.SYNC_NO_DELETIONS_swigconstant(_MAPICore)
SYNC_NO_DELETIONS = _MAPICore.SYNC_NO_DELETIONS

_MAPICore.SYNC_NO_SOFT_DELETIONS_swigconstant(_MAPICore)
SYNC_NO_SOFT_DELETIONS = _MAPICore.SYNC_NO_SOFT_DELETIONS

_MAPICore.SYNC_READ_STATE_swigconstant(_MAPICore)
SYNC_READ_STATE = _MAPICore.SYNC_READ_STATE

_MAPICore.SYNC_ASSOCIATED_swigconstant(_MAPICore)
SYNC_ASSOCIATED = _MAPICore.SYNC_ASSOCIATED

_MAPICore.SYNC_NORMAL_swigconstant(_MAPICore)
SYNC_NORMAL = _MAPICore.SYNC_NORMAL

_MAPICore.SYNC_NO_CONFLICTS_swigconstant(_MAPICore)
SYNC_NO_CONFLICTS = _MAPICore.SYNC_NO_CONFLICTS

_MAPICore.SYNC_ONLY_SPECIFIED_PROPS_swigconstant(_MAPICore)
SYNC_ONLY_SPECIFIED_PROPS = _MAPICore.SYNC_ONLY_SPECIFIED_PROPS

_MAPICore.SYNC_NO_FOREIGN_KEYS_swigconstant(_MAPICore)
SYNC_NO_FOREIGN_KEYS = _MAPICore.SYNC_NO_FOREIGN_KEYS

_MAPICore.SYNC_LIMITED_IMESSAGE_swigconstant(_MAPICore)
SYNC_LIMITED_IMESSAGE = _MAPICore.SYNC_LIMITED_IMESSAGE

_MAPICore.SYNC_CATCHUP_swigconstant(_MAPICore)
SYNC_CATCHUP = _MAPICore.SYNC_CATCHUP

_MAPICore.SYNC_NEW_MESSAGE_swigconstant(_MAPICore)
SYNC_NEW_MESSAGE = _MAPICore.SYNC_NEW_MESSAGE

_MAPICore.SYNC_MSG_SELECTIVE_swigconstant(_MAPICore)
SYNC_MSG_SELECTIVE = _MAPICore.SYNC_MSG_SELECTIVE

_MAPICore.SYNC_BEST_BODY_swigconstant(_MAPICore)
SYNC_BEST_BODY = _MAPICore.SYNC_BEST_BODY

_MAPICore.SYNC_IGNORE_SPECIFIED_ON_ASSOCIATED_swigconstant(_MAPICore)
SYNC_IGNORE_SPECIFIED_ON_ASSOCIATED = _MAPICore.SYNC_IGNORE_SPECIFIED_ON_ASSOCIATED

_MAPICore.SYNC_PROGRESS_MODE_swigconstant(_MAPICore)
SYNC_PROGRESS_MODE = _MAPICore.SYNC_PROGRESS_MODE

_MAPICore.SYNC_FXRECOVERMODE_swigconstant(_MAPICore)
SYNC_FXRECOVERMODE = _MAPICore.SYNC_FXRECOVERMODE

_MAPICore.SYNC_DEFER_CONFIG_swigconstant(_MAPICore)
SYNC_DEFER_CONFIG = _MAPICore.SYNC_DEFER_CONFIG

_MAPICore.SYNC_FORCE_UNICODE_swigconstant(_MAPICore)
SYNC_FORCE_UNICODE = _MAPICore.SYNC_FORCE_UNICODE

_MAPICore.DELETE_HARD_DELETE_swigconstant(_MAPICore)
DELETE_HARD_DELETE = _MAPICore.DELETE_HARD_DELETE

_MAPICore.ROWLIST_REPLACE_swigconstant(_MAPICore)
ROWLIST_REPLACE = _MAPICore.ROWLIST_REPLACE

_MAPICore.ROW_ADD_swigconstant(_MAPICore)
ROW_ADD = _MAPICore.ROW_ADD

_MAPICore.ROW_MODIFY_swigconstant(_MAPICore)
ROW_MODIFY = _MAPICore.ROW_MODIFY

_MAPICore.ROW_REMOVE_swigconstant(_MAPICore)
ROW_REMOVE = _MAPICore.ROW_REMOVE

_MAPICore.ROW_EMPTY_swigconstant(_MAPICore)
ROW_EMPTY = _MAPICore.ROW_EMPTY

_MAPICore.SYNC_E_UNKNOWN_FLAGS_swigconstant(_MAPICore)
SYNC_E_UNKNOWN_FLAGS = _MAPICore.SYNC_E_UNKNOWN_FLAGS

_MAPICore.SYNC_E_INVALID_PARAMETER_swigconstant(_MAPICore)
SYNC_E_INVALID_PARAMETER = _MAPICore.SYNC_E_INVALID_PARAMETER

_MAPICore.SYNC_E_ERROR_swigconstant(_MAPICore)
SYNC_E_ERROR = _MAPICore.SYNC_E_ERROR

_MAPICore.SYNC_E_OBJECT_DELETED_swigconstant(_MAPICore)
SYNC_E_OBJECT_DELETED = _MAPICore.SYNC_E_OBJECT_DELETED

_MAPICore.SYNC_E_IGNORE_swigconstant(_MAPICore)
SYNC_E_IGNORE = _MAPICore.SYNC_E_IGNORE

_MAPICore.SYNC_E_CONFLICT_swigconstant(_MAPICore)
SYNC_E_CONFLICT = _MAPICore.SYNC_E_CONFLICT

_MAPICore.SYNC_E_NO_PARENT_swigconstant(_MAPICore)
SYNC_E_NO_PARENT = _MAPICore.SYNC_E_NO_PARENT

_MAPICore.SYNC_E_INCEST_swigconstant(_MAPICore)
SYNC_E_INCEST = _MAPICore.SYNC_E_INCEST

_MAPICore.SYNC_E_UNSYNCHRONIZED_swigconstant(_MAPICore)
SYNC_E_UNSYNCHRONIZED = _MAPICore.SYNC_E_UNSYNCHRONIZED

_MAPICore.SYNC_W_PROGRESS_swigconstant(_MAPICore)
SYNC_W_PROGRESS = _MAPICore.SYNC_W_PROGRESS

_MAPICore.SYNC_W_CLIENT_CHANGE_NEWER_swigconstant(_MAPICore)
SYNC_W_CLIENT_CHANGE_NEWER = _MAPICore.SYNC_W_CLIENT_CHANGE_NEWER

_MAPICore.ECSTORE_TYPE_PRIVATE_swigconstant(_MAPICore)
ECSTORE_TYPE_PRIVATE = _MAPICore.ECSTORE_TYPE_PRIVATE

_MAPICore.ECSTORE_TYPE_PUBLIC_swigconstant(_MAPICore)
ECSTORE_TYPE_PUBLIC = _MAPICore.ECSTORE_TYPE_PUBLIC

_MAPICore.ECSTORE_TYPE_ARCHIVE_swigconstant(_MAPICore)
ECSTORE_TYPE_ARCHIVE = _MAPICore.ECSTORE_TYPE_ARCHIVE
class IECServiceAdmin(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECServiceAdmin, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECServiceAdmin, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def CreateStore(self, ulStoreType, cbUserId):
        return _MAPICore.IECServiceAdmin_CreateStore(self, ulStoreType, cbUserId)

    def CreateEmptyStore(self, ulStoreType, cbUserId, ulFlags, lpcbStoreId_oio, lpcbRootId_oio):
        return _MAPICore.IECServiceAdmin_CreateEmptyStore(self, ulStoreType, cbUserId, ulFlags, lpcbStoreId_oio, lpcbRootId_oio)

    def ResolveStore(self, lpGuid):
        return _MAPICore.IECServiceAdmin_ResolveStore(self, lpGuid)

    def HookStore(self, ulStoreType, cbUserId, lpGuid):
        return _MAPICore.IECServiceAdmin_HookStore(self, ulStoreType, cbUserId, lpGuid)

    def UnhookStore(self, ulStoreType, cbUserId):
        return _MAPICore.IECServiceAdmin_UnhookStore(self, ulStoreType, cbUserId)

    def RemoveStore(self, lpGuid):
        return _MAPICore.IECServiceAdmin_RemoveStore(self, lpGuid)

    def CreateUser(self, lpECUser, ulFlags):
        return _MAPICore.IECServiceAdmin_CreateUser(self, lpECUser, ulFlags)

    def DeleteUser(self, cbUserId):
        return _MAPICore.IECServiceAdmin_DeleteUser(self, cbUserId)

    def SetUser(self, lpECUser, ulFlags):
        return _MAPICore.IECServiceAdmin_SetUser(self, lpECUser, ulFlags)

    def GetUser(self, cbUserId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetUser(self, cbUserId, ulFlags)

    def ResolveUserName(self, lpszUserName, ulFlags):
        return _MAPICore.IECServiceAdmin_ResolveUserName(self, lpszUserName, ulFlags)

    def GetUserList(self, cbCompanyId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetUserList(self, cbCompanyId, ulFlags)

    def GetSendAsList(self, cbUserId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetSendAsList(self, cbUserId, ulFlags)

    def AddSendAsUser(self, cbUserId, cbSenderId):
        return _MAPICore.IECServiceAdmin_AddSendAsUser(self, cbUserId, cbSenderId)

    def DelSendAsUser(self, cbUserId, cbSenderId):
        return _MAPICore.IECServiceAdmin_DelSendAsUser(self, cbUserId, cbSenderId)

    def GetUserClientUpdateStatus(self, cbUserId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetUserClientUpdateStatus(self, cbUserId, ulFlags)

    def RemoveAllObjects(self, cbUserId):
        return _MAPICore.IECServiceAdmin_RemoveAllObjects(self, cbUserId)

    def CreateGroup(self, lpECGroup, ulFlags):
        return _MAPICore.IECServiceAdmin_CreateGroup(self, lpECGroup, ulFlags)

    def DeleteGroup(self, cbGroupId):
        return _MAPICore.IECServiceAdmin_DeleteGroup(self, cbGroupId)

    def SetGroup(self, lpECGroup, ulFlags):
        return _MAPICore.IECServiceAdmin_SetGroup(self, lpECGroup, ulFlags)

    def GetGroup(self, cbGroupId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetGroup(self, cbGroupId, ulFlags)

    def ResolveGroupName(self, lpszGroupName, ulFlags):
        return _MAPICore.IECServiceAdmin_ResolveGroupName(self, lpszGroupName, ulFlags)

    def GetGroupList(self, cbCompanyId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetGroupList(self, cbCompanyId, ulFlags)

    def DeleteGroupUser(self, cbGroupId, cbUserId):
        return _MAPICore.IECServiceAdmin_DeleteGroupUser(self, cbGroupId, cbUserId)

    def AddGroupUser(self, cbGroupId, cbUserId):
        return _MAPICore.IECServiceAdmin_AddGroupUser(self, cbGroupId, cbUserId)

    def GetUserListOfGroup(self, cbGroupId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetUserListOfGroup(self, cbGroupId, ulFlags)

    def GetGroupListOfUser(self, cbUserId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetGroupListOfUser(self, cbUserId, ulFlags)

    def CreateCompany(self, lpECCompany, ulFlags):
        return _MAPICore.IECServiceAdmin_CreateCompany(self, lpECCompany, ulFlags)

    def DeleteCompany(self, cbCompanyId):
        return _MAPICore.IECServiceAdmin_DeleteCompany(self, cbCompanyId)

    def SetCompany(self, lpECCompany, ulFlags):
        return _MAPICore.IECServiceAdmin_SetCompany(self, lpECCompany, ulFlags)

    def GetCompany(self, cbCompanyId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetCompany(self, cbCompanyId, ulFlags)

    def ResolveCompanyName(self, lpszCompanyName, ulFlags):
        return _MAPICore.IECServiceAdmin_ResolveCompanyName(self, lpszCompanyName, ulFlags)

    def GetCompanyList(self, ulFlags):
        return _MAPICore.IECServiceAdmin_GetCompanyList(self, ulFlags)

    def AddCompanyToRemoteViewList(self, cbSetCompanyId, cbCompanyId):
        return _MAPICore.IECServiceAdmin_AddCompanyToRemoteViewList(self, cbSetCompanyId, cbCompanyId)

    def DelCompanyFromRemoteViewList(self, cbSetCompanyId, cbCompanyId):
        return _MAPICore.IECServiceAdmin_DelCompanyFromRemoteViewList(self, cbSetCompanyId, cbCompanyId)

    def GetRemoteViewList(self, cbCompanyId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetRemoteViewList(self, cbCompanyId, ulFlags)

    def AddUserToRemoteAdminList(self, cbUserId, cbCompanyId):
        return _MAPICore.IECServiceAdmin_AddUserToRemoteAdminList(self, cbUserId, cbCompanyId)

    def DelUserFromRemoteAdminList(self, cbUserId, cbCompanyId):
        return _MAPICore.IECServiceAdmin_DelUserFromRemoteAdminList(self, cbUserId, cbCompanyId)

    def GetRemoteAdminList(self, cbCompanyId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetRemoteAdminList(self, cbCompanyId, ulFlags)

    def SyncUsers(self, cbCompanyId):
        return _MAPICore.IECServiceAdmin_SyncUsers(self, cbCompanyId)

    def GetQuota(self, cbUserId, bGetUserDefault):
        return _MAPICore.IECServiceAdmin_GetQuota(self, cbUserId, bGetUserDefault)

    def SetQuota(self, cbUserId, lpsQuota):
        return _MAPICore.IECServiceAdmin_SetQuota(self, cbUserId, lpsQuota)

    def AddQuotaRecipient(self, cbCompanyId, cbRecipientId, ulType):
        return _MAPICore.IECServiceAdmin_AddQuotaRecipient(self, cbCompanyId, cbRecipientId, ulType)

    def DeleteQuotaRecipient(self, cbCompanyId, cbRecipientId, ulType):
        return _MAPICore.IECServiceAdmin_DeleteQuotaRecipient(self, cbCompanyId, cbRecipientId, ulType)

    def GetQuotaRecipients(self, cbUserId, ulFlags):
        return _MAPICore.IECServiceAdmin_GetQuotaRecipients(self, cbUserId, ulFlags)

    def GetQuotaStatus(self, cbUserId):
        return _MAPICore.IECServiceAdmin_GetQuotaStatus(self, cbUserId)

    def PurgeSoftDelete(self, ulDays):
        return _MAPICore.IECServiceAdmin_PurgeSoftDelete(self, ulDays)

    def PurgeCache(self, ulFlags):
        return _MAPICore.IECServiceAdmin_PurgeCache(self, ulFlags)

    def OpenUserStoresTable(self, ulFlags):
        return _MAPICore.IECServiceAdmin_OpenUserStoresTable(self, ulFlags)

    def GetServerDetails(self, lpServerNameList, ulFlags):
        return _MAPICore.IECServiceAdmin_GetServerDetails(self, lpServerNameList, ulFlags)

    def ResolvePseudoUrl(self, lpszPseudoUrl):
        return _MAPICore.IECServiceAdmin_ResolvePseudoUrl(self, lpszPseudoUrl)

    def GetPublicStoreEntryID(self, ulFlags):
        return _MAPICore.IECServiceAdmin_GetPublicStoreEntryID(self, ulFlags)

    def GetArchiveStoreEntryID(self, lpszUserName, lpszServerName, ulFlags):
        return _MAPICore.IECServiceAdmin_GetArchiveStoreEntryID(self, lpszUserName, lpszServerName, ulFlags)

    def ResetFolderCount(self, cbEntryID):
        return _MAPICore.IECServiceAdmin_ResetFolderCount(self, cbEntryID)
    __swig_destroy__ = _MAPICore.delete_IECServiceAdmin
    __del__ = lambda self: None
IECServiceAdmin_swigregister = _MAPICore.IECServiceAdmin_swigregister
IECServiceAdmin_swigregister(IECServiceAdmin)

class IECSpooler(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECSpooler, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, IECSpooler, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetMasterOutgoingTable(self, ulFlags):
        return _MAPICore.IECSpooler_GetMasterOutgoingTable(self, ulFlags)

    def DeleteFromMasterOutgoingTable(self, cbEntryID, ulFlags):
        return _MAPICore.IECSpooler_DeleteFromMasterOutgoingTable(self, cbEntryID, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IECSpooler
    __del__ = lambda self: None
IECSpooler_swigregister = _MAPICore.IECSpooler_swigregister
IECSpooler_swigregister(IECSpooler)

class IECTestProtocol(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECTestProtocol, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECTestProtocol, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def TestPerform(self, szCommand, ulArgs):
        return _MAPICore.IECTestProtocol_TestPerform(self, szCommand, ulArgs)

    def TestSet(self, szName, szValue):
        return _MAPICore.IECTestProtocol_TestSet(self, szName, szValue)

    def TestGet(self, szName):
        return _MAPICore.IECTestProtocol_TestGet(self, szName)
    __swig_destroy__ = _MAPICore.delete_IECTestProtocol
    __del__ = lambda self: None
IECTestProtocol_swigregister = _MAPICore.IECTestProtocol_swigregister
IECTestProtocol_swigregister(IECTestProtocol)

class IECMultiStoreTable(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECMultiStoreTable, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECMultiStoreTable, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def OpenMultiStoreTable(self, lpMsgList, ulFlags):
        return _MAPICore.IECMultiStoreTable_OpenMultiStoreTable(self, lpMsgList, ulFlags)
    __swig_destroy__ = _MAPICore.delete_IECMultiStoreTable
    __del__ = lambda self: None
IECMultiStoreTable_swigregister = _MAPICore.IECMultiStoreTable_swigregister
IECMultiStoreTable_swigregister(IECMultiStoreTable)

class IECLicense(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECLicense, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECLicense, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def LicenseAuth(self, lpData):
        return _MAPICore.IECLicense_LicenseAuth(self, lpData)
    __swig_destroy__ = _MAPICore.delete_IECLicense
    __del__ = lambda self: None
IECLicense_swigregister = _MAPICore.IECLicense_swigregister
IECLicense_swigregister(IECLicense)

class IECExportChanges(IExchangeExportChanges):
    __swig_setmethods__ = {}
    for _s in [IExchangeExportChanges]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECExportChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IExchangeExportChanges]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECExportChanges, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetChangeCount(self):
        return _MAPICore.IECExportChanges_GetChangeCount(self)

    def SetMessageInterface(self, refiid):
        return _MAPICore.IECExportChanges_SetMessageInterface(self, refiid)

    def ConfigSelective(self, ulPropTag, lpEntries, lpParents, ulFlags, lpUnk, lpIncludeProps, lpExcludeProps, ulBufferSize):
        return _MAPICore.IECExportChanges_ConfigSelective(self, ulPropTag, lpEntries, lpParents, ulFlags, lpUnk, lpIncludeProps, lpExcludeProps, ulBufferSize)

    def SetLogger(self, lpLogger):
        return _MAPICore.IECExportChanges_SetLogger(self, lpLogger)
    __swig_destroy__ = _MAPICore.delete_IECExportChanges
    __del__ = lambda self: None
IECExportChanges_swigregister = _MAPICore.IECExportChanges_swigregister
IECExportChanges_swigregister(IECExportChanges)


def UnwrapObject(lpWrapped):
    return _MAPICore.UnwrapObject(lpWrapped)
UnwrapObject = _MAPICore.UnwrapObject
class IECChangeAdvisor(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECChangeAdvisor, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECChangeAdvisor, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetLastError(self, hResult, ulFlags, lppMAPIError):
        return _MAPICore.IECChangeAdvisor_GetLastError(self, hResult, ulFlags, lppMAPIError)

    def Config(self, lpStream, lpGUID, lpAdviseSink, ulFlags):
        return _MAPICore.IECChangeAdvisor_Config(self, lpStream, lpGUID, lpAdviseSink, ulFlags)

    def UpdateState(self, lpStream):
        return _MAPICore.IECChangeAdvisor_UpdateState(self, lpStream)

    def AddKeys(self, lpEntryList):
        return _MAPICore.IECChangeAdvisor_AddKeys(self, lpEntryList)

    def RemoveKeys(self, lpEntryList):
        return _MAPICore.IECChangeAdvisor_RemoveKeys(self, lpEntryList)

    def IsMonitoringSyncId(self, ulSyncId):
        return _MAPICore.IECChangeAdvisor_IsMonitoringSyncId(self, ulSyncId)

    def UpdateSyncState(self, ulSyncId, ulChangeId):
        return _MAPICore.IECChangeAdvisor_UpdateSyncState(self, ulSyncId, ulChangeId)
    __swig_destroy__ = _MAPICore.delete_IECChangeAdvisor
    __del__ = lambda self: None
IECChangeAdvisor_swigregister = _MAPICore.IECChangeAdvisor_swigregister
IECChangeAdvisor_swigregister(IECChangeAdvisor)

class IECChangeAdviseSink(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECChangeAdviseSink, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECChangeAdviseSink, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def OnNotify(self, ulFlags, lpEntryList):
        return _MAPICore.IECChangeAdviseSink_OnNotify(self, ulFlags, lpEntryList)
    __swig_destroy__ = _MAPICore.delete_IECChangeAdviseSink
    __del__ = lambda self: None
IECChangeAdviseSink_swigregister = _MAPICore.IECChangeAdviseSink_swigregister
IECChangeAdviseSink_swigregister(IECChangeAdviseSink)

class IECImportContentsChanges(IExchangeImportContentsChanges):
    __swig_setmethods__ = {}
    for _s in [IExchangeImportContentsChanges]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECImportContentsChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IExchangeImportContentsChanges]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECImportContentsChanges, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def ConfigForConversionStream(self, lpStream, ulFlags, cValuesConversion):
        return _MAPICore.IECImportContentsChanges_ConfigForConversionStream(self, lpStream, ulFlags, cValuesConversion)

    def ImportMessageChangeAsAStream(self, cValues, ulFlags):
        return _MAPICore.IECImportContentsChanges_ImportMessageChangeAsAStream(self, cValues, ulFlags)

    def SetMessageInterface(self, refiid):
        return _MAPICore.IECImportContentsChanges_SetMessageInterface(self, refiid)
    __swig_destroy__ = _MAPICore.delete_IECImportContentsChanges
    __del__ = lambda self: None
IECImportContentsChanges_swigregister = _MAPICore.IECImportContentsChanges_swigregister
IECImportContentsChanges_swigregister(IECImportContentsChanges)

class IECImportHierarchyChanges(IExchangeImportHierarchyChanges):
    __swig_setmethods__ = {}
    for _s in [IExchangeImportHierarchyChanges]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECImportHierarchyChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IExchangeImportHierarchyChanges]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECImportHierarchyChanges, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def ImportFolderChangeEx(self, cValues, fNew):
        return _MAPICore.IECImportHierarchyChanges_ImportFolderChangeEx(self, cValues, fNew)
    __swig_destroy__ = _MAPICore.delete_IECImportHierarchyChanges
    __del__ = lambda self: None
IECImportHierarchyChanges_swigregister = _MAPICore.IECImportHierarchyChanges_swigregister
IECImportHierarchyChanges_swigregister(IECImportHierarchyChanges)

class IECSingleInstance(IUnknown):
    __swig_setmethods__ = {}
    for _s in [IUnknown]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, IECSingleInstance, name, value)
    __swig_getmethods__ = {}
    for _s in [IUnknown]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, IECSingleInstance, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def GetSingleInstanceId(self):
        return _MAPICore.IECSingleInstance_GetSingleInstanceId(self)

    def SetSingleInstanceId(self, cbInstanceID, lpInstanceID):
        return _MAPICore.IECSingleInstance_SetSingleInstanceId(self, cbInstanceID, lpInstanceID)
    __swig_destroy__ = _MAPICore.delete_IECSingleInstance
    __del__ = lambda self: None
IECSingleInstance_swigregister = _MAPICore.IECSingleInstance_swigregister
IECSingleInstance_swigregister(IECSingleInstance)

class ECChangeAdviseSink(IECChangeAdviseSink):
    __swig_setmethods__ = {}
    for _s in [IECChangeAdviseSink]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ECChangeAdviseSink, name, value)
    __swig_getmethods__ = {}
    for _s in [IECChangeAdviseSink]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, ECChangeAdviseSink, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == ECChangeAdviseSink:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_ECChangeAdviseSink(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_ECChangeAdviseSink
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_ECChangeAdviseSink(self)
        return weakref_proxy(self)
ECChangeAdviseSink_swigregister = _MAPICore.ECChangeAdviseSink_swigregister
ECChangeAdviseSink_swigregister(ECChangeAdviseSink)

class ECImportContentsChanges(IECImportContentsChanges):
    __swig_setmethods__ = {}
    for _s in [IECImportContentsChanges]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ECImportContentsChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IECImportContentsChanges]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, ECImportContentsChanges, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == ECImportContentsChanges:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_ECImportContentsChanges(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_ECImportContentsChanges
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_ECImportContentsChanges(self)
        return weakref_proxy(self)
ECImportContentsChanges_swigregister = _MAPICore.ECImportContentsChanges_swigregister
ECImportContentsChanges_swigregister(ECImportContentsChanges)

class ECImportHierarchyChanges(IECImportHierarchyChanges):
    __swig_setmethods__ = {}
    for _s in [IECImportHierarchyChanges]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, ECImportHierarchyChanges, name, value)
    __swig_getmethods__ = {}
    for _s in [IECImportHierarchyChanges]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, ECImportHierarchyChanges, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == ECImportHierarchyChanges:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_ECImportHierarchyChanges(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_ECImportHierarchyChanges
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_ECImportHierarchyChanges(self)
        return weakref_proxy(self)
ECImportHierarchyChanges_swigregister = _MAPICore.ECImportHierarchyChanges_swigregister
ECImportHierarchyChanges_swigregister(ECImportHierarchyChanges)


_MAPICore.MAPI_ORIG_swigconstant(_MAPICore)
MAPI_ORIG = _MAPICore.MAPI_ORIG

_MAPICore.MAPI_TO_swigconstant(_MAPICore)
MAPI_TO = _MAPICore.MAPI_TO

_MAPICore.MAPI_CC_swigconstant(_MAPICore)
MAPI_CC = _MAPICore.MAPI_CC

_MAPICore.MAPI_BCC_swigconstant(_MAPICore)
MAPI_BCC = _MAPICore.MAPI_BCC

_MAPICore.MAPI_P1_swigconstant(_MAPICore)
MAPI_P1 = _MAPICore.MAPI_P1

_MAPICore.MAPI_SUBMITTED_swigconstant(_MAPICore)
MAPI_SUBMITTED = _MAPICore.MAPI_SUBMITTED

_MAPICore.MAPI_UNREAD_swigconstant(_MAPICore)
MAPI_UNREAD = _MAPICore.MAPI_UNREAD

_MAPICore.MAPI_RECEIPT_REQUESTED_swigconstant(_MAPICore)
MAPI_RECEIPT_REQUESTED = _MAPICore.MAPI_RECEIPT_REQUESTED

_MAPICore.MAPI_SENT_swigconstant(_MAPICore)
MAPI_SENT = _MAPICore.MAPI_SENT

_MAPICore.MAPI_LOGON_UI_swigconstant(_MAPICore)
MAPI_LOGON_UI = _MAPICore.MAPI_LOGON_UI

_MAPICore.MAPI_PASSWORD_UI_swigconstant(_MAPICore)
MAPI_PASSWORD_UI = _MAPICore.MAPI_PASSWORD_UI

_MAPICore.MAPI_NEW_SESSION_swigconstant(_MAPICore)
MAPI_NEW_SESSION = _MAPICore.MAPI_NEW_SESSION

_MAPICore.MAPI_FORCE_DOWNLOAD_swigconstant(_MAPICore)
MAPI_FORCE_DOWNLOAD = _MAPICore.MAPI_FORCE_DOWNLOAD

_MAPICore.MAPI_EXTENDED_swigconstant(_MAPICore)
MAPI_EXTENDED = _MAPICore.MAPI_EXTENDED

_MAPICore.MAPI_DIALOG_swigconstant(_MAPICore)
MAPI_DIALOG = _MAPICore.MAPI_DIALOG

_MAPICore.MAPI_USE_DEFAULT_swigconstant(_MAPICore)
MAPI_USE_DEFAULT = _MAPICore.MAPI_USE_DEFAULT

_MAPICore.MAPI_UNREAD_ONLY_swigconstant(_MAPICore)
MAPI_UNREAD_ONLY = _MAPICore.MAPI_UNREAD_ONLY

_MAPICore.MAPI_GUARANTEE_FIFO_swigconstant(_MAPICore)
MAPI_GUARANTEE_FIFO = _MAPICore.MAPI_GUARANTEE_FIFO

_MAPICore.MAPI_LONG_MSGID_swigconstant(_MAPICore)
MAPI_LONG_MSGID = _MAPICore.MAPI_LONG_MSGID

_MAPICore.MAPI_PEEK_swigconstant(_MAPICore)
MAPI_PEEK = _MAPICore.MAPI_PEEK

_MAPICore.MAPI_SUPPRESS_ATTACH_swigconstant(_MAPICore)
MAPI_SUPPRESS_ATTACH = _MAPICore.MAPI_SUPPRESS_ATTACH

_MAPICore.MAPI_ENVELOPE_ONLY_swigconstant(_MAPICore)
MAPI_ENVELOPE_ONLY = _MAPICore.MAPI_ENVELOPE_ONLY

_MAPICore.MAPI_BODY_AS_FILE_swigconstant(_MAPICore)
MAPI_BODY_AS_FILE = _MAPICore.MAPI_BODY_AS_FILE

_MAPICore.MAPI_AB_NOMODIFY_swigconstant(_MAPICore)
MAPI_AB_NOMODIFY = _MAPICore.MAPI_AB_NOMODIFY
class ECSimpleLogger(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ECSimpleLogger, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ECSimpleLogger, name)
    __repr__ = _swig_repr

    def Log(self, loglevel, szMessage):
        return _MAPICore.ECSimpleLogger_Log(self, loglevel, szMessage)

    def __init__(self):
        if self.__class__ == ECSimpleLogger:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_ECSimpleLogger(_self, )
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_ECSimpleLogger
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_ECSimpleLogger(self)
        return weakref_proxy(self)
ECSimpleLogger_swigregister = _MAPICore.ECSimpleLogger_swigregister
ECSimpleLogger_swigregister(ECSimpleLogger)

class ECLogger(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ECLogger, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ECLogger, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    def Reset(self):
        return _MAPICore.ECLogger_Reset(self)

    def GetFileDescriptor(self):
        return _MAPICore.ECLogger_GetFileDescriptor(self)
    __swig_destroy__ = _MAPICore.delete_ECLogger
    __del__ = lambda self: None

    def Log(self, *args):
        return _MAPICore.ECLogger_Log(self, *args)
ECLogger_swigregister = _MAPICore.ECLogger_swigregister
ECLogger_swigregister(ECLogger)

class Stream(IStream):
    __swig_setmethods__ = {}
    for _s in [IStream]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, Stream, name, value)
    __swig_getmethods__ = {}
    for _s in [IStream]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, Stream, name)
    __repr__ = _swig_repr

    def __init__(self, cInterfaces):
        if self.__class__ == Stream:
            _self = None
        else:
            _self = self
        this = _MAPICore.new_Stream(_self, cInterfaces)
        try:
            self.this.append(this)
        except:
            self.this = this

    def Read(self, cb):
        return _MAPICore.Stream_Read(self, cb)

    def Write(self, pv):
        return _MAPICore.Stream_Write(self, pv)
    __swig_destroy__ = _MAPICore.delete_Stream
    __del__ = lambda self: None
    def __disown__(self):
        self.this.disown()
        _MAPICore.disown_Stream(self)
        return weakref_proxy(self)
Stream_swigregister = _MAPICore.Stream_swigregister
Stream_swigregister(Stream)

class string(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, string, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, string, name)
    __repr__ = _swig_repr

    def length(self):
        return _MAPICore.string_length(self)

    def max_size(self):
        return _MAPICore.string_max_size(self)

    def capacity(self):
        return _MAPICore.string_capacity(self)

    def reserve(self, __res_arg=0):
        return _MAPICore.string_reserve(self, __res_arg)

    def copy(self, __s, __n, __pos=0):
        return _MAPICore.string_copy(self, __s, __n, __pos)

    def c_str(self):
        return _MAPICore.string_c_str(self)

    def find(self, *args):
        return _MAPICore.string_find(self, *args)

    def rfind(self, *args):
        return _MAPICore.string_rfind(self, *args)

    def find_first_of(self, *args):
        return _MAPICore.string_find_first_of(self, *args)

    def find_last_of(self, *args):
        return _MAPICore.string_find_last_of(self, *args)

    def find_first_not_of(self, *args):
        return _MAPICore.string_find_first_not_of(self, *args)

    def find_last_not_of(self, *args):
        return _MAPICore.string_find_last_not_of(self, *args)

    def substr(self, *args):
        return _MAPICore.string_substr(self, *args)

    def empty(self):
        return _MAPICore.string_empty(self)

    def size(self):
        return _MAPICore.string_size(self)

    def swap(self, v):
        return _MAPICore.string_swap(self, v)

    def get_allocator(self):
        return _MAPICore.string_get_allocator(self)

    def begin(self):
        return _MAPICore.string_begin(self)

    def end(self):
        return _MAPICore.string_end(self)

    def rbegin(self):
        return _MAPICore.string_rbegin(self)

    def rend(self):
        return _MAPICore.string_rend(self)

    def erase(self, *args):
        return _MAPICore.string_erase(self, *args)

    def __init__(self, *args):
        this = _MAPICore.new_string(*args)
        try:
            self.this.append(this)
        except:
            self.this = this

    def assign(self, *args):
        return _MAPICore.string_assign(self, *args)

    def resize(self, *args):
        return _MAPICore.string_resize(self, *args)

    def iterator(self):
        return _MAPICore.string_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _MAPICore.string___nonzero__(self)

    def __bool__(self):
        return _MAPICore.string___bool__(self)

    def __len__(self):
        return _MAPICore.string___len__(self)

    def __getslice__(self, i, j):
        return _MAPICore.string___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _MAPICore.string___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _MAPICore.string___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _MAPICore.string___delitem__(self, *args)

    def __getitem__(self, *args):
        return _MAPICore.string___getitem__(self, *args)

    def __setitem__(self, *args):
        return _MAPICore.string___setitem__(self, *args)

    def insert(self, *args):
        return _MAPICore.string_insert(self, *args)

    def replace(self, *args):
        return _MAPICore.string_replace(self, *args)

    def __iadd__(self, v):
        return _MAPICore.string___iadd__(self, v)

    def __add__(self, v):
        return _MAPICore.string___add__(self, v)

    def __radd__(self, v):
        return _MAPICore.string___radd__(self, v)

    def __str__(self):
        return _MAPICore.string___str__(self)

    def __rlshift__(self, out):
        return _MAPICore.string___rlshift__(self, out)

    def __eq__(self, v):
        return _MAPICore.string___eq__(self, v)

    def __ne__(self, v):
        return _MAPICore.string___ne__(self, v)

    def __gt__(self, v):
        return _MAPICore.string___gt__(self, v)

    def __lt__(self, v):
        return _MAPICore.string___lt__(self, v)

    def __ge__(self, v):
        return _MAPICore.string___ge__(self, v)

    def __le__(self, v):
        return _MAPICore.string___le__(self, v)
    __swig_destroy__ = _MAPICore.delete_string
    __del__ = lambda self: None
string_swigregister = _MAPICore.string_swigregister
string_swigregister(string)
cvar = _MAPICore.cvar
string.npos = _MAPICore.cvar.string_npos

class wstring(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, wstring, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, wstring, name)
    __repr__ = _swig_repr

    def length(self):
        return _MAPICore.wstring_length(self)

    def max_size(self):
        return _MAPICore.wstring_max_size(self)

    def capacity(self):
        return _MAPICore.wstring_capacity(self)

    def reserve(self, __res_arg=0):
        return _MAPICore.wstring_reserve(self, __res_arg)

    def copy(self, __s, __n, __pos=0):
        return _MAPICore.wstring_copy(self, __s, __n, __pos)

    def c_str(self):
        return _MAPICore.wstring_c_str(self)

    def find(self, *args):
        return _MAPICore.wstring_find(self, *args)

    def rfind(self, *args):
        return _MAPICore.wstring_rfind(self, *args)

    def find_first_of(self, *args):
        return _MAPICore.wstring_find_first_of(self, *args)

    def find_last_of(self, *args):
        return _MAPICore.wstring_find_last_of(self, *args)

    def find_first_not_of(self, *args):
        return _MAPICore.wstring_find_first_not_of(self, *args)

    def find_last_not_of(self, *args):
        return _MAPICore.wstring_find_last_not_of(self, *args)

    def substr(self, *args):
        return _MAPICore.wstring_substr(self, *args)

    def empty(self):
        return _MAPICore.wstring_empty(self)

    def size(self):
        return _MAPICore.wstring_size(self)

    def swap(self, v):
        return _MAPICore.wstring_swap(self, v)

    def get_allocator(self):
        return _MAPICore.wstring_get_allocator(self)

    def begin(self):
        return _MAPICore.wstring_begin(self)

    def end(self):
        return _MAPICore.wstring_end(self)

    def rbegin(self):
        return _MAPICore.wstring_rbegin(self)

    def rend(self):
        return _MAPICore.wstring_rend(self)

    def erase(self, *args):
        return _MAPICore.wstring_erase(self, *args)

    def __init__(self, *args):
        this = _MAPICore.new_wstring(*args)
        try:
            self.this.append(this)
        except:
            self.this = this

    def assign(self, *args):
        return _MAPICore.wstring_assign(self, *args)

    def resize(self, *args):
        return _MAPICore.wstring_resize(self, *args)

    def iterator(self):
        return _MAPICore.wstring_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _MAPICore.wstring___nonzero__(self)

    def __bool__(self):
        return _MAPICore.wstring___bool__(self)

    def __len__(self):
        return _MAPICore.wstring___len__(self)

    def __getslice__(self, i, j):
        return _MAPICore.wstring___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _MAPICore.wstring___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _MAPICore.wstring___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _MAPICore.wstring___delitem__(self, *args)

    def __getitem__(self, *args):
        return _MAPICore.wstring___getitem__(self, *args)

    def __setitem__(self, *args):
        return _MAPICore.wstring___setitem__(self, *args)

    def insert(self, *args):
        return _MAPICore.wstring_insert(self, *args)

    def replace(self, *args):
        return _MAPICore.wstring_replace(self, *args)

    def __iadd__(self, v):
        return _MAPICore.wstring___iadd__(self, v)

    def __add__(self, v):
        return _MAPICore.wstring___add__(self, v)

    def __radd__(self, v):
        return _MAPICore.wstring___radd__(self, v)

    def __str__(self):
        return _MAPICore.wstring___str__(self)

    def __rlshift__(self, out):
        return _MAPICore.wstring___rlshift__(self, out)

    def __eq__(self, v):
        return _MAPICore.wstring___eq__(self, v)

    def __ne__(self, v):
        return _MAPICore.wstring___ne__(self, v)

    def __gt__(self, v):
        return _MAPICore.wstring___gt__(self, v)

    def __lt__(self, v):
        return _MAPICore.wstring___lt__(self, v)

    def __ge__(self, v):
        return _MAPICore.wstring___ge__(self, v)

    def __le__(self, v):
        return _MAPICore.wstring___le__(self, v)
    __swig_destroy__ = _MAPICore.delete_wstring
    __del__ = lambda self: None
wstring_swigregister = _MAPICore.wstring_swigregister
wstring_swigregister(wstring)
wstring.npos = _MAPICore.cvar.wstring_npos


_MAPICore.EC_SYNC_OPT_STREAM_swigconstant(_MAPICore)
EC_SYNC_OPT_STREAM = _MAPICore.EC_SYNC_OPT_STREAM

_MAPICore.EC_SYNC_OPT_CHANGENOTIF_swigconstant(_MAPICore)
EC_SYNC_OPT_CHANGENOTIF = _MAPICore.EC_SYNC_OPT_CHANGENOTIF

_MAPICore.EC_SYNC_OPT_STATECOLLECT_swigconstant(_MAPICore)
EC_SYNC_OPT_STATECOLLECT = _MAPICore.EC_SYNC_OPT_STATECOLLECT

_MAPICore.EC_SYNC_OPT_CONTINUOUS_swigconstant(_MAPICore)
EC_SYNC_OPT_CONTINUOUS = _MAPICore.EC_SYNC_OPT_CONTINUOUS

_MAPICore.EC_SYNC_OPT_ALL_swigconstant(_MAPICore)
EC_SYNC_OPT_ALL = _MAPICore.EC_SYNC_OPT_ALL
class ECSyncSettings(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ECSyncSettings, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ECSyncSettings, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_getmethods__["GetInstance"] = lambda x: _MAPICore.ECSyncSettings_GetInstance
    if _newclass:
        GetInstance = staticmethod(_MAPICore.ECSyncSettings_GetInstance)

    def SyncLogEnabled(self):
        return _MAPICore.ECSyncSettings_SyncLogEnabled(self)

    def SyncLogLevel(self):
        return _MAPICore.ECSyncSettings_SyncLogLevel(self)

    def ContinuousLogging(self):
        return _MAPICore.ECSyncSettings_ContinuousLogging(self)

    def SyncStreamEnabled(self):
        return _MAPICore.ECSyncSettings_SyncStreamEnabled(self)

    def ChangeNotificationsEnabled(self):
        return _MAPICore.ECSyncSettings_ChangeNotificationsEnabled(self)

    def StateCollectorEnabled(self):
        return _MAPICore.ECSyncSettings_StateCollectorEnabled(self)

    def StreamTimeout(self):
        return _MAPICore.ECSyncSettings_StreamTimeout(self)

    def StreamBufferSize(self):
        return _MAPICore.ECSyncSettings_StreamBufferSize(self)

    def StreamBatchSize(self):
        return _MAPICore.ECSyncSettings_StreamBatchSize(self)

    def EnableSyncLog(self, bEnable):
        return _MAPICore.ECSyncSettings_EnableSyncLog(self, bEnable)

    def SetSyncLogLevel(self, ulLogLevel):
        return _MAPICore.ECSyncSettings_SetSyncLogLevel(self, ulLogLevel)

    def SetSyncOptions(self, ulOptions):
        return _MAPICore.ECSyncSettings_SetSyncOptions(self, ulOptions)

    def SetStreamTimeout(self, ulTimeout):
        return _MAPICore.ECSyncSettings_SetStreamTimeout(self, ulTimeout)

    def SetStreamBufferSize(self, ulBufferSize):
        return _MAPICore.ECSyncSettings_SetStreamBufferSize(self, ulBufferSize)

    def SetStreamBatchSize(self, ulBatchSize):
        return _MAPICore.ECSyncSettings_SetStreamBatchSize(self, ulBatchSize)
    __swig_destroy__ = _MAPICore.delete_ECSyncSettings
    __del__ = lambda self: None
ECSyncSettings_swigregister = _MAPICore.ECSyncSettings_swigregister
ECSyncSettings_swigregister(ECSyncSettings)

def ECSyncSettings_GetInstance():
    return _MAPICore.ECSyncSettings_GetInstance()
ECSyncSettings_GetInstance = _MAPICore.ECSyncSettings_GetInstance

class ECSyncLog(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ECSyncLog, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ECSyncLog, name)
    __repr__ = _swig_repr
    __swig_getmethods__["GetLogger"] = lambda x: _MAPICore.ECSyncLog_GetLogger
    if _newclass:
        GetLogger = staticmethod(_MAPICore.ECSyncLog_GetLogger)
    __swig_getmethods__["SetLogger"] = lambda x: _MAPICore.ECSyncLog_SetLogger
    if _newclass:
        SetLogger = staticmethod(_MAPICore.ECSyncLog_SetLogger)

    def __init__(self):
        this = _MAPICore.new_ECSyncLog()
        try:
            self.this.append(this)
        except:
            self.this = this
    __swig_destroy__ = _MAPICore.delete_ECSyncLog
    __del__ = lambda self: None
ECSyncLog_swigregister = _MAPICore.ECSyncLog_swigregister
ECSyncLog_swigregister(ECSyncLog)

def ECSyncLog_GetLogger(lppLogger):
    return _MAPICore.ECSyncLog_GetLogger(lppLogger)
ECSyncLog_GetLogger = _MAPICore.ECSyncLog_GetLogger

def ECSyncLog_SetLogger(lpLogger):
    return _MAPICore.ECSyncLog_SetLogger(lpLogger)
ECSyncLog_SetLogger = _MAPICore.ECSyncLog_SetLogger

# This file is compatible with both classic and new-style classes.


