Windows Messenger Service Reference
This is the entry page to the reference documentation for the Messenger service APIs.
Applications cannot connect to Microsoft .NET Messenger Services or use any of the Messenger service APIs until they have successfully authenticated with the Messenger Lock and Key mechanism. Once authentication is complete, the Messenger service APIs are unlocked and can be used as necessary by the application.
The Messenger service API references are provided for Microsoft Visual C++. Also there is an overview included (Messenger Lock and Key API), that provides general guidelines on unlocking and using the Messenger service APIs.
Enums
LockErrorProvides a list of Lock and Key error status codes.
LockStatusProvides the list of possible status codes for the Messenger Lock and Key API.
SESSION_FLAGSProvides the list of possible flag codes for the session invitation.
SESSION_RESULTProvides the list of possible result codes of the session invitation.
SESSION_STATEProvides the list of possible state codes of the session invitation.
DispInterfaces
DMessengerPrivateEventsThe DMessengerPrivateEvents dispinterface fires events in the Messenger client when notifications from IMessengerPrivate are received.
DMsgrSessionEventsThe DMessengerPrivateEvents dispinterface fires events in the Messenger client when notifications from IMsgrSession are received.
DMsgrSessionManagerEventsThe DMsgrSessionManagerEvents dispinterface fires events in the Messenger client when notifications from IMsgrSessionManager are received.
Events
DMsgrSessionEvents::BeforeAppLaunchFires when the session's application is about to be launched.
DMsgrSessionEvents::OnAcceptedFires when the recipient has accepted the invitation.
DMessengerPrivateEvents::OnAlertReceivedFires when an alert notification is sent from a Messenger service to a Messenger client application.
DMsgrSessionEvents::OnAppNotPresentFires when the application requested by the invitation is not present.
DMsgrSessionManagerEvents::OnAppRegisteredFires when a new application has been registered.
DMsgrSessionManagerEvents::OnAppShutdownFires when Microsoft Windows Messenger is shutting down.
DMsgrSessionManagerEvents::OnAppUnRegisteredFires when an application has been unregistered.
DMsgrSessionEvents::OnCancelledFires when the session has been canceled by the inviter.
DMessengerPrivateEvents::OnContactListAddNotifies a Messenger client that a contact has been added to the contact list.
DMsgrSessionEvents::OnContextDataFires when new context data has arrived.
DMsgrSessionEvents::OnDeclinedFires when the recipient has declined the invitation.
DMsgrSessionManagerEvents::OnInvitationFires when a new session invitation has been received.
DMessengerPrivateEvents::OnLockChallengeNotifies a Messenger client that an authentication challenge from a Messenger service has been received.
DMsgrSessionManagerEvents::OnLockChallengeNotifies a Messenger client that an authentication challenge from a Messenger service has been received.
DMessengerPrivateEvents::OnLockEnableNotifies a Messenger client with the status of the Messenger Lock and Key APIs.
DMsgrSessionManagerEvents::OnLockEnableNotifies a Messenger client with the status of the Messenger Lock and Key APIs.
DMessengerPrivateEvents::OnLockResultReturns the result of a Lock and Key authentication transaction between a Messenger client and the .NET Messenger Service.
DMsgrSessionManagerEvents::OnLockResultReturns the result of a Lock and Key authentication transaction between a Messenger client and the .NET Messenger Service.
DMsgrSessionManagerEvents::OnLockStatusChangedFires when the lock status changes.
DMsgrSessionEvents::OnReadyToLaunchFires when the session is approved to start.
DMsgrSessionEvents::OnSendErrorFires when the last operation fails when sending.
DMsgrSessionEvents::OnStateChangedFires when the session state has changed from the previous state.
DMsgrSessionEvents::OnTerminationFires when the session has ended.
Interfaces
IMessengerPrivateThe IMessengerPrivate interface is a Messenger service
IMsgrLockThe IMsgrLock interface implements an API that is used to unlock Licensed Messenger objects.
IMsgrSessionThe IMsgrSession interface provides programmatic access to the MsgrSession object.
IMsgrSessionManagerThe IMsgrSessionManager interface is a Messenger service
Objects
MessengerPrivThe Messenger service
MsgrSessionThe Messenger client session object.
MsgrSessionManagerThe Messenger client session manager object.