This is an abstract base-class that provides common
functionality for all the other Mapi-Classes.
The $$INTERFACE interface is the basic interface that is supported by
most MAPI-Objects (more precisely by all objects that support properties.)
$$MSDN_526807.aspx
Returns information about the last error.
$$MSDN_530341.aspx
^Mapi^Error
hresult
flags
Saves all changes.
$$MSDN_530678.aspx
flags
Reads several properties of the object and returns an array of matching values.
$$MSDN_528406.aspx
^Property^Value []
propTagArray
flags
Returns an Property-Tag array of all supported properties.
$$MSDN_527424.aspx
^Property^Tag[]
flags
Returns an object to access a property.
$$MSDN_527926.aspx
^I#Base
propTag
interFace
interfaceOptions
flags
Shortcut for OpenProperty (propTag, null, 0, 0). NMapi only.
^I#Base
propTag
Sets the value of several properties.
$$MSDN_527310.aspx
^Property^Problem[]
propArray
Deletes several properties.
$$MSDN_528863.aspx
^Property^Problem[]
propTagArray
Resolves the named properties for several Property-Tags in the specified namespace (guid).
"lppPropTags" and "lppPropNames" are returned in the
GetNamesFromIDsResult class.
$$MSDN_528577.aspx
^Get^Names^From^I#Ds^Result
propTags
propSetGuid
flags
Resolves the Property-Tags for several named properties.
$$MSDN_529684.aspx
^Property^Tag[]
propNames
flags
The $$INTERFACE interface. This abstract class implements common
functions of containers. Concrete container classes like IMapiFolder
always inherit from this class.
$$MSDN_527118.aspx
Returns an IMapiTable object representing the Contents-Table
of the container. The table provides fast access to objects
stored in the container.
$$MSDN_528853.aspx
^I#MAPI^Table
flags
Returns an IMapiTable object representing the Hierarchy-Table
of the container. The table provides fast access to sub-containers
of the container (e.g. Sub-Folders of an IMapiFolder).
$$MSDN_528330.aspx
^I#MAPI^Table^Reader
flags
Shortcut for OpenEntry (entryID, null, 0). NMapi only.
^I#Base
entryID
Opens an Entry stored in the container.
An object of type IBase is returned.
$$MSDN_527583.aspx
^I#Base
entryID
interFace
flags
Sets the search criteria for the container.
$$MSDN_528903.aspx
restriction
containerList
searchFlags
Returns the search criteria that are currently applied to the container.
An object of type GetSearchCriteriaResult is returned.
$$MSDN_527639.aspx
^Get^Search^Criteria^Result
flags
The $$INTERFACE interface. This class provides access to Mapi-Folders.
$$MSDN_527118.aspx
Creates a new Message.
$$MSDN_531134.aspx
^I#Message
interFace
flags
Copies/Moves several messages to another folder.
$$MSDN_527602.aspx
msgList
interFace
destFolder
progress
flags
Deletes several messages.
$$MSDN_528910.aspx
msgList
progress
flags
Creates a new sub-folder.
$$MSDN_531288.aspx
^I#MAPI^Folder
folderType
folderName
folderComment
interFace
flags
Copies/Moves a sub-folder.
$$MSDN_531685.aspx
entryID
interFace
destFolder
newFolderName
progress
flags
Deletes a sub-folder.
$$MSDN_530974.aspx
entryID
progress
flags
$$MSDN_527975.aspx
msgList
progress
flags
Returns the status of a message.
$$MSDN_528941.aspx
int
entryID
flags
Sets the Status of a Message.
$$MSDN_530055.aspx
int
entryID
newStatus
newStatusMask
Sets the specified sort order as the default for this folder.
$$MSDN_528598.aspx
sortOrder
flags
Deletes the content of a folder. The folder itself will not be removed.
$$MSDN_527127.aspx
progress
flags
The $$INTERFACE class implements the IMessage-Mapi-Interface and
provides access to Message-Objects.
$$MSDN_527112.aspx
Returns the attachment table.
$$MSDN_530463.aspx
^I#MAPI^Table^Reader
flags
Returns the attachment with index "attachmentNum".
$$MSDN_531264.aspx
^I#Attach
attachmentNum
interFace
flags
Creates a new attachment.
Note: lpulAttachmentNum and lppAttach re returned in the
CreateAttachResult structure.
$$MSDN_529067.aspx
^Create^Attach^Result
interFace
flags
Deletes an attachment.
$$MSDN_530409.aspx
attachmentNum
progress
flags
Returns the recipient table.
$$MSDN_531239.aspx
^I#MAPI^Table^Reader
flags
Changes (or adds and removes, depending on the flags)
recipients of the current message.
$$MSDN_531489.aspx
flags
mods
Submits a message.
$$MSDN_526509.aspx
flags
$$MSDN_527993.aspx
flags
Represents a MessageStore, the entry point to access any stored data.
$$MSDN_531692.aspx
int
entryID
eventMask
sink
request.ProxySession.EventDispatcher.Unregister (obj, txcOutlookHackConnection);
txcOutlookHackConnection
Returns true if the two Entry-IDs refer to the same object.
Please note, that both Entry-IDs should be stored in the same store.
$$MSDN_531531.aspx
int
entryID1
entryID2
flags
This is a shortcut for OpenEntry (entryID, null, 0);
^I#Base
entryID
This is a shortcut for OpenEntry (null, null, 0);
^I#Base
Opens an entry.
A class of type IBase is returned.
$$MSDN_528268.aspx
^I#Base
entryID
interFace
flags
Sets a folder as the default Folder for a class of messages.
Incoming messages of that message class are stored in that folder.
$$MSDN_531141.aspx
messageClass
entryID
flags
Gets the default folder for a class of messages. Incoming
messages of that message class are stored in that folder.
A class of type GetReceiveFolderResult is returned.
$$MSDN_528651.aspx
^Get^Receive^Folder^Result
messageClass
flags
Log out of the MessageStore.
$$MSDN_529433.aspx
flags
This call will try to cancel the submission of a message,
(with the Entry-ID passed in entryID) that has already been submitted.
$$MSDN_530671.aspx
entryID
flags
Provides easy access to folder with a known path.
^I#MAPI^Folder
path
flags
The representation of a NMapi session. This is the starting
point for every use of NMapi. The first call must be the 'Logon' method.
^I#Msg^Store
flags
user
isPublic
^I#Msg^Store
^I#Msg^Store
Console.WriteLine ("CODEPAGE: " + codePage);
request.ProxySession.LoginName = user;
obj.Logon ("127.0.0.1:7000", sessionFlags, user, password, codePage);
host
sessionFlags
user
password
codePage
host
user
password
byte[]
string
category
id
flags
string
category
id
flags
Retrieves all rows from a table.
This is a TXC class that implements a sub-set of IMapiTable; TODO: Should be replaced!
Gets the current column set of the table.
^Property^Tag[]
Retrieves the rows from the table.
^Row^Set
cRows
The $$INTERFACE interface provides fast access to a set of
properties of the items in a container.
$$MSDN_527898.aspx
Register an AdviseSink for the specified events. An integer
that identifies the connection is returned.
$$MSDN_526773.aspx
int
ignored
eventMask
sink
Register an AdviseSink for the specified events. An integer
that identifies the connection is returned.
$$MSDN_526773.aspx
int
eventMask
sink
Unregister an advise sink, passing the integer that was returned by Advise ().
$$MSDN_531520.aspx
request.ProxySession.EventDispatcher.Unregister (obj, txcOutlookHackConnection);
txcOutlookHackConnection
Returns information about the last error. If the last
error is unknown, null is returned.
$$MSDN_531476.aspx
^Mapi^Error
hresult
flags
Note: lpulTableStatus and lpulTableType are returned in the 'GetStatusResult' structure.
$$MSDN_531476.aspx
^Get^Status^Result
propTagArray
flags
^Property^Tag[]
flags
int
flags
int
bkOrigin
rowCount
numerator
denominator
^Query^Position^Result
restriction
numerator
denominator
restriction
flags
int
position
sortCriteria
flags
^Sort^Order^Set
^Row^Set
rowCount
flags
^Expand^Row^Result
instanceKey
rowCount
flags
int
instanceKey
flags
int
flags
timeout
byte[]
flags
instanceKey
int
flags
collapseState
The $$INTERFACE interface.
$$MSDN_529617.aspx
Provides access to large data objects like
Property.Body or Property.AttachDataBin.
$$MSDN_529617.aspx
Returns true if stream is Property.String8.
bool
Throws IOException
destination
Throws IOException
source
The $$INTERFACE interface.
^I#MAPI^Prop
entryID
createFlags
entries
v
progress
flags
entries
flags
propTagArray
flags
adrList
flagList
The $$INTERFACE interface.
^I#Base
lpEntryID
interFace
flags
bool
lpEntryID1
lpEntryID2
flags
int
lpEntryID
eventMask
sink
connection
byte[]
name
adrType
address
flags
byte[]
flags
lpEIDContainer
lpEIDNewEntryTpl
byte[]
flags
newEntryTitle
adrList
byte[]
^Row^Set
flags
flags
propTagArray
adrList
The $$INTERFACE interface.
hresult
flags
flags
^I#Base
entryID
interFace
flags
int
entryID1
entryID2
flags
int
lpEntryID
eventMask
sink
connection
^I#Base
interFace
flags
flags
table
flags
propTagArray
recipList
The $$INTERFACE interface.
The $$INTERFACE interface.