The MSGCALLRELEASE function prototype 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.
Quick Info
Header file:
IMESSAGE.H
Defined function implemented by:
Client applications and service providers
Defined function called by:
MAPI
void(
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 Values
S_OK
The call succeeded and has returned the expected value or values.