TransportSetMsgFlags

This function sets mail message flags in a message on the mail server.

At a Glance

Header file: Msgstor2.h
Platforms: H/PC 3.0
Windows CE versions: 2.10 and later

Syntax

BOOL TransportSetMsgFlags(HANDLE hService, MailMsg *MsgPtr, DWORD dwFlags, BOOL fValue);

Parameters

hService
[in] Handle to a private SERVICE structure.
MsgPtr
[in] Pointer to a MailMsg structure. The szSvcID member of MailMsg specifies the service identifier of the message whose flags are to be modified.
dwFlags
[in] Specifies a bitmask for the flags in MailMsg pointed to by MsgPtr.
fValue
[in] Boolean value to set the flags to.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call the function TransportError or TransportErrorMsg.

Remarks

The transport service provider must implement this function in a DLL registered as a mail service. The Inbox application can then load this DLL and call this function.

See Also

TransportProps