IMimePropertySchema::GetPropertyId method

Looks up the property ID for the specified property name.

Syntax

HRESULT GetPropertyId(
  [in]  LPCSTR  pszName,
  [out] LPDWORD pdwPropId
);

Parameters

pszName [in]

Type: LPCSTR

Specifies the property name.

pdwPropId [out]

Type: LPDWORD

Receives the property ID.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that an unknown error has occurred.
E_INVALIDARG
Indicates that pszName or pdwPropId is NULL.
MIME_E_NOT_FOUND
Indicates that the property identified by pszName does not exist in the schema.

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)