IDatabase::DispatchNotify Method

Deprecated. Dispatches any pending notifications. Note that this function must be called on the same thread that RegisterNotify was called on. This function will return after all queued notifications have been dispatched.

Syntax

HRESULT DispatchNotify(
  [in]  IDatabaseNotify *pNotify
);

Parameters

pNotify [in]

Type: IDatabaseNotify*

Specifies the IDatabaseNotify that will be notified.

Return Value

Type: HRESULT

Use the SUCCEEDED macro to determine whether the operation succeeded.

Return codeDescription
S_OK

Indicates no errors occurred.

DB_E_WRONGTHREAD

Indicates that the function was called on a different thread than RegisterNotify was called on.

DB_E_NOTFOUND

Indicates that pNotify has not been properly regsitered for notifications.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Outlook Express 6.0

IDL

Directdb.idl

DLL

Directdb.dll (version 6.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Show: