WriteMessageLink
The WriteMessageLink function takes the three entry identifiers leading to the linked message, formats the message link, and places it in an attachment to pmsg , along with rendering and positioning information.
STDAPI WriteMessageLink(
LPMESSAGE pmsg ,
LPSBinary pbinStore ,
LPSBinary pbinFolder ,
LPSBinary pbinMessage ,
LPSTR szSubject ,
HANDLE hicon ,
ULONG ulPos
);
Parameters
pmsg
[in] Outer message to place the link into.
pbinStore
[in] Entry identifier of the message store for the linked message.
pbinFolder
[in] Entry identifier of the message store for the linked message.
pbinMessage
[in] Entry identifier of the linked message.
szSubject
[in] Subject of the linked message.
hicon
[in] If nonzero, icon used to render the link in the outer message.
ulPos
[in] Position of the link in the outer message’s text; pass 0xffffffff if not to be displayed.