IHTTPMailTransport::MarkRead method
[IHTTPMailTransport::MarkRead is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Sets the read property on the specified resource.
Syntax
HRESULT MarkRead(
[in] LPCSTR pszPath,
[in] LPHTTPTARGETLIST pTargets,
[in] BOOL fMarkRead,
[in] DWORD dwContext
);
Parameters
-
pszPath [in]
-
Type: LPCSTR
Specifies an LPCSTR that contains a null-terminated string that is the complete URL to the collection resource that contains the resources to set the "read" property on.
-
pTargets [in]
-
Type: LPHTTPTARGETLIST
Specifies a pointer to the HTTPTARGETLIST structure that contains the list of target resources to be marked.
-
fMarkRead [in]
-
Type: BOOL
Specifies a BOOL that indicates whether to mark the resources listed in pTargets as read.
-
dwContext [in]
-
Type: DWORD
Currently unused. Should be set to zero.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that pszPath is NULL. |
|
Indicates that an attempt to allocate memory failed. |
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
IDL |
|
DLL |
|