Share via


MimeOleCreateHashTable function

Do not use. On success, creates and initializes a hash table.

Syntax

HRESULT MimeOleCreateHashTable(
  _In_  DWORD      dwSize,
  _In_  BOOL       fDupeKeys,
  _Out_ IHashTable **ppHashTable
);

Parameters

dwSize [in]

Type: DWORD

Specifies the desired size of the hash table.

fDupeKeys [in]

Type: BOOL

Specifies whether to allow duplicate keys.

ppHashTable [out]

Type: IHashTable**

Receives the address of a pointer to a new IHashTable object.

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.
E_INVALIDARG
Indicates ppHashTable is NULL.

Remarks

Note

User is responsible for freeing IHashTable object.

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
Library
Inetcomm.lib
DLL
Inetcomm.dll (version 6.0 or later)