共用方式為


MSGCALLRELEASE

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Defines a callback function that can free an IStorage interface after the final release of an IMessage object built on top of it with the OpenIMsgOnIStg function.

Header file:

Imessage.h

Defined function implemented by:

Client applications and service providers

Defined function called by:

MAPI

typedef void (STDAPICALLTYPE MSGCALLRELEASE)(
  ULONG  ulCallerData,
  LPMESSAGE  lpMessage );

Parameters

  • ulCallerData
    [in] Contains calling application information about the IMessage interface.

  • lpMessage
    [in] Pointer to the top-level message and attachments that have been released.

Return Value

None.