ISettingsEngine::GetNamespaces method (wcmconfig.h)

Returns an enumerator to the installed namespaces.

Syntax

HRESULT GetNamespaces(
  [in]  WcmNamespaceEnumerationFlags Flags,
  [in]  void                         *Reserved,
  [out] IItemEnumerator              **Namespaces
);

Parameters

[in] Flags

A WcmNamespaceEnumerationFlags value that specifies the context to include in the collection of namespaces.

[in] Reserved

Reserved. Must be NULL.

[out] Namespaces

An IItemEnumerator interface pointer whose methods can be used to access members of the collection.

Return value

This method returns an HRESULT value. S_OK indicates success. It returns WCM_E_USERNOTFOUND if the store is not loaded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcmconfig.h
DLL SMIEngine.dll

See also

ISettingsEngine