IHashTable::Init method

[IHashTable::Init is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

On success, initializes a hash table.

Syntax

HRESULT Init(
  [in] DWORD dwSize,
  [in] BOOL  fDupeKeys
);

Parameters

dwSize [in]

Type: DWORD

Specifies the desired hash table size.

fDupeKeys [in]

Type: BOOL

Specifies whether to allow duplicate keys.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
NOERROR
The table is initialized.
E_OUTOFMEMORY
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
Mimeole.h
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)