IDAVNamespaceArbiter::GetNamespaceID method

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

Retrieves the ID for the specified namespace.

Syntax

HRESULT GetNamespaceID(
  [in]  LPCSTR pszNamespace,
  [out] DWORD  *pdwNamespaceID
);

Parameters

pszNamespace [in]

Type: LPCSTR

Specifies an LPCSTR that contains the name of the namespace.

pdwNamespaceID [out]

Type: DWORD*

Receives a pointer to a DWORD that contains the namespace ID for pszNamespace.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that pszNamespace or pdwNamespaceID is NULL.

Requirements

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