IImnAccountManager::ProcessNotification method

[IImnAccountManager::ProcessNotification is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Processes Internet Mail and News (IMN) account notifications.

Note

The parameters of this method are the same as those received by the client application's WindowProc function. These values should be passed to this method without modification.

Syntax

HRESULT ProcessNotification(
  [in] UINT   uMsg,
  [in] WPARAM wParam,
  [in] LPARAM lParam
);

Parameters

uMsg [in]

Type: UINT

Specifies the message.

wParam [in]

Type: WPARAM

Specifies the type of account notification.

AN_DEFAULT_CHANGED

AN_ACCOUNT_DELETED

AN_ACCOUNT_ADDED

AN_ACCOUNT_CHANGED

lParam [in]

Type: LPARAM

Specifies the ID of the process that generated the notification.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates that the Account Manager processed the Windows message. The client should not continue processing the message.
S_FALSE
Indicates that the message is not an account notification message. The client should continue to handle the message.

Remarks

The Account Manager broadcasts a Windows message to all top-level windows when it generates a Windows message.

A client must call this method to detect IMN account changes that are made in other applications. If the client generated the notification, the Account Manager ignores the notification.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnact.h
IDL
Imnact.idl
DLL
Msoeacct.dll (version 6.0 or later)