IMimePropertySet::GetPropInfo method

Gets the attributes for the specified property.

Syntax

HRESULT GetPropInfo(
  [in]      LPCSTR         pszName,
  [in, out] LPMIMEPROPINFO pInfo
);

Parameters

pszName [in]

Type: LPCSTR

Specifies the property name or ID.

pInfo [in, out]

Type: LPMIMEPROPINFO

Receives a pointer to a MIMEPROPINFO structure that contains the property information. The dwMask should be initialized to indicate which MIMEPROPINFO fields to return.

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 pInfo is NULL.
MIME_E_NOT_FOUND
Indicates that pszName does not specify an existing property.

Remarks

A property ID can also be passed into this method through the pszName parameter using the PIDTOSTR macro.

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)