IStoreNamespace::GetSubFolderClose method

Frees memory associated with a folder enumeration handle.

Syntax

HRESULT GetSubFolderClose(
  [in] HENUMSTORE hEnum
);

Parameters

hEnum [in]

Type: HENUMSTORE

Specifies an enumeration handle to close.

Return value

Type: HRESULT

Returns S_OK if successful, or one of the following error values.

Return code Description
E_INVALIDARG
The value of hEnum is invalid.
MSOEAPI_E_STORE_INITIALIZE
The namespace has not been initialized. To initialize the namespace, call IStoreNamespace::Initialize.

Requirements

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

See also

IStoreNamespace

Reference

GetFirstSubFolder

GetNextSubFolder