IMimeSecurity2::GetRecipientCount method

Gets the number of recipients on the recipients list for the message.

Syntax

HRESULT GetRecipientCount(
  [in]  DWORD dwFlags,
  [out] DWORD *pdwRecipCount
);

Parameters

dwFlags [in]

Type: DWORD

Currently unused. Should be set to zero.

pdwRecipCount [out]

Type: DWORD*

Receives a pointer to a DWORD that contains the number of recipients.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that an unknown error has occurred.
E_INVALIDARG
Indicates that dwFlags is invalid.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Mimeole.h
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)